Skip to content

Commit cae7b40

Browse files
authored
Update add_framework_script.rb
1 parent 0dd6c98 commit cae7b40

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/add_framework_script.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,13 @@ def add_ref(group, path, source_tree, phase_list)
4242
ref.name = "#{File.basename(path)}"
4343
ref.source_tree = source_tree
4444
phase_list.each do |phase|
45-
puts phase
4645
build_file = phase.add_file_reference(ref)
47-
# In Xcode 15+, the following settings should be applied when embedded
46+
# In Xcode 15+, the following settings should be applied when embedding
4847
# static frameworks. This will will enable Xcode to strip out the
4948
# framework's static archive and headers, so that only the framework's
5049
# resources remain.
5150
if phase.isa == 'PBXCopyFilesBuildPhase' && phase.name == "Embed Frameworks"
5251
build_file.settings = { 'ATTRIBUTES' => ['CodeSignOnCopy', 'RemoveHeadersOnCopy'] }
53-
puts build_file
5452
end
5553
end
5654
puts ref

0 commit comments

Comments
 (0)