Use something other than OS X Finder to zip iPhone app for submission

房东的猫 提交于 2019-12-11 04:37:19

问题


I'm trying to script the creation of the ZIP file required for Application Loader to upload to iTunes Connect.

If I use OS X's zip command, I get the message

The CodeResources file must be a symbolic link to _CodeSignature/CodeResources. Make certain that the bundle is on a locally-mounted volume (not a remote SMB volume), and be certain to use the Mac OS X Finder to compress it

Sure enough, if I use Finder to compress my files, Application Loader doesn't complain and the upload is successful.

The ZIP files look identical in content and visible structure when examined.

Any clues?


回答1:


Perhaps add --symlinks to your zip command. See man zip for more details.




回答2:


In xCode4, I archive the app and submit it within Organizer, or if I have to give it to other people for submission, I can create an archive file from it, maybe a better way you can try?



来源:https://stackoverflow.com/questions/7140968/use-something-other-than-os-x-finder-to-zip-iphone-app-for-submission

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!