Xcode 找不到任何 iOS App Store 配置文件

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

Xcode couldn't find any iOS App Store Provisioning Profiles

iosxcodeprovisioning-profilexcode9

提问by Jacob Cavin

I'm using a beta of Xcode 9. I've archived my iOS Project and whenever I try to validate it, I get this error for every one of the targets in my app:

我正在使用 Xcode 9 的测试版。我已经存档了我的 iOS 项目,每当我尝试验证它时,我的应用程序中的每个目标都会出现此错误:

Image of the error shown

显示的错误图像

And I'm getting this error for every target like I said. The provisioning profile for each of the targets is an Xcode Managed Profile. What am I doing wrong?

就像我说的那样,对于每个目标,我都会收到此错误。每个目标的配置文件是一个 Xcode Managed Profile。我究竟做错了什么?

回答by MSU_Bulldog

You should try two options:

您应该尝试两种选择:

1) In Developer.Apple.comcreate a distribution provisioning profile, download it, and select it. Then re-archive your project and validate. This should dismiss the error.

1) 在Developer.Apple.com创建分发配置文件时,下载并选择它。然后重新归档您的项目并进行验证。这应该消除错误。

2) If option 1 doesn't work for you, click the Exportbutton beside archive and save your .appfile to your Desktop. Then open Application Loader(In Xcode, click Xcode > Open Developer Tool > Application Loader). Enter your credentials, then upload the app using the .app file you generated and saved to your Desktop.

2) 如果选项 1 不适合您,请单击Export存档旁边的按钮并将您的.app文件保存到桌面。然后打开Application Loader(在 Xcode 中,单击 Xcode > Open Developer Tool > Application Loader)。输入您的凭据,然后使用您生成并保存到桌面的 .app 文件上传应用程序。

Note:Sometimes Xcode shows fake errors when validating and Application Loaderwill ignore those and allow you to upload a build successfully.

注意:有时 Xcode 在验证时Application Loader会显示假错误,并且会忽略这些错误并允许您成功上传构建。

When Application Loaderis finished, you should then be able to see your build in iTunesConnect after about 15-30 minutes.

Application Loader完成后,接下来就能够看到iTunesConnect你的编译后约15-30分钟。

回答by Vmark

It happened to me when I wanted to make an enterprise build but I accidentally selected to upload build to App Store.

当我想做一个企业构建但我不小心选择将构建上传到 App Store 时,这发生在我身上。

回答by Cirec Beback

Mine worked on a simple second attempt with no changes or rebuild.

我在没有更改或重建的情况下进行了简单的第二次尝试。