ios Xcode 中的“未找到配置文件”

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

"No provisioning profiles found" in Xcode

iosxcodexcode7.3

提问by nepa

When I create an iOS project on my own, I can build it without any problem. I downloaded a project for testing purposes and now I get:

当我自己创建一个 iOS 项目时,我可以毫无问题地构建它。我下载了一个用于测试目的的项目,现在我得到:

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 项目。

采纳答案by nepa

In some cases that error can be caused by "Generic iOS Device" being selected as active scheme.

在某些情况下,错误可能是由“通用 iOS 设备”被选为活动方案引起的。

Screenshot of active scheme selection

活动方案选择的屏幕截图

Changing that to a specific device solved the problem for me.

将其更改为特定设备为我解决了问题。

回答by DJ1

Change your build setting for Code Signing Identityand Provisioning Profilefirst both in project and target...

首先在项目和目标中更改代码签名身份配置文件的构建设置...

Check image below ...

检查下面的图像...

enter image description here

在此处输入图片说明

Change your Team from Generaltab...

常规选项卡更改您的团队...

Check image below ...

检查下面的图像...

enter image description here

在此处输入图片说明

i hope this will help you...

我希望这能帮到您...