Skip to content

Commit

Permalink
fix #20
Browse files Browse the repository at this point in the history
  • Loading branch information
leavez committed May 3, 2018
1 parent e971032 commit 4f84647
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/cocoapods-binary/Integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,10 @@ def remove_target_files_if_needed
prebuilt_specs.each do |spec|
# `spec` may be a subspec, so we use the root's name
root_name = spec.root.name
target = name_to_target_hash[root_name]
next unless target.should_build?

# use the prebuilt framework
target = name_to_target_hash[root_name]
original_vendored_frameworks = spec.attributes_hash["vendored_frameworks"] || []
if original_vendored_frameworks.kind_of?(String)
original_vendored_frameworks = [original_vendored_frameworks]
Expand Down

0 comments on commit 4f84647

Please sign in to comment.