ipa终端打包

配置好证书,然后在命令行转到项目目录(GC.xcodeproj

1.清除

archerminddeMac-mini:GC2.3877 archermind$ xcodebuild clean


2.编译

archerminddeMac-mini:GC2.3877 archermind$ xcodebuild -target GC -configuration Release

xcodebuild -target targetName -configuration Release


Validate build/Release-iphoneos/GC.app

    cd /Users/archermind/Desktop/GC2.3877

    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin"

    export PRODUCT_TYPE=com.apple.product-type.application

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/Validation /Users/archermind/Desktop/GC2.3877/build/Release-iphoneos/GC.app


** BUILD SUCCEEDED **


3.打包ipa

archerminddeMac-mini:GC2.3877 archermind$  xcrun -sdk iphoneos  PackageApplication -v /Users/archermind/Desktop/GC2.3877/build/Release-iphoneos/GC.app -o ~/Desktop/GC2.0.ipa


xcrun -sdk iphoneos PackageApplication -v app路径 -o 输出的ipa路径


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值