We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8c777f commit b8719bfCopy full SHA for b8719bf
fastlane/Fastfile
@@ -222,7 +222,10 @@ platform :ios do
222
223
ipa_output = File.join(export_path, "Code.ipa")
224
Dir.chdir(export_path) do
225
- sh("zip -r '#{ipa_output}' Payload")
+ # 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}'")
229
end
230
231
FileUtils.cp(ipa_output, File.expand_path("../Code.ipa", __dir__))
0 commit comments