简体   繁体   English

Xcode中没有“找到配置文件”

[英]“No provisioning profiles found” in Xcode

When I create an iOS project on my own, I can build it without any problem. 当我自己创建一个iOS项目时,我可以毫无问题地构建它。 I downloaded a project for testing purposes and now I get: 我下载了一个用于测试目的的项目,现在我得到:

No provisioning profiles found
No non-expired provisioning profiles were found

In this case I downloaded an Xcode project from one of Apples tutorial pages. 在这种情况下,我从Apples教程页面下载了一个Xcode项目。

Change your build setting for Code Signing Identity and Provisioning Profile first both in project and target... 首先在项目和目标中更改代码签名标识配置文件的构建设置...

Check image below ... 检查下面的图片......

在此输入图像描述

Change your Team from General tab... 常规标签更改您的团队...

Check image below ... 检查下面的图片......

在此输入图像描述

i hope this will help you... 我希望这能帮到您...

In some cases that error can be caused by "Generic iOS Device" being selected as active scheme. 在某些情况下,错误可能是由“通用iOS设备”被选为活动方案引起的。

活动方案选择的屏幕截图

Changing that to a specific device solved the problem for me. 将其更改为特定设备可以解决我的问题。

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

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