Skip to content

Commit

Permalink
Merge pull request #1577 from firebase/revert-1576-nc/phase
Browse files Browse the repository at this point in the history
Revert "[Infra] Embed frameworks `scripts/add_framework_script.rb`"
  • Loading branch information
ncooke3 authored Apr 25, 2024
2 parents 8173fd2 + c99853d commit 5af9364
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/add_framework_script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,12 @@ def add_ref(group, path, source_tree, phase)
next unless project_target.name == target
framework_set = project_target.frameworks_build_phase.files.to_set
puts "The following frameworks are added to #{project_target}"
embed_frameworks_phase = project_target.new_copy_files_build_phase("Embed Frameworks")
framework_group.each do |framework|
next if framework_set.size == framework_set.add(framework).size
add_ref(project_framework_group,
framework,
source_tree,
embed_frameworks_phase)
project_target.frameworks_build_phase)
end
end
end
Expand Down

0 comments on commit 5af9364

Please sign in to comment.