Skip to content

Commit

Permalink
[Infra] Embed frameworks in Frameworks dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 authored Apr 26, 2024
1 parent 6b864a6 commit b2883e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/add_framework_script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def add_ref(group, path, source_tree, phase_list)
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")
embed_frameworks_phase.dst_subfolder_spec = "10" # `Frameworks` directory
framework_group.each do |framework|
next if framework_set.size == framework_set.add(framework).size
add_ref(project_framework_group,
Expand Down

0 comments on commit b2883e2

Please sign in to comment.