diff --git a/lib/cocoapods-binary-cache/pod-binary/prebuild.rb b/lib/cocoapods-binary-cache/pod-binary/prebuild.rb index 4f3b609..f8c3aa5 100644 --- a/lib/cocoapods-binary-cache/pod-binary/prebuild.rb +++ b/lib/cocoapods-binary-cache/pod-binary/prebuild.rb @@ -14,6 +14,13 @@ def initialize(options) @lockfile_wrapper = lockfile && PodPrebuild::Lockfile.new(lockfile) end + def installation_options + # Skip integrating user targets for prebuild Pods project. + @installation_options ||= Pod::Installer::InstallationOptions.new( + super.to_h.merge(:integrate_targets => false) + ) + end + def run_code_gen!(targets) return if PodPrebuild.config.prebuild_code_gen.nil?