前期的證書問(wèn)題不談了愕撰,比較麻煩刹衫,直接說(shuō)打包過(guò)程
1.使用Xcode上傳
打開xocde,點(diǎn)擊上面的product->archive進(jìn)行打包盟戏,彈出界面后點(diǎn)擊右邊的Upload to App Store上傳绪妹,不過(guò)聽說(shuō)上傳之前先驗(yàn)證甥桂,通過(guò)率會(huì)高些柿究。但是這里經(jīng)常會(huì)報(bào)itunes store operation failed錯(cuò)誤,這是網(wǎng)絡(luò)問(wèn)題黄选,基本上看人品了蝇摸,一般推薦用下面方法上傳
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按下來(lái)的步驟就能導(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è)問(wèn)題
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問(wèn)題,點(diǎn)擊下方搜索info.plist齐板,然后刪掉第三方plist文件里面的Executable file字段
2.ERROR ITMS-4238: "Redundant Binary Upload. There already exists a binary ups
上傳重復(fù)版本吵瞻,好吧,我第一次明明是失敗的甘磨,鬼知道怎么上傳上去了橡羞。