Date
Sep. 8th, 2024
 
2024年 8月 6日

Post: iOS: ERROR ITMS-9000

iOS: ERROR ITMS-9000

Published 12:09 Sep 12, 2015.

Created by @ezra. Categorized in #Programming, and tagged as #iOS.

Source format: Markdown

Table of Content

ERROR ITMS-9000:"Invalid Code Signing Entitlements.Your application Bundles signature code signing entitlements that are not supported on ios ,Specifically, value'*' for key 'com.apple.developer.associated-domains' in 'Payload/xxx'' is not supported.

错误

大致意思是没有对应的签名和对应的键值对key -value造成问题的原因有二:

  • 第一种情况,在创建appid的时候选中了iCloud功能,而没有在在Xcode中配置应用的iCloud Entitlements(添加iCloud中添加对应的键值对),在Xcode中选Target->Summary->Entitlements,勾选后Xcode会自动生成,iCloud Key-Value Store: com.company.App,iCloud Containers: com.company.App,Keychain Access Groups: com.company.App)

  • 第二种情况刚好合第一种情况相反,解决这种错误的方法很明显,要么使用iOS的iCloud功能,要么不使用iCloud功能,如果不打算使用iCloud功能,那么:

    • 第一步,需要在appid设置里面去掉icoud的勾选

    • 第二步,在Xcode中去掉iCloud的勾选和和配置

    • 第三步,需要重新生成发布证书mobileprofile,如果在发布的守候海出现这种问题,那么从头来一遍证书就可以顺利发布了。

Pinned Message
HOTODOGO
The Founder and CEO of Infeca Technology.
Developer, Designer, Blogger.
Big fan of Apple, Love of colour.
Feel free to contact me.
反曲点科技创始人和首席执行官。
程序猿、设计师、奇怪的博主。
苹果死忠、热爱色彩斑斓的世界。
如有意向请随时 与我联系