问题
When I try to use Xcode5 dp6 to run app on devices. I got an error of
No Provisioning Profiles with a valid Signing identity found issue
How can I resolve this issues.
回答1:
All you need to do is:
1. go to Certificates, Identifiers & Profiles in the Developer Center
2. create a new provisioning profile in "Provisioning Profiles" / "Distribution"
3. download the profile and open it
4. restart Xcode
And you can take a look at this post, and this and this.
回答2:
- Close Xcode
- Use keychain to delete your developer certificate and private key.
- Use Developer Center to revoke/delete your developer certificate.
- Use Developer Center to delete all the invalid development provisioning profiles.
- Run Xcode > Preferences > Accounts > (Double click your team) > Refresh.
- Xcode will prompt to submit a request to get a new developer certificate signed. (Choose yes).
- (Optional) Have you team leader approve the pending certificate in the Developer Center.
- Press refresh again to have Xcode download the new provisioning profiles.
You should now be able to select one of the Team Provisioning profiles to run in debug mode.
回答3:
- Goto Xcode Preference -> Account
- Select/Add developer account.
- Now click on View Details...
- Click on Refresh
- Restart Xcode
回答4:
I had exactly the same issue and I manage to sort it by deleting provisioning certificate from Keychain app and I download it again via Xcode (Xcode -> Preferences... -> Accounts). If it doesn't help try remove certificate and provisioning profile. After than make sure you set up everything right in Build Settings (Code signing). Hope this help
来源:https://stackoverflow.com/questions/20398176/no-provisioning-profiles-with-a-valid-signing-identity-in-xocde5