xcode 应用程序提交错误:“找不到符合条件的软件,请确保此软件归您的开发者组织所有”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/28682958/
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 app submission error: "no eligible software found, make sure this software is owned by your developer organization"
提问by Miro
I'm getting the stated error when trying to upload an app submission to itunes connect on an organization I am a member of, but who's itunes connect username is different than my my apple developer ID.
我在尝试将应用程序提交上传到我所属组织的 itunes connect 时收到所述错误,但谁的 itunes connect 用户名与我的 Apple 开发人员 ID 不同。
The problem is I have a single Apple Developer ID I use for all my IOS development across multiple organizations. [email protected] That id has been added to multiple organizations in the IOS Member Center. On Itunes Connect however, it does not let you add an existing Apple ID (or existing Itunes Connect user on a different organization) as a new user to an organization.
问题是我有一个 Apple Developer ID,用于跨多个组织的所有 IOS 开发。[email protected] 该 ID 已添加到 IOS 会员中心的多个组织中。但是,在 Itunes Connect 上,它不允许您将现有 Apple ID(或其他组织的现有 Itunes Connect 用户)作为新用户添加到组织中。
So if I'm a member of 3 organizations, each one uses a different Itunes Connect email, usually the email for that org, not my main gmail Apple ID.
因此,如果我是 3 个组织的成员,每个组织使用不同的 Itunes Connect 电子邮件,通常是该组织的电子邮件,而不是我的主要 gmail Apple ID。
When trying to upload using XCode, I get this error since they don't match. How can I work around this? I fixed it for one organization only by using my co-worker's ID which matched for his appleID+itunes user. However I'd like to be able to do it on my own.
尝试使用 XCode 上传时,我收到此错误,因为它们不匹配。我该如何解决这个问题?我仅使用与他的 appleID+itunes 用户匹配的同事的 ID 为一个组织修复了它。但是,我希望能够自己完成。
I tried adding individual org emails as xcode emails, however none of them are Apple Developer accounts, and Xcode refuses to use them.
我尝试将个人组织电子邮件添加为 xcode 电子邮件,但是它们都不是 Apple 开发人员帐户,并且 Xcode 拒绝使用它们。
How can I upload my app to a new org I'm a member of on Itunes connect??
如何将我的应用程序上传到我是 Itunes connect 成员的新组织?
EDIT
编辑
I tried using the Application Loader tool from Xcode menu, and I get a different kind of error shown below. I tried with App Store Build and Ad Hoc build. This is a development build only at this point which I hope to use for internal testing via Itunes Connect Testflight, so we're not using Release/AppStore provisioning profiles yet, nor have we even created them yet.
我尝试使用 Xcode 菜单中的 Application Loader 工具,但出现如下所示的不同类型的错误。我尝试过 App Store Build 和 Ad Hoc 构建。这只是目前的开发版本,我希望通过 Itunes Connect Testflight 用于内部测试,所以我们还没有使用 Release/AppStore 配置文件,我们甚至还没有创建它们。
EDIT 2
编辑 2
Apple docs say:
苹果文档说:
"A single Apple ID can be associated with multiple Member Center teams. Using the same Apple ID, you can enroll as an individual and join other teams. However, you can only be associated with a single iTunes Connect team. Consequently, developers should create another Apple ID for different individual or company accounts that they want to manage separately in iTunes Connect."
“一个 Apple ID 可以关联多个 Member Center 团队。使用同一个 Apple ID,您可以以个人身份注册并加入其他团队。但是,您只能关联一个 iTunes Connect 团队。因此,开发者应该创建他们希望在 iTunes Connect 中单独管理的不同个人或公司帐户的另一个 Apple ID。”
This is true for itunes connect. But how does one then submit builds to these other itunes connect accounts, from xcode?
这对于 iTunes 连接来说是正确的。但是,如何从 xcode 向这些其他 iTunes 连接帐户提交构建?
回答by Miro
I was able to sort this out and thought I'd share for others looking for answers. Because I have a single apple developer id and multiple iTunes Connect ids, that is the core of the problem. Xcode would not let me put and use a non-developer account id into the user preferences. The solution was to use the Application Loader tool.
我能够解决这个问题,并认为我会与其他人分享寻找答案。因为我有一个苹果开发者 id 和多个 iTunes Connect id,这就是问题的核心。Xcode 不允许我在用户首选项中放入和使用非开发人员帐户 ID。解决方案是使用 Application Loader 工具。
An Overview of necessary steps, which I use for every deployment now:
必要步骤的概述,我现在用于每个部署:
- Make sure your Release build is using a Distribution provisioning profile and not just a development one. Don't use "Automatic" either, even if it sometimes works. I use an App Store profile, even for test flight releases via ITC. Create the provisioning profile on apple's ios center manually, call it something obvious like "[APP_NAME] App Store Distribution". Then in the Xcode build settings, set the release profile to this name. Secondly, make sure the Code Signing developer is the one on this profile, it doesn't always toggle default to that.
- Archive your app as usual to generate the build.
- Do not "submit" app from organizer, instead do an export, export to file.
- When prompted, choose "App Store Submission" instead of "Ad hoc", otherwise it will fail.
- In Xcode open Xcode->Open Developer Tool->Application Loader
- From here you can add/select any of your itunes connect users independent of Xcode.
- Choose "deliver your app" to submit, and choose the exported build file.
- 确保您的发布版本使用的是分发配置文件,而不仅仅是开发配置文件。也不要使用“自动”,即使它有时有效。我使用 App Store 配置文件,即使是通过 ITC 进行试飞发布。在苹果的 ios 中心手动创建配置文件,将其命名为“[APP_NAME] App Store Distribution”之类的明显名称。然后在 Xcode 构建设置中,将发布配置文件设置为此名称。其次,确保代码签名开发人员是此配置文件中的开发人员,它并不总是将默认值切换为该开发人员。
- 像往常一样存档您的应用程序以生成构建。
- 不要从组织者“提交”应用程序,而是进行导出,导出到文件。
- 出现提示时,选择“App Store Submission”而不是“Ad hoc”,否则会失败。
- 在 Xcode 中打开 Xcode->Open Developer Tool->Application Loader
- 从这里您可以添加/选择任何独立于 Xcode 的 iTunes 连接用户。
- 选择“deliver your app”提交,并选择导出的构建文件。
This should get the upload to itunes connect. If you are using TestFlight in ITC and it is setup, this will result in a new TestFlight push.
这应该可以上传到 iTunes 连接。如果您在 ITC 中使用 TestFlight 并且它已设置,这将导致新的 TestFlight 推送。
When creating a new app for each organization I work with, I always setup the new Distribution profile immediately, don't start using "Automatic" or let Xcode "Fix it...", as these may work once, but will likely cause issues or failed releases later. Always name your profiles to include the app name, distribution and App Store, as once you start doing this a lot it is easy to confuse them if you're just naming them non descriptively like "MyApp's profile".
在为我合作的每个组织创建新应用程序时,我总是立即设置新的分发配置文件,不要开始使用“自动”或让 Xcode“修复它...”,因为这些可能会起作用一次,但可能会导致稍后发布问题或失败。始终将您的配置文件命名为包含应用程序名称、发行版和 App Store,因为一旦您开始经常这样做,如果您只是将它们命名为“MyApp 的配置文件”之类的非描述性名称,则很容易混淆它们。
回答by Brad Brighton
"No eligible software" suggests that either the appID doesn't exist or it exists on the wrong developer account (perhaps Xcode auto created).
“没有符合条件的软件”表明 appID 不存在或存在于错误的开发者帐户中(可能是 Xcode 自动创建的)。
Check the team you're using normally (if it's wrong, XC might have done something useful but in the wrong account). Start with Xcode Preferences > Accounts then details of the preferred and current teams in question. After that, check in the devcenter (making sure you're logged in as the team you're trying to submit under) - check your appIDs and see if the app you're expecting to see there actually is.
检查您正常使用的团队(如果错误,XC 可能做了一些有用的事情,但在错误的帐户中)。从 Xcode Preferences > Accounts 开始,然后是有关首选和当前团队的详细信息。之后,检查开发中心(确保您以尝试提交的团队身份登录) - 检查您的 appID,看看您希望看到的应用程序是否真的存在。
Also make sure the iTunes Connect account you're using to upload has the "technical" role (per https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/UsingiTunesConnect/UsingiTunesConnect.html)
还要确保您用于上传的 iTunes Connect 帐户具有“技术”角色(根据https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/UsingiTunesConnect/UsingiTunesConnect.html)
回答by ebelendez
In my case the problem was I didn't realized that "Application Loader" has a login! So I just select Window menu / Sign In as.. And enter the same developer account I used to create the "certificate and provision files", that I used to compile the app.
就我而言,问题是我没有意识到“Application Loader”有登录名!所以我只选择窗口菜单/登录为..并输入我用来创建“证书和配置文件”的同一个开发人员帐户,我用来编译应用程序。
回答by Amit Singh
Please match the bundle Id from itunesConnect & Xcode.
请匹配来自 itunesConnect 和 Xcode 的包 ID。
I was getting same error & solved with bundleID.
我遇到了同样的错误并用 bundleID 解决了。
回答by Subhash
Change your Application Loader user account to application's signed user account.
将您的 Application Loader 用户帐户更改为应用程序的签名用户帐户。