Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode: Signing says "No accounts found", but Accounts says it exists

I am a Windows user trying to sign an iOS app - first for testing, later on I will have to sign for release into the app store. As always, I am stuck somewhere.

What I try: I open the *.xcodeproj file in Xcode, go to General -> Signing, and it tells me

No accounts found
Add a developer account to sign your app
[ Add account... ]

So I click on the button, and it opens the "Accounts" window, and opens the dialog

Sign in to Xcode with your Apple ID
Sign in to Xcode with your Apple ID. Don't have an Apple ID? You can create one for free.
Apple ID Password (forgot Password)
[______] [______]
[ Create Apple ID ] [ Cancel ] [ Sign In ]

In the window behind it, an Apple ID is already visible. My Apple ID.

But of course I can enter it again. Or not, ouch:

Account already exists.
This account has already been added
[ OK ]

Also, I cannot drag the account from the accounts window into the signing window, let alone use the context menu.

How can I get that already added account into "Signing"?

like image 951
Alexander Avatar asked Jan 23 '17 17:01

Alexander


People also ask

How do I add a Apple account to Xcode?

Once you have upgrade all you need to do is Open the xcode 5 IDE >> Preferences... >> Accounts tab >> On the left hand side you will see Apple IDs and a + at the bottom select the + >> Add Apple ID... >> enter your Apple ID and Password click Add . The account should know be added.

How do you access signing and capabilities in Xcode?

In the Project navigator of the main window, select the project — the root group with the same name as your app — and in the project editor that appears, select the appropriate target and then click the Signing & Capabilities tab.

Do you need an Apple developer account to use Xcode?

You can learn how to develop apps for Apple platforms for free without enrolling. With just an Apple ID, you can access Xcode, software downloads, documentation, sample code, forums, and Feedback Assistant, as well as test your apps on devices. If you don't already have an Apple ID, you can create one now.


2 Answers

If you are getting: "there are no accounts registered with xcode. add your developer account" then you you can go to you can go to Xcode -> preferences -> Accounts then add your account with the + sign.

like image 68
ScottyBlades Avatar answered Sep 30 '22 16:09

ScottyBlades


I had the same issue. These steps helped for me:

  • On https://developer.apple.com/account choose "Certificates, Identifiers & Profiles"
  • In Identifiers group on left side choose "App IDs"
  • Add App ID with bundle ID matching the one from project's Bundle Identifier

After that I also restarted Xcode. Now I can choose the team as it should be.

like image 20
BartBiczBoży Avatar answered Sep 30 '22 18:09

BartBiczBoży