xcode 上传新版本的 iOS 应用程序时出现“无法验证您的应用程序错误”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/33277785/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
"Unable to Validate your Application Error" While Uploading a new version of iOS App
提问by Geet
I have been trying to upload a new version for my ios App But I always end up receiving this error "UNABLE TO VALIDATE YOUR APPLICATION, "The application you have selected does not exist"
我一直在尝试为我的 ios 应用程序上传新版本,但我最终总是收到此错误“无法验证您的应用程序,“您选择的应用程序不存在”
From Xcode Archiver. I followed this question here Xcode 6.4 The Application You Have Selected Does Not Exist
来自 Xcode 存档器。我在这里跟着这个问题 Xcode 6.4 The Application You Have Selected does not Exist
Which suggests to use Application Loader, After doing that I ended up getting bunch of errors such as these
这建议使用应用程序加载程序,这样做之后我最终得到了一堆错误,例如这些
ERROR ITMS-90049: "This bundle is invalid. The bundle identifier contains disallowed characters. [See the section of the Application Programming Guide entitled The Application Bundle.]"
ERROR ITMS-90057: "Missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString."
ERROR ITMS-90056: "This bundle is invalid. The Info.plist file is missing the required key: CFBundleVersion."
The resulting API analysis file is too large. We were unable to validate your API usage prior to delivery. This is just an informational message.
This errors dont make any sense since all the missing keys are already present in my app, along with appropriate bundle ID of my app which has been in the Appstore for an Year now.
这个错误没有任何意义,因为所有丢失的键都已经存在于我的应用程序中,以及我的应用程序的适当捆绑 ID 已经在 Appstore 中存在了一年。
Can anybody help me out regarding this,
任何人都可以帮我解决这个问题,
I seemed to have tried all the solutions I could find, but to no avail, anybody else facing this? Is this another issue from apples server or maintenance side and I just have to wait a couple of hours before they fix it at thier end??
我似乎已经尝试了我能找到的所有解决方案,但无济于事,还有其他人面临这个问题吗?这是来自苹果服务器或维护方面的另一个问题,我只需要等待几个小时才能在他们结束时修复它?
采纳答案by Aakash Wadhwa - iOS Developer
I was facing the same issue but then i used Application Loaderand it worked for me. After validating your app Export your app by selecting option as Save for iOS App Store Deploymentand then Just upload your apps ipa using Application Loader.
我遇到了同样的问题,但后来我使用了Application Loader,它对我有用。验证您的应用程序后,通过选择保存为 iOS App Store 部署选项导出您的应用程序,然后使用 Application Loader 上传您的应用程序 ipa。
回答by Matjan
Workaround Steps Using the Application Loader:
使用应用程序加载器的解决方法步骤:
- Export your build as a file (Save for iOS App Store Deployment)
- Go to Xcode > Open Developer Tool > Application Loader
- In Application Loader log in to your account
- Select and upload the .ipa file you just exported
- 将您的构建导出为文件(保存用于 iOS App Store 部署)
- 转到 Xcode > 打开开发者工具 > 应用程序加载器
- 在 Application Loader 中登录到您的帐户
- 选择并上传您刚刚导出的 .ipa 文件
回答by ryugoo
Same issue at Xcode 6.4. My workaround.
Xcode 6.4 也有同样的问题。我的解决方法。
- Rename Xcode 6.4 (Xcode64.app)
- Install Xcode 7.1 (Xcode.app)
- Build and archive in Xcode 6
- Auto launch "Organizer" in Xcode 6 and close
- Launch Xcode 7 and Organizer
- Submit to App Store
- 重命名 Xcode 6.4 (Xcode64.app)
- 安装 Xcode 7.1 (Xcode.app)
- 在 Xcode 6 中构建和存档
- 在 Xcode 6 中自动启动“Organizer”并关闭
- 启动Xcode 7 和 Organizer
- 提交到 App Store
回答by Jo?o Reichert
I was with the same issue, Using the Application Loaderworks for me.
我遇到了同样的问题,使用应用程序加载器对我有用。
In Organizer, export your app and select the option Save for iOS App Store DeploymentI did it and works for me
在 Organizer 中,导出您的应用程序并选择选项 Save for iOS App Store DeploymentI did it and works for me
before that I tried with Save for Ad Hoc Deploymentbut with no success!
在此之前,我尝试使用Save for Ad Hoc Deployment但没有成功!
回答by Geet
Okay, I was finally able to upload my application heres what was happening, I had used a third party lib., which had an info.plist of its own
好的,我终于能够上传我的应用程序发生了什么,我使用了第三方库,它有自己的 info.plist
this info.plist was the culprit, It didn't had any Bundle Identifier
, CFBundleVersion
or CFBundleShortVersionString
string, so I manually added These 3 keys into that frameworks info.plist and the application got accepted.
这个 info.plist 是罪魁祸首,它没有任何Bundle Identifier
,CFBundleVersion
或CFBundleShortVersionString
字符串,所以我手动将这 3 个键添加到该框架 info.plist 中,应用程序被接受。
Dont know why but this worked, And I was able to upload my app to itunes
不知道为什么,但这有效,而且我能够将我的应用程序上传到 iTunes
回答by Ayush Goel
Seems to be an issue with Xcode 6.4. Export the ipa and upload it using Application Loader. Relevant Apple Developer Forum Link
似乎是 Xcode 6.4 的问题。导出 ipa 并使用 Application Loader 上传它。相关苹果开发者论坛链接
回答by Stunner
This occurred for me when I accidentally left "Include Bitcode" checkmarked (on by default) in my build despite setting the project to not contain bitcode. Uncheckmarking it resolved this issue.
尽管将项目设置为不包含位代码,但我不小心在我的构建中选中了“包含位代码”(默认情况下打开)时,我就发生了这种情况。取消选中它解决了这个问题。