Generating ipa from xcode command-line

随声附和 提交于 2019-12-02 17:14:32

The missing piece is using the PackageApplication utility.

/usr/bin/xcrun -sdk iphoneos PackageApplication -v $FULL_PATH_TO_APP -o $OUTPUT_PATH

You can also pass this script options for resigning, and profile embedding. Using the --sign and --embed flags respectively.

This tool makes it trivial to build (and distribute): https://github.com/nomad/shenzhen

After Archive, you need to "Export" to desired format ie ipa:

xcodebuild -sdk iphoneos7.0 -archivePath "path to archive file" -exportPath "path_for_export" -exportFormat ipa -exportArchive -exportProvisioningProfile "provisioning_profile_to_export_with"

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