简体   繁体   中英

Xcode 8 build failed: Signing for “ProjectName” requires a development team

I recently downloaded a tutorial project from web and gonna follow the tutorial to try some features. When I build the project the follow message appeared:

Signing for "ProjectName" requires a development team.
Select a development team in the project editor.

For my real project I will select my development team but this one is only for testing and tutorial purpose. Do I need to select a team in order to run the app? If I choose a personal team, another error thrown out: Failed to create provisioning profile.

The app ID "xx.xx" cannot be registered to your development team. Change your bundle identifier to a unique string to try again.

No profiles for 'xx.xx' were found
Xcode couldn't find a provisioning profile matching 'xx.xx'.

Seems Xcode 7 can build the project without specifying a team.

Follow the following steps:

  1. Go on Project Main Source File

  2. Go in General Tab

  3. Under General Go into Signing where you have status in red warning
  4. Select Your Correct Team and Tick Automatically manage Signing

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