lib/cocoapods-ppbuild/Main.rb in cocoapods-ppbuild-0.0.1 vs lib/cocoapods-ppbuild/Main.rb in cocoapods-ppbuild-0.0.2
- old
+ new
@@ -9,19 +9,21 @@
# Enable prebuiding for all pods
# it has a lower priority to other ppbuild settings
def use_dynamic_binary!
DSL.prebuild_all = true
DSL.static_binary = false
+ DSL.dont_remove_source_code = true
end
# 设置当前swift版本
def use_swift_version(version)
DSL.swift_version = version
end
# 设置是否使用静态库
def use_static_binary!
DSL.prebuild_all = true
DSL.static_binary = true
+ DSL.dont_remove_source_code = true
end
# Enable bitcode for prebuilt frameworks
def enable_bitcode_for_prebuilt_frameworks!
DSL.bitcode_enabled = true