xcode iOS 如何添加配置文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/44672311/
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
iOS how to add a provisioning profile
提问by Richard
I am using Xcode Version 8.3.3 (8E3004b)
. I have an app developed that I would like to deploy to Apple's App Store.
我正在使用Xcode Version 8.3.3 (8E3004b)
. 我开发了一个应用程序,我想将其部署到 Apple 的 App Store。
In order to Archive and deploy, I understand I first need a provisioning profile. So, in the developer console, I set up an iOS Distribution Provisioning Profile.
为了存档和部署,我知道我首先需要一个配置文件。因此,在开发者控制台中,我设置了一个iOS Distribution Provisioning Profile。
I also have the following certificates:
我还有以下证书:
On my MacBook, I added the following certificates to the key chain:
在我的 MacBook 上,我将以下证书添加到钥匙串中:
Then when I go to Xcode, I would expect to have a Provisioning Profile:
然后当我去 Xcode 时,我希望有一个 Provisioning Profile:
But as you can see, it Failed to create provisioning profile
and No profiles for 'com.ionicframework.thewhozoo912107' were found
.
但正如你所看到的,它Failed to create provisioning profile
和No profiles for 'com.ionicframework.thewhozoo912107' were found
.
I am obviously missing some step in order to create the Provisioning Profile in order to distribute the app to the Apple App Store.
我显然缺少一些步骤来创建配置文件,以便将应用程序分发到 Apple App Store。
Question
题
If anyone can suggest what I need to do in order to create a working provisioning profile in order to distribute the app, I would appreciate the help.
如果有人可以建议我需要做什么才能创建工作配置文件以分发应用程序,我将不胜感激。
More info:
更多信息:
采纳答案by Richard
回答by Christian Jacob
I had that problem as well when I was developing my first app. It took a while, since I managed it. Try to plug your iOS device in your computer and then it should work.
我在开发第一个应用程序时也遇到了这个问题。花了一段时间,因为我做到了。尝试将您的 iOS 设备插入您的计算机,然后它应该可以工作了。