Skip to content

Commit

Permalink
fix grab#56: skip integrating targets for prebuild installer
Browse files Browse the repository at this point in the history
  • Loading branch information
trinhngocthuyen committed Jan 30, 2021
1 parent 76f7468 commit e29c42c
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 e29c42c

Please sign in to comment.