iOS打包上傳ipa遇到的問題

4238

上傳ipa包時,出現 ** ERROR ITMS-4238** 錯誤
修改一下版本號為 1.0.1就可以成功提交了,主要是兩次上傳了相同版本號而導致的,所以就是修改一下版本號的問題。

錯誤信息:

Xcode Validate fails with: “Your account does not have permission to create profiles.”```
刪除本地證書,重新下載證書就可以了。


###22421
 ```this action cannot be completed -22421```


![](http://upload-images.jianshu.io/upload_images/701353-448ef574408c6069.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

蘋果服務器那邊繁忙導致的,并不是我們打包的問題,取消重新提交就可以了,包也不需要重新Archive的。



###錯誤信息2
  1. 1 Performance: App Completeness (iOS)
    Guideline 2.1 - Information Needed

We have started the review of your app, but we are not able to continue because we need additional information about your app.

Next Steps

To help us proceed with the review of your app, please review the following questions and provide as much detailed information as you can.

  • Does your app access any paid content or services?
  • What are the paid content or services, and what are the costs?
  • Who pays for the content or services?
  • Where do they pay, and what's the payment method?
  • If users create an account to use your app, are there fees involved?

Once you reply to this message in Resolution Center with the requested information, we can proceed with your review.


直接在下面回復:

親愛的蘋果審核人員
我們的XXXXX App 不涉及到付費內容,不包括任何付費選項,也沒有收取費用的服務,如果用戶創建了一個帳戶來使用我們的App,完全不涉任何費用。非常抱歉我們沒有說明白,對你們的困惑我們深感抱歉。
Dear Apple reviewers
Our XXXXX App does not involve paid content, does not include any paid options, nor does it charge for a fee, and if the user creates an account to use our App, there is no charge at all. I'm sorry we are sorry to say that we are not confused.```

90535

ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at 
'Payload/InternetKT.app/TLSUI.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.
"```

![](http://upload-images.jianshu.io/upload_images/701353-909b89e9d7ca9a5a?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

 * 1.找出所有的plist文件, 查看plist文件中, 找出key是CFBundleExecutable(或者是Executable file)的配置行.一般都是在某些第三方的plist文件中. ![這里寫圖片描述](http://upload-images.jianshu.io/upload_images/701353-1928f7fa0aa4f452?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
 * 2.將找出所有第三方plist文件中的CFBundleExecutable行刪除 
 * 3.重新打包, 交付

[參考資料](https://stackoverflow.com/questions/32622899/itms-90535-unable-to-publish-ios-app-with-latest-google-signin-sdk)

###90542

ERROR ITMS-90542: "Invalid CFBundleSupportedPlatforms value. The key
'CFBundleSupportedPlatforms' in the Info.plist file in bundle 'Payload/InternetKT.app/TLSUI.bundle'
contains an invalid value '[iPhoneSimulator]'. Consider removing the CFBundleSupportedPlatforms key
from the Info.plist. 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文件中的CFBundleSupportedPlatforms字段和其對應的值導致了,找到其plist文件,移出對應的字段和值或者修改一下如下圖


iPhoneSimulator改成iPhoneOS

90060

ERROR ITMS-90060: "This bundle is invalid. The value for key CFBundleShortVersionString '1.0.0.1' in the Info.plist file must be a period-separated list of at most three non-negative integers."

將你的版本號改為三位的,蘋果不讓你寫四位的版本號,你要是想寫的話可以在iTunes Connect里面寫,在AppStore顯示的版本好為四位。

90207

ERROR ITMS-90207: "Invalid Bundle. The bundle at
解決辦法
In your info.plist file, under the key Executable file, add the value $(EXECUTABLE_NAME).
參考鏈接

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容