简体   繁体   English

Mountain Lion和Xcode 4.4无法验证App是否可用于App Store分发

[英]Mountain Lion and Xcode 4.4 Not Validating App for App Store Distribution

I released version 1.1 of my app onto the App Store last week, and now have had to produce 1.1.1 very quickly. 我上周在App Store上发布了我的应用程序的1.1版,现在必须非常迅速地生产1.1.1。 Last week, I was running XCode 4.3(.1, maybe) on Lion. 上周,我在Lion上运行了XCode 4.3(也许是.1)。 There were no validation issues when uploading version 1.1 using XCode's Organiser. 使用XCode的Organiser上传1.1版时,没有验证问题。 This week, I have upgraded to Mountain Lion, and been forced to upgrade to XCode 4.4 as a result. 本周,我已经升级到Mountain Lion,结果被迫升级到XCode 4.4。 I have changed about 10 lines of code for version 1.1.1. 我为版本1.1.1更改了大约10行代码。 Now when I try to distribute the app, XCode's Organiser fails, with no helpful error message. 现在,当我尝试分发应用程序时,XCode的管理器失败,没有任何有用的错误消息。 I tried using Application Loader, which gives me the error: The app references non-public selectors in Payload/AppName.app/AppName: instance 我尝试使用应用程序加载程序,这给了我错误: The app references non-public selectors in Payload/AppName.app/AppName: instance

From what I've seen around the Internet, this is most probably because I'm using (as it suggests) a private API. 从我在Internet上看到的情况来看,这很可能是因为我正在使用(暗示)私有API。 But that can't be right, the only code I added was a new BOOL and then setting it to YES and NO a few times. 但这是不对的,我添加的唯一代码是一个新的BOOL ,然后几次将其设置为YESNO

I need this update out ASAP, as it fixes a nice big flaw to do with the app launching. 我需要尽快进行此更新,因为它修复了与启动应用程序有关的一个很大的缺陷。 Any help is greatly appreciated. 任何帮助是极大的赞赏。

EDIT: As an aside, I reverted my code back to 1.1, then tried to distribute that, and got the exact same error message. 编辑:顺便说一句,我将代码恢复为1.1,然后尝试分发该代码,并得到了完全相同的错误消息。 Considering they let it upload last week, it seems strange iTunes Connect is now rejecting it. 考虑到他们上周允许它上传,iTunes Connect现在拒绝它似乎很奇怪。

This could be a false-positive on Apple's part. 对苹果公司而言,这可能是错误的肯定。 Do you have methods named "instance" in your code? 您的代码中是否有名为“ instance”的方法? Does changing them to something else solve the problem? 将它们更改为其他内容是否可以解决问题?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM