前期的證書問題不談了,比較麻煩,直接說打包過程
1.使用Xcode上傳
打開xocde,點(diǎn)擊上面的product->archive進(jìn)行打包,彈出界面后點(diǎn)擊右邊的Upload to App Store上傳,不過聽說上傳之前先驗(yàn)證,通過率會(huì)高些。但是這里經(jīng)常會(huì)報(bào)itunes store operation failed錯(cuò)誤,這是網(wǎng)絡(luò)問題,基本上看人品了,一般推薦用下面方法上傳
2.Application Loader
在使用之前,你需要先導(dǎo)出ipa文件
1、就象正常用XCode發(fā)布應(yīng)用那樣進(jìn)入到上傳的那一步(Product --> Archive)
2、這里不點(diǎn)Upload to App Store,點(diǎn)Export,選擇Save for iOS App Store Deployment,點(diǎn)Next按下來的步驟就能導(dǎo)出應(yīng)該的.ipa文件了
在/Applications/XCode.app/Contents/Applications目錄中可以找到Application Loader(右鍵XCode選擇 顯示包內(nèi)容 可以進(jìn)入目錄結(jié)構(gòu))
1、打開?Application Loader
2、登錄開發(fā)者的App Store帳號(hào)
3、選擇交付您的應(yīng)用,再點(diǎn)擊選取(這里選取的是應(yīng)用導(dǎo)出的.ipa文件)
4、按流程走就可以上傳成功了
注意點(diǎn):提一下,剛剛更新版本的時(shí)候遇到幾個(gè)問題
1.ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at 'Payload/dianlan2.app/EaseUIResource.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue."
這是第三方info.plist問題,點(diǎn)擊下方搜索info.plist,然后刪掉第三方plist文件里面的Executable file字段
2.ERROR ITMS-4238: "Redundant Binary Upload. There already exists a binary ups
上傳重復(fù)版本,好吧,我第一次明明是失敗的,鬼知道怎么上傳上去了。