We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e971032 commit 4f84647Copy full SHA for 4f84647
lib/cocoapods-binary/Integration.rb
@@ -154,9 +154,10 @@ def remove_target_files_if_needed
154
prebuilt_specs.each do |spec|
155
# `spec` may be a subspec, so we use the root's name
156
root_name = spec.root.name
157
+ target = name_to_target_hash[root_name]
158
+ next unless target.should_build?
159
160
# use the prebuilt framework
- target = name_to_target_hash[root_name]
161
original_vendored_frameworks = spec.attributes_hash["vendored_frameworks"] || []
162
if original_vendored_frameworks.kind_of?(String)
163
original_vendored_frameworks = [original_vendored_frameworks]
0 commit comments