Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

ios - Xcode error: Signing for ... requires a development team

I am trying to test my app on my iPhone 8. Since I do not have an Apple Developer Account, I have followed this tutorial: https://ionicframework.com/blog/deploying-to-a-device-without-an-apple-developer-account/

Although the above tutorial is for XCode 8 (I have XCode 11), it worked until the second-to-last step. I had already added my Apple ID and created my certificate (e.g. NT Larry (Personal Team) with Role of User). I went to Signing and Capabilities >> Signing >> Team (dropdown) and in the dropdown menu I chose my certificate (NT Larry (Personal Team)). Then, I clicked Run. The following error appeared:

Signing for "ntlarry_project StickerPackExtension" requires a development team. Select a development team in the Signing & Capabilities editor

However, as detailed above, I have already taken the action requested (adding the development team, in this case my Personal Team) in the above error. What should I do to resolve this error?

The answers in other questions like this one ( Xcode error: Code signing is required for product type 'Application' in SDK 'iOS 10.0') and this one (Requires a development team. Select a development team in the project editor) have not helped me since I took the same approach as they did. Is it because the new versions of XCode require a Apple Developer Membership in order to do this kind of testing?

More details:

I am making this app for iPhone 8, with iOS 13.1. I am using XCode 11.

If you would like more information, please ask! This is not in my field and I might have missed something.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

select a Team here

Target - Signing&Capabilities - Team select a team and then Xcode will help do next things


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...