iPhone: Compressing .app files in command line (Mac OS X) removes CodeSigning

 ̄綄美尐妖づ 提交于 2019-12-04 01:59:04

You need to use the -y option on zip:

zip -r -y zipped_blahapp.zip blahapp.app

-y

Store symbolic links as such in the zip archive, instead of compressing and storing the file referred to by the link (UNIX only).

Update

Now the Xcode archive functionality is available from the command line, you should probably be using that:

xcodebuild archive -workspace $APPNAME.xcodeproj/project.xcworkspace -scheme $APPSCHEMENAME > $OUTDIR/logs/$APPNAME.log
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!