[IOS开发]上传APP遇到Invalid Binary怎么办?

上传APP收到苹果的邮件,

苹果的邮件
Invalid Code Signing Entitlements - The signature for your app bundle contains entitlement values that are not supported. For the com.apple.developer.ubiquity-container-identifiers entitlement, the first value in the array must consist of the prefix provided by Apple in the provisioning profile followed by a bundle identifier suffix. The bundle identifier must match the bundle identifier for one of your apps or another app that you are permitted to use as the iCloud container identifier.




解决方法:Are you trying to use iCloud? – Roger Jun 21 at 16:21

Roger i ve fixed it already by unchecking the icloud :D – MGD Jun 22 at 5:41

Cool - so my original comment was correct then ;-) As you will see when you read that thread, iCloud is specifically mentioned. – Roger Jun 22 at 7:03


Well i really dont know why Apple has set so many complications for the app submission.Now coming towards the solution, What i did was, I used the same APP ID but i reconfigured it by unchecking the iCloud option, then i renewed the provision and distribution profiles downloaded them, deleted the old profiles from the xcode organizer added the new ones (those i downloaded after renew), first my app started giving error during the that "key does not match .... " then i went to the built info of the target there i simply set "iphone distribution" in code signing, Thats it i build the app and uploaded via organizer, and it went with the status "Waiting for Review" :)


appid取消勾选 icloud
renew,然后重新下载provision(删除旧的先)rebuild and resubmit
哈哈! 成功!

调试SyntaxError invalid syntax错误的方法有以下几种: 1. 检查代码语法:首先,确保代码中没有语法错误。SyntaxError invalid syntax错误通常是由于代码中存在语法错误导致的。可以使用代码编辑器或集成开发环境(IDE)来检查代码中的语法错误,并修复它们。 2. 检查缩进:Python是通过缩进来表示代码块的,因此在检查代码时要确保缩进正确。如果缩进不正确,可能会导致SyntaxError invalid syntax错误。 3. 检查引号:在代码中使用引号时,要确保引号的开闭是匹配的。如果引号的开闭不匹配,也会导致SyntaxError invalid syntax错误。 4. 检查特殊字符:有时候在代码中可能会出现特殊字符,如不可见字符或非ASCII字符,这些字符可能会导致SyntaxError invalid syntax错误。可以尝试删除或替换这些特殊字符。 5. 检查Python版本:有时候SyntaxError invalid syntax错误可能是由于使用了不兼容的Python版本导致的。可以检查代码是否与所使用的Python版本兼容。 6. 检查引用的模块或库:有时候SyntaxError invalid syntax错误可能是由于引用的模块或库不存在或未正确安装导致的。可以检查代码中引用的模块或库是否存在,并确保已正确安装。 7. 检查代码中的特殊字符:有时候SyntaxError invalid syntax错误可能是由于代码中存在特殊字符,如制表符或换行符等导致的。可以尝试删除或替换这些特殊字符。 8. 使用调试工具:如果以上方法都无法解决问题,可以尝试使用Python的调试工具来定位并解决SyntaxError invalid syntax错误。例如,可以使用pdb模块进行代码调试。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值