Skip to content

Commit

Permalink
Revert "[Infra] Embed frameworks scripts/add_framework_script.rb"
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 authored Apr 25, 2024
1 parent 8173fd2 commit c99853d
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 c99853d

Please sign in to comment.