关闭

开发者们,被Invalid Binary了?看看汇总的解决方案吧

标签: 上架问题Invalid Binary
1294人阅读 评论(0) 收藏 举报
分类:

苹果2013年5月1日起禁止在应用中使用UDID,肯定有很多开发者的App被Invalid Binary了,这个问题很多没注意到开发者现在应该遇到了,比如你使用的第三方旧版本SDK什么的都会遇到,来看看几位开发者关于遇到Invalid Binary是怎么做的吧。

Invalid Binary解决方案参考

1、把Admob SDK升级到最新版就搞定了。老版的Admob SDK会使用UDID,新版就不会了。

2、更新Admob 和BugScene 就好了。

3、asi里面的调用了setMaxValue也会报错,把那块函数注释掉就可以了。

4、Cocos2d里面的Cocos2d live部分有用到UDID,自己在整个工程里搜一下uniqueIdentifier,我最近也遇到了这个问题,已经解决了。

5、因为多盟的SDK引起的,我把多盟SDK删除后,就没问题了,多盟旧版本SDK有用到UDID。

APP 上传之后出现”invalid binary” 问题解决汇总相关

1. 文件系统问题,一定要在MAC分区下编译上传
2. 多余的代码,这个是最烦人的,一定要看回复,然后删除多余的东西,很多是框架相关的
3. 缺少entitlements.plist,需要填写application-identifier
4. provisioning的问题,有的人遇到证书的问题,总之重新做一遍
5. “Icon Files”的问题, 参考http://stackoverflow.com/questions/3658929/itunesconnect-iphone-app-status-invalid-binary
6. deployment target 选择错误,最好重做RELEASE的DISTRIBUTION
7.UDID问题受挫,就是上面提到的了。

UDID替代方案

之前我们就发布过关于UDID的代替方案的文章,请参考iOS设备的UDID是什么?苹果为什么拒绝获取iOS设备UDID的应用?如何替代UDID?

“Invalid Binary”收到的邮件

1.

Dear Developer,

Thank you for your recent binary submission for “XXXX” to the App Store. Unfortunately we discovered an issue with your binary that you will need to correct in order for your application to proceed to the review stage. The specific issue is outlined below:

Invalid Signature – Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose “Clean All” in Xcode, delete the “build” directory in the Finder, and rebuild your release target.

Once you have corrected the issue, please return to the application’s version details page in the iTunes Connect Manage Your Applications module and click on the Ready to Submit Binary button. This will take you through the binary submission flow and return your application version status to Waiting for Upload. You can then use Application Loader to upload your new binary. If any other issues are found with your submission you will be contacted.

Thanks,
The iTunes Connect Team

请注意Xcode版本问题:最新版XCode下载地址

因为UDID被Invalid Binary 收到的邮件:

Non-public API usage:
Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice. Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6.

If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed.
If you think this message was sent in error and that you have only used Apple-published APIs in accordance with the guidelines, send the app’s nine-digit Apple ID, along with detailed information about why you believe the above APIs were incorrectly flagged, to appreview@apple.com. For further information, visit the Technical Support Information page.
Once these issues have been corrected, go to the Version Details page and click “Ready to Upload Binary.” Continue through the submission process until the app status is “Waiting for Upload.” You can then deliver the corrected binary.
Regards,
The App Store team

如果你通过上面介绍的还没有解决,请在下方留言评论,让大家知晓哦。

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:135712次
    • 积分:1999
    • 等级:
    • 排名:千里之外
    • 原创:37篇
    • 转载:182篇
    • 译文:1篇
    • 评论:7条
    最新评论