lib/cocoapods-ppbuild/Main.rb in cocoapods-ppbuild-1.0.3 vs lib/cocoapods-ppbuild/Main.rb in cocoapods-ppbuild-1.0.4
- old
+ new
@@ -175,11 +175,11 @@
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'
+ if !Pod.is_prebuild_stage && Pod::Podfile::DSL.dont_remove_source_code
+ require_relative 'reference/reference_source_code'
installer_context.refrence_source_code
end
end