上传到 App Store 时出现 Xcode 错误:“找不到合适的应用程序记录”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/30110757/
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
Xcode error when uploading to App Store: "No suitable application records were found"
提问by irth
I'm using Ionic to build an html app for iOS. I've registered an app on iTunes Connect.
我正在使用 Ionic 为 iOS 构建一个 html 应用程序。我已经在 iTunes Connect 上注册了一个应用程序。
All goes well in Xcode until I upload to the App Store. I get the following error:
在 Xcode 中一切顺利,直到我上传到 App Store。我收到以下错误:
iTunes Store operation failed.
No suitable application records were found. Verify your bundle identifier 'com.iconicframework.app315125' is correct.
iTunes Store 操作失败。
没有找到合适的申请记录。验证您的包标识符“com.iconicframework.app315125”是否正确。
回答by Almo
I suspect you should not be calling your app "com.ionicframework.app315125". That looks like a leftover name from an example project.
我怀疑您不应该将您的应用称为“com.ionicframework.app315125”。这看起来像是示例项目中的剩余名称。
You need to create a new Bundle Identifier in the Developer portal:
您需要在开发人员门户中创建一个新的捆绑标识符:
Then choose it when you "Create New App" in iTunesConnect:
然后在 iTunesConnect 中“创建新应用程序”时选择它:
For me, I'd pick com.maniac-games.lowdown.
对我来说,我会选择 com.maniac-games.lowdown。
回答by Beto
Maybe you need to review thisdocument.
也许您需要查看此文档。
In other words:
换句话说:
- You must go to developer.apple.com and create a provisioning profile and bundle id.
- Assign devices to provisioning
- Then ... enter itunesconnect and create app and assign your bundle id.
- Enter to Xcode and reload provisioning files.
- Enter to Targets files and select provisioning.
- Product -> Archive and go on :)
- 您必须转到 developer.apple.com 并创建配置文件和捆绑包 ID。
- 将设备分配给配置
- 然后......输入itunesconnect并创建应用程序并分配您的捆绑ID。
- 进入 Xcode 并重新加载配置文件。
- 进入目标文件并选择配置。
- 产品 -> 存档并继续:)
回答by Pravesh Tiwari
I was also facing same issue..I fixed it by creating an app on itunesConnect before uploading app. once you created app on itunesconnect. you should not get this error anymore.
我也面临同样的问题..我通过在上传应用程序之前在 itunesConnect 上创建一个应用程序来修复它。一旦你在itunesconnect上创建了应用程序。你不应该再收到这个错误了。
there should be some authentication and a place to store your build. and if you don't have an app on itunesconnect with same bundle id it will not let you upload your app.
应该有一些身份验证和一个地方来存储您的构建。如果您在 itunesconnect 上没有具有相同捆绑 ID 的应用程序,它将不会让您上传您的应用程序。
回答by iParesh
I received the same error on multiple attempts.
我多次尝试收到相同的错误。
Follow below step:
1) Create AppID inside developer siteIdentifiers -> IDS.
2) Create Provisioning Profiles Certificate Provisioning Profiles - > Distribution.
3) Create App inside iTunesand Give name of app, select Bundle identifier of app and just click on Create app.
4) Inside xcode select Product -> Archive
wait few minute then open Organizer(Windows -> Organizer
) and show app in Organizer, Click on Upload to App store
5) Successfully you have upload app in app store.
按照以下步骤操作:
1) 在开发者站点内创建 AppID Identifiers -> IDS.
2) 创建配置文件证书配置Profiles - > Distribution.
3) 在iTunes内创建应用程序并提供应用程序名称,选择应用程序的捆绑标识符,然后单击创建应用程序。
4) 在 xcode 中选择Product -> Archive
等待几分钟,然后打开 Organizer( Windows -> Organizer
) 并在 Organizer 中显示应用程序,单击“上传到应用程序商店”
5)您已成功在应用程序商店中上传应用程序。
回答by UsualYann
For the ones who get this error on an app which was sumbitable previously, please log in to iTunesConnect / AppStoreConnectand acceptthe latest Terms of Services or whatever legal message you have to approve.
对于那些在以前可上传的应用程序上遇到此错误的人,请登录 iTunesConnect/AppStoreConnect并接受最新的服务条款或您必须批准的任何法律消息。
Note that if you are working with an external publisheryou need someone whose account has the highest permissionto have the message appearing.
请注意,如果您与外部发布者合作,您需要帐户拥有最高权限的人才能显示消息。
回答by Mehdi Roostaeian
I had the same issue, after a while checking I added my app's details into AppstoreConnectthen it was fixed!
我遇到了同样的问题,经过一段时间检查后,我将应用程序的详细信息添加到AppstoreConnect 中,然后它就修复了!
Don't forget that at first you need to define a new bundle identifier and provisioning profile.
不要忘记,首先您需要定义一个新的包标识符和配置文件。
回答by theswed
Well what soloved the issue for me was changing the bundleID when the pop up (while validating) comes up to the actual bundleID which was not right at that time but is now fixed and my app is one the way to the Appstore!
那么对我来说解决这个问题的是当弹出窗口(在验证时)出现实际的 bundleID 时更改 bundleID,这在当时是不正确的,但现在已修复,我的应用程序是通往 Appstore 的一种方式!
回答by user8399363
You need to create a new Bundle Identifier in the Developer portal(https://developer.apple.com) like create your app in myapps with same Bundle Identifier
您需要在开发人员门户(https://developer.apple.com)中创建一个新的捆绑标识符,就像在 myapps 中使用相同的捆绑标识符创建您的应用程序一样