配置好证书,然后在命令行转到项目目录
1.清除
EthantekiiMac:CTest ethan$ xcodebuild clean
2.编译
EthantekiiMac:CTest ethan$ xcodebuild -target CTest -configuration Release
3.打包ipa
EthantekiiMac:CTest ethan$ xcrun -sdk iphoneos PackageApplication -v /Volumes/work/buildCommand/test/CTest/build/Release-iphoneos/CTest.app -o /Volumes/work/buildCommand/test/CTest/CTest.ipa
时间: 2024-11-07 07:06:23