lib/cocoapods-ppbuild/Main.rb in cocoapods-ppbuild-1.0.2 vs lib/cocoapods-ppbuild/Main.rb in cocoapods-ppbuild-1.0.3
- old
+ new
@@ -84,13 +84,10 @@
class_attr_accessor :custom_build_options
class_attr_accessor :custom_build_options_simulator
self.custom_build_options = []
self.custom_build_options_simulator = []
-
- class_attr_accessor :static_build_pod_names
- self.static_build_pod_names = []
end
end
end
Pod::HooksManager.register('cocoapods-ppbuild', :pre_install) do |installer_context|
@@ -177,8 +174,12 @@
Pod::HooksManager.register('cocoapods-ppbuild', :post_install) do |installer_context|
if Pod::Podfile::DSL.static_binary
Pod::PrebuildSandbox.replace_tagert_copy_source_sh(installer_context)
end
-
+
+ if Podfile::DSL.dont_remove_source_code
+ require_relative 'Reference/reference_source_code'
+ installer_context.refrence_source_code
+ end
end