34

I'm trying to run some example projects from GitHub. After upgrading to Xcode 8, I see the same set of errors for multiple projects:

  • None of your accounts are a member of '...': An unexpected error occurred. Xcode cannot find a team matching '...'.
  • No profiles for '...' were found: Xcode couldn't find a provisioning profile matching '...'.
  • Code signing is required for product type 'Application' in SDK 'iOS 10.0'

enter image description here

I've tried the steps described here: https://stackoverflow.com/a/39498874/2901178, but it didn't work.

Community
  • 1
  • 1
Daniel Que
  • 1,734
  • 4
  • 20
  • 31
  • I've been having similar issues with my Apple Watch target. Try removing the derived data folder manually, then clean your project, and build again. Also, select your project, go to general, and select automatically manage code signing for all targets of your project. – Alex Blair Sep 28 '16 at 18:53

6 Answers6

64

If you found any Extensions under TARGETS. You have to choose the development team for that too. Hope this helps you.

enter image description here enter image description here

Maniganda saravanan
  • 2,188
  • 1
  • 19
  • 35
4

Make sure you have all Identities created. Go to Xcode Settings - Accounts - Account Details - Click "Create" for every identity you need. The rest will be solved with "Automatically manage signing".

This is what that screen should look like. Xcode account details

Yaroslav
  • 2,435
  • 1
  • 19
  • 36
  • Also, you would need to do this when Apple developer account password is changed. It would not be an issue immediately but if you attach a new device then it would try to connect Apple service and fail with the message above. – Aarpy Jan 27 '17 at 20:33
3

In addition to @Maniganda's answer. If you are using CocoaPods, be sure that you have checked each target for the Pods project.

screenshot

0

1.Open Xcode->Preferenceswill see preferences. 2.Click on Locations.will see Locations window 3.delete the derived data folder in the given path of archives below. 4.Force quit xcode and open again.

Gitu
  • 1
-1

You should uncheck this:

enter image description here

Don't let xcode manage if your project don't include in you account.

vien vu
  • 4,277
  • 2
  • 17
  • 30
-1

Maybe you could set ithere:

Xcode -> Preferences -> Accounts -> Apple IDs -> Add your account

enter image description here

kayess
  • 3,384
  • 9
  • 28
  • 45
  • This was not my issue but checking this lead me to a "Could not sign in. Retry?" dialogue which ended up being the issue. – Jacksonkr Jul 24 '17 at 20:54