使用测试版的 Xcode 为 App Store 分发

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25171023/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 05:20:44  来源:igfitidea点击:

Distributing for App Store using beta versions of Xcode

xcodebeta

提问by chrs

When I try to distribute an app I get this error:

当我尝试分发应用程序时,出现此错误:

Xcode attempted to locate or generate matching signing assets and failed to do so because of the following issues.

No matching provisioning profiles found for "Application/TheApp.app"

None of the valid provisioning profiles allowed the specified entitlements: application-identifier, beta-reports-active, keychain-access-groups.

Xcode 尝试定位或生成匹配的签名资产,但由于以下问题而失败。

找不到与“Application/TheApp.app”匹配的配置文件

没有一个有效的配置文件允许指定的权利:application-identifier、beta-reports-active、keychain-access-groups。

I don't really understand what that error means. Any help?

我真的不明白那个错误是什么意思。有什么帮助吗?

采纳答案by mohacs

You can't submit an app to App Store with beta software, you have to wait GM release.

您不能将带有测试版软件的应用程序提交到 App Store,您必须等待 GM 发布。

From Apple

来自苹果

New apps and app updates submitted to the App Store must be built with release versions of Xcode 5. Do not submit apps built with beta software, as beta versions are for development and testing only.

Xcode 6 beta, iOS 8 beta, and OS X Yosemite Developer Preview are pre-release software. Your use is subject to and licensed only under the terms and conditions of the iOS Developer Program License Agreement ("iOS PLA"), including any applicable consent to collect diagnostic data set forth therein. If you have not agreed to the iOS PLA, you are not permitted to use this software.

提交到 App Store 的新应用程序和应用程序更新必须使用 Xcode 5 的发布版本构建。不要提交使用测试版软件构建的应用程序,因为测试版仅用于开发和测试。

Xcode 6 beta、iOS 8 beta 和 OS X Yosemite Developer Preview 是预发布软件。您的使用仅受 iOS 开发者计划许可协议(“iOS PLA”)的条款和条件的约束和许可,包括其中规定的收集诊断数据的任何适用同意。如果您不同意 iOS PLA,则您不得使用本软件。

9 Sep. 2014

2014 年 9 月 9 日

You may now use Xcode 6 GM seedto submit apps to the App Store and Mac App Store.

您现在可以使用Xcode 6 GM 种子向 App Store 和 Mac App Store 提交应用程序。

回答by Timur Bernikovich

I have the same error till I revoke and request new iPhone Distribution certificate from Apple.

在我撤销并从 Apple 请求新的 iPhone 分发证书之前,我遇到了同样的错误。

  1. Go to developer.apple.com, open Certificates.
  2. If you have 2 or less certificates for Distribution you can create new one. But if you have 3 you need to revoke one and then create new one.
  3. Go to Provision Profiles and select your profile. Change old certificate to just created certificate. Download provision profile.
  4. Now build your app.
  1. 转到 developer.apple.com,打开证书。
  2. 如果您有 2 个或更少的分发证书,则可以创建新的证书。但是如果你有 3 个,你需要撤销一个,然后创建一个新的。
  3. 转到配置配置文件并选择您的配置文件。将旧证书更改为刚刚创建的证书。下载配置文件。
  4. 现在构建您的应用程序。

回答by kris

If you are not using a beta version of Xcode, and you have regenerated all your certificates, and you are doing everything you should and it is still not happening; this is what worked for me:

如果您使用的不是 Xcode 的 beta 版本,并且您已经重新生成了所有证书,并且您正在做您应该做的一切,但它仍然没有发生;这对我有用:

1. Backup your code, 2. delete your project, 3. recreate the project anew, 4. add your code back inand voilasuccessful build for validation and submission to the App Store.

1.备份你的代码,2.删除您的项目,3.重新创建项目重新,4加在你的代码背部成功的构建进行验证和提交到App Store。

回答by rbiard

Obviously I think you can, starting now ;)

显然我认为你可以,从现在开始;)

I just received the mail from :

我刚刚收到了来自:

To prepare your apps for the App Store, download and build with the iOS 8 and Xcode 6 GM seeds from the iOS Dev Center. With these latest seeds, Swift is now final and you can submit your iOS apps written with Swift to the App Store.

要为 App Store 准备应用程序,请从 iOS 开发中心下载并使用 iOS 8 和 Xcode 6 GM 种子进行构建。有了这些最新的种子,Swift 现在是最终版本,您可以将使用 Swift 编写的 iOS 应用程序提交到 App Store。