File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,13 +14,17 @@ $ gem install cocoapods-ppbuild
1414
1515## 使用
1616修改 podfile 文件,加入以下代码
17- #### 1. 添加编译选项:
17+ #### 添加编译选项:
1818```` ruby
1919plugin ' cocoapods-ppbuild'
2020use_frameworks! :linkage => :static
2121use_static_binary!
2222````
23- #### 2. 如果某个库不想使用预编译加参数 : ppbuild => false
23+ 运行` pod instll `
24+
25+ ## 扩展功能
26+
27+ #### 1. 如果某个库不想使用预编译加参数 : ppbuild => false
2428```` ruby
2529pod ' AFNetworking' , :ppbuild => false
2630````
@@ -38,11 +42,11 @@ pod 'YTKNetwork', :ppbuild => false
3842pod ' AFNetworking'
3943````
4044
41- #### 3 . 可以设置编译参数,默认不设置 例如:
45+ #### 2 . 可以设置编译参数,默认不设置 例如:
4246```` ruby
4347set_custom_xcodebuild_options_for_prebuilt_frameworks :simulator => " ARCHS=$(ARCHS_STANDARD)"
4448````
45- #### 4 . 设置编译完成后移除源码,默认保存
49+ #### 3 . 设置编译完成后移除源码,默认保存
4650```` ruby
4751remove_source_code_for_prebuilt_frameworks!
4852````
You can’t perform that action at this time.
0 commit comments