Skip to content

Commit

Permalink
Merge pull request #8 from grab/master
Browse files Browse the repository at this point in the history
fix grab#56: skip integrating targets for prebuild installer
  • Loading branch information
kientux authored Feb 9, 2021
2 parents fa20b30 + e29c42c commit 83be7ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/cocoapods-binary-cache/pod-binary/prebuild.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down

0 comments on commit 83be7ed

Please sign in to comment.