I am not new to this but I am unable to fix my signing identity from Xcode Version 6.2 (6C86e). When I click fix issue on the following message:
https://i.stack.imgur.com/YV3mX.png
I get a pop up window saying:
"The selected team's agent, 'Name Surname' must agree to the latest ios Program License Agreement. Please visit the Member Center. https://developer.apple.com/membercenter"
I went on "https://developer.apple.com" and accepted the latest iOS Program agreement. This is what I can see on my legal agreements section:
https://i.stack.imgur.com/7VU31.png
However the message on Xcode keeps popping up.. I tried loggin in and out but it does not show me the legal agreement message anymore so I assume on their server side is accepted. I wonder if this is because iTunes connect is temporarily unavailable.
Any idea on how to fix this?
It's a propagation server issue. Wait approximately 10 minutes and it will be fixed.
For me to solve this problem I had to login to http://itunesconnect.apple.com. There was a yellow banner that kindof told me what to do. I had to go to Contracts, Tax, and Banking and setup the contracts there.
In my case the solution was:
Xcode: Preferences / Accounts / View Details...; Click refresh (bottom left); "Certificate Not Found" box pops-up with
"Your Mac Development Certificate for “your name” was not found on the Member Center. Xcode can submit a certificate signing request on your behalf. Would you like Xcode to do so now?
Click Request and tick all certificates in the next screen; 15 sec of waiting and the issue fixed.
In my case none of the answers worked - olegiv's answer came close but given that in Xcode7 Apple has removed the refresh button, that wasn't an option either.
Instead, downloading all provisioning profiles again worked: Xcode -> Preferences -> Accounts -> View Details -> Download All
Struggled with this for a while, hope that helps.
What worked for me (after accepting the agreement) was removing my apple ID from the account list in Xcode and adding it back in.
I fixed the issue by running Xcode->Preferences->Accounts then selecting the agent and clicking the Create button for each of the Signing Identities
Success story sharing