标签:iphone %s deb archive shel 方案 arc path xcode
通过Shell脚本生成IPA,本文内容有待实际操作后验证。
方案一:xcodebuild -archivePath
# 清理
xcodebuild clean -workspace xgj.xcworkspace -scheme xgj
# 构建
xcodebuild -archivePath xgj.xcarchive -workspace xgj.xcworkspace -sdk iphoneos -scheme xgj -configuration "Release.Adhoc" archive
xcodebuild -archivePath xgj.xcarchive -workspace xgj.xcworkspace -sdk iphoneos -scheme xgj -configuration "Debug.Adhoc" archive
# 打包
xcodebuild -exportArchive -exportFormat IPA -archivePath xgj.xcarchive -exportPath xgj-`date ‘+%Y%m%d-%H%M%S‘`.Adhoc.ipa -exportProvisioningProfile "XC Ad Hoc: com.mengying.xgj"
标签:iphone %s deb archive shel 方案 arc path xcode
原文地址:https://www.cnblogs.com/yanyanqin/p/10095410.html