【iOS開發(fā)】iOS應用打包發(fā)布常見問題

1、使用Application Loader 發(fā)布時報錯:Communication error.please use diagnostic mode to check connectivity.you need to have outbound access to tcp port 443.

這個問題可能是網(wǎng)絡造成的,我電腦用了用于翻長城的代理工具,取消系統(tǒng)代理就好了。

2、unable to authenticate the package:XXX.itmsp
其中XXX處是應用的App ID, 這個是在項目》Build Settings 》Code Signing 》Release 的Any iOS SDK設置錯了, 選擇iPhone Distribution(一般應該都是這個名字吧)就可以了。

3、invalid provisioning profile.the provisioning profile included in the bundle is invalid.
這個把下載的ios_distribution.cer 這個證書安裝好就可以了,囧。

4、missing required icon file. the bundle does not contain an app icon for iphone/ipod touch of exactly '120 120' pixels, in .png format for ios versions >= 7.0
最新的ios7需要額外的這三個尺寸的icon,'120x120','152x152','76x76',制作好加到項目里就行。

5、new apps and app updates submitted to the app store must be built with public(GM) versions of Xcode 5.1.1 or higher and iOS 7 SDK. Do not submit apps built with beta software.
據(jù)說從2014年5月12日開始,必須使用最新的xcode5.1.1才能上傳應用,而我的Xcode版本是5.1,趕緊升級下吧。(而且必須要用最新版的XCode重新打包才行)

6、添加新的調(diào)試設備時:a valid provisioning profile for this executable was not found.
因為我之前打包的時候在Project中將Code Signing Identity中將Provisioning設置成了發(fā)布證書(iPhone Distribution),切換成調(diào)試證書(iPhone Develop)就行了

7、提交后iTunes Connect 中顯示:Build XX does not contain the correct beta entitlement.
先退出xcode,把 ~/Library/MobileDevice/Provisioning Profiles 下面的全刪了,然后去https://developer.apple.com/membercenter,進去把所有provision files刪了重新建 ,然后重新導入到xcode中,相關(guān)證書最好也重新弄一下。

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容