简体   繁体   English

iOS-设置配置文件问题。

[英]iOS- Provisioning profile issues.

OK, so I have tried everything possible but still having issues. 好,所以我尝试了所有可能的方法,但是仍然有问题。

I am testing on two devices. 我正在两个设备上进行测试。 An iPhone and an iPad. iPhone和iPad。 When I connect the iPhone to Xcode and hit run it builds on the iPhone without any problems but when I connect the iPad to Xcode and hit run it fails and gives me this 当我将iPhone连接到Xcode并运行时,它可以在iPhone上构建而没有任何问题,但是当我将iPad连接到Xcode并运行时,它失败了,并给了我

This product type must be built using a provisioning profile, however no provisioning profile matching both the identity 此产品类型必须使用配置文件来构建,但是没有两个配置文件都与身份匹配的配置文件

I used to be able to test very easily before I upgraded to Xcode5. 在升级到Xcode5之前,我曾经能够非常轻松地进行测试。

Now it works on one device but not the other. 现在,它可以在一台设备上运行,而不能在另一台设备上运行。 Can anyone please tell me how I can fix this? 谁能告诉我如何解决这个问题?

All my devices are upgraded to iOS 7.1 as well. 我所有的设备也都升级到了iOS 7.1。

In order to fix this problem, please follow these steps: 为了解决此问题,请按照下列步骤操作:

I. Go to Xcode Settings (Xcode -> Preferences), and select "Accounts." I.转到Xcode设置(Xcode->偏好设置),然后选择“帐户”。 Make sure you are signed in to your developer account. 确保您已登录开发人员帐户。

在此处输入图片说明

II. 二。 Click on the first tab under the run button, and then click on the name of the project (circled in red) 单击运行按钮下的第一个选项卡,然后单击项目名称(红色圆圈)

在此处输入图片说明

III. 三, Under "Identity" select the account that matches your build identifier, or click "Fix Issue" 在“身份”下,选择与您的构建标识符匹配的帐户,或单击“修复问题”

在此处输入图片说明

IV. IV。 If this does not fix your issue, go to "Build Settings" -> "Code Signing" 如果这不能解决您的问题,请转到“构建设置”->“代码签名”

在此处输入图片说明

V. Finally: If this does not fix your issue, go back to the Certificate Center in the iOS Developer Center (developer.apple.com) and reprovision the certificate, then repeat these steps. V.最终:如果这不能解决您的问题,请返回iOS开发者中心(developer.apple.com)中的证书中心并重新提供证书,然后重复这些步骤。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM