代码签名未显示配置文件 - Xcode 5.1。

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

Code Signing not showing Provisioning Profile - Xcode 5.1.

iosobjective-cxcodeprovisioning-profile

提问by Hassy

Hi, I recently upgraded to Xcode 5.1now I can not find Provisioning Profile in Projects->Target->Code Signingsection of settings. Before Xcode 5.1, I used to change Provisioning Profile to desired profile from Provisioning Profileoption then it starts to appear in code signing identity debug or release section as shown in image below.

嗨,我最近升级到Xcode 5.1现在我在Projects->Target->Code Signing设置部分找不到配置文件。在Xcode 5.1之前,我曾经从Provisioning Profile选项将 Provisioning Profile 更改为所需的配置文件,然后它开始出现在代码签名身份调试或发布部分,如下图所示。

enter image description here

在此处输入图片说明

But now I am not given this options in Code Signingso I can't change the debug or release profile it only show automatic or identities in keychain.

但是现在我在代码签名中没有得到这个选项,所以我无法更改调试或发布配置文件,它只在钥匙串中显示自动或身份。

How an I change to the desired provisioning profile?

我如何更改为所需的配置文件?

Update:

更新:

I tried using the 000000B-0000-0000-0000-000000000000 UUID code at User Defined Provisioning Profile and it accepts and build and displays Provisioning profile at Code Signing. But it is not resolving Provisioning profile name at User Defined Profiles.

我尝试在用户定义的配置文件中使用 000000B-0000-0000-0000-000000000000 UUID 代码,它在代码签名中接受并构建和显示配置文件。但它没有在用户定义的配置文件中解析配置文件名称。

回答by alex

I was stuck with same issue and finally got it done here u can look for the following screen shots..

我遇到了同样的问题,终于在这里完成了,您可以查找以下屏幕截图。

go to Code signingin the build setting and change the Provisional ProfileNONEto the provisional profile you like to test

转到构建设置中的代码签名并将临时配置文件NONE更改为您要测试的临时配置文件

enter image description here

在此处输入图片说明

then change the Code signing identityto test your Application on device with the suitable bundle identifier look for the following screen shot

然后更改代码签名身份以使用合适的包标识符在设备上测试您的应用程序查找以下屏幕截图

enter image description here

在此处输入图片说明

If you find this Answer is correct then Vote up lets other also can solve their problem. Thanks

如果你发现这个答案是正确的,那么投票让其他人也可以解决他们的问题。谢谢

回答by pawurb

Make sure you have 'all' and not 'basic' display mode selected.

确保您选择了“全部”而不是“基本”显示模式。

回答by Carey Richardson

I filed a bug on this. You can manually do it but a pain in the rear. This to me is a huge bug. I hope they fix it soon.

我为此提交了一个错误。您可以手动执行此操作,但后部会很痛。这对我来说是一个巨大的错误。我希望他们尽快修复它。

回答by simalone

Login in Apple Devwebsite and go to the profile list view, then download the profile and double click to install, then you can see it in Code Signinglist.

登录Apple Dev网站,进入配置文件列表视图,下载配置文件并双击安装,即可在代码签名列表中看到。

回答by V.J

Check your bundle Id and make sure that you have installed your required profile.

检查您的包 ID 并确保您已安装所需的配置文件。

Then Click on Provisioning profile option and select a profile(see the option below code signing identity).

然后单击 Provisioning profile 选项并选择一个配置文件(请参阅下面的代码签名标识选项)。

Now you need to select certificate under code signing identity.

现在您需要在代码签名身份下选择证书。

回答by COCONUT INFO

To be sure:

为了确定:

Our team encountered an afternoon of frustration trying to open an app or update an app compiled with Xcode 5.1on iOS 7.1device with a tardy profile. Download and install a new profile (as necessary) then:

我们的团队在尝试打开一个应用程序或更新一个在iOS 7.1设备上使用Xcode 5.1编译的应用程序时遇到了一个下午的挫败感。下载并安装新的配置文件(根据需要),然后:

Make sure the BUNDLE IDENTIFIER in Xcode?s GENERALview for your project matches what the profile reads on your Dev web portal, and then THAT profile is installed in Xcode verbatim. Select that profile in your BUILD setting, and you could be solved by now (the App installed on devices without issue), but we also noticed we could to go back to GENERAL view and the FIX button actually worked: it fixed the "not found" profile

确保BUNDLE IDENTIFIER in Xcode?s GENERAL您的项目的视图与您的开发门户网站上的配置文件读取的内容相匹配,然后该配置文件会逐字安装在 Xcode 中。在您的 BUILD 设置中选择该配置文件,您现在可以解决(安装在设备上的应用程序没有问题),但我们也注意到我们可以返回到 GENERAL 视图并且 FIX 按钮实际上起作用了:它修复了“未找到” “ 轮廓

回答by saurabhgupta05085

Try by creating an archive. I attached an iphone and tried to create an archive which result in no provisioning profile error. But now the option in the target to select a provisioning profile was there from which I was able to choose the provisioning profile

尝试创建存档。我连接了一个 iphone 并尝试创建一个存档,这导致没有配置文件错误。但是现在目标中选择配置文件的选项在那里,我可以从中选择配置文件

回答by FugueWeb

Had this problem, just had to open Preferences and refreshed the screen under Accounts - View Details.

遇到这个问题,只需要打开首选项并刷新帐户-查看详细信息下的屏幕。

回答by subodh1989

The provisioning profile had no options for me. I had registered for the Apple Developers program recently. I followed these steps and then clean and build. It worked.

配置文件对我没有任何选择。我最近注册了 Apple Developers 计划。我按照这些步骤进行了清理和构建。有效。

Import User to XCODE

将用户导入 XCODE