Skip to content

Commit b8719bf

Browse files
committed
add sign
1 parent c8c777f commit b8719bf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

fastlane/Fastfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,10 @@ platform :ios do
222222

223223
ipa_output = File.join(export_path, "Code.ipa")
224224
Dir.chdir(export_path) do
225-
sh("zip -r '#{ipa_output}' Payload")
225+
# Use ditto instead of zip — ditto preserves symlinks inside frameworks,
226+
# extended attributes, and resource forks that code signatures depend on.
227+
# Standard zip follows symlinks, corrupting framework structure and signatures.
228+
sh("ditto -c -k --sequesterRsrc --keepParent Payload '#{ipa_output}'")
226229
end
227230

228231
FileUtils.cp(ipa_output, File.expand_path("../Code.ipa", __dir__))

0 commit comments

Comments
 (0)