简体   繁体   中英

“No provisioning profiles found” in Xcode

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:

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.

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.

活动方案选择的屏幕截图

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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