Skip to content

Commit 903b9d9

Browse files
authored
Update README.md
1 parent 65b74ec commit 903b9d9

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,17 @@ $ gem install cocoapods-ppbuild
1414

1515
## 使用
1616
修改 podfile 文件,加入以下代码
17-
#### 1. 添加编译选项:
17+
#### 添加编译选项:
1818
````ruby
1919
plugin 'cocoapods-ppbuild'
2020
use_frameworks! :linkage => :static
2121
use_static_binary!
2222
````
23-
#### 2. 如果某个库不想使用预编译加参数 :ppbuild => false
23+
运行`pod instll`
24+
25+
## 扩展功能
26+
27+
#### 1. 如果某个库不想使用预编译加参数 :ppbuild => false
2428
````ruby
2529
pod 'AFNetworking', :ppbuild => false
2630
````
@@ -38,11 +42,11 @@ pod 'YTKNetwork', :ppbuild => false
3842
pod 'AFNetworking'
3943
````
4044

41-
#### 3. 可以设置编译参数,默认不设置 例如:
45+
#### 2. 可以设置编译参数,默认不设置 例如:
4246
````ruby
4347
set_custom_xcodebuild_options_for_prebuilt_frameworks :simulator => "ARCHS=$(ARCHS_STANDARD)"
4448
````
45-
#### 4. 设置编译完成后移除源码,默认保存
49+
#### 3. 设置编译完成后移除源码,默认保存
4650
````ruby
4751
remove_source_code_for_prebuilt_frameworks!
4852
````

0 commit comments

Comments
 (0)