Xcode 8 signing errors, can't log in with account and no provisioning profile

IosXcodeXcode8Provisioning ProfileSigning

Ios Problem Overview


When I run my application, two errors appear in the Signing part of the General tab of the project. One says, "The operation couldn't be completed. Unable to log in with account ________" while the other says "No profiles for ________ were found." It mentions that Xcode couldn't find a provisioning profile. What does this mean, and how do I fix it?

Ios Solutions


Solution 1 - Ios

I can't take credit for this solution, it came from BrianBatchelder on the apple forum.

I had to go to "XCode" -> "Preferences" -> "Accounts", where it turned out my Apple ID had timed-out. After logging-in there, and then restarting Xcode, my profile was automatically "repaired", and all is now well.

Re-starting Xcode is important there, it doesn't work without it.

Solution 2 - Ios

I got around it by unchecking and rechecking:

Project Settings -> General -> Signing -> 'Automatically manage signing'

IF this not work then try second option:

I was having this same issue. Here is what I did that solved the problem for me.

  1. First I right clicked on each of the two profiles that would "grey-non-download" and moved to trash.

  2. Then I deleted the developer account within Xcode.

  3. I re-added the developer account, went back to details and download all.

It worked for me, hope this helps.

Solution 3 - Ios

Be sure that you have the right signing identity for : App : General and Build Settings AppTests : General and Build Settings

In my case for some reason the AppTests started to have the wrong settings out of nowhere.

Solution 4 - Ios

This error could happen when XCode is unable to connect to Apple's server. You can check Apple's system status here.

Solution 5 - Ios

In my case, my system date & time was 2 weeks off

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionbigreddawgView Question on Stackoverflow
Solution 1 - IosGeoff JohnsonView Answer on Stackoverflow
Solution 2 - IosHimanshu MoradiyaView Answer on Stackoverflow
Solution 3 - IostibbusView Answer on Stackoverflow
Solution 4 - IosHamid YusifliView Answer on Stackoverflow
Solution 5 - IosJAntonView Answer on Stackoverflow