Just for the record: I had a stranger response from Xcode when I tried to run my app on my device.
Please verify that your device's clock is properly set, and that your signing certificate is not expired. (0xE8008018).
My certificate expires today at midnight AND my several provisioning profiles need a serious cleaning.
What is the administrative process to get it all renewed to get a build AND run working?
You need to :
- Connect to Apple Developer Member Center
- Click on 'Certificates, Identifiers & Profiles'
- iOS Apps must not have an expiration date notification or else renew it, and come back here
- Click on 'Provisioning profiles'
- If no one has 'active' status, that is the problem
- Add one for 'iOS App Development'
- Choose the right 'App ID' : your BundleID, or wildcard
- The next screen should show you valid certificates. If not, go create one (click on 'Certificates' item on the left menu) and come back here
- Choose one certificate
- Then you see all the devices you declared in 'Devices', select those on which you want to run your app
- Give a profile name and generate it
- You will download a file named : [profile name].mobileprovision
- Double-click to install it
- At this step, my problem was solved. Build and run on my phone is ok.
I had the same exact thing only... all my profiles, certificates and everything were up-to-date in the Dev portal. What fixed it for me was under the General tab of my app's target, changing the 'Team' dropdown to none... and then back to my company. Forced Xcode to re-request whatever it thought it needed from the Dev Portal.
Back in business... :-)
Or go to your Utilities/Keychain and delete all the certs there. Run from Xcode and it will sort it all out for you.
If you work in a group and suffer this problem, but your colleagues do not, you may ask somebody to export the developer profile as described in https://developer.apple.com/library/ios/recipes/xcode_help-accounts_preferences/articles/export_signing_assets.html
Then import the .developerprofile file.
Worked like a charm for me.
Hi All Just delete the developer certificate and install it again.delete the account fomr xcode preferences and add it again. Works for me
Delete all expired certificates from Keychain rest xcode will handle.
来源:https://stackoverflow.com/questions/29372166/xcode-apple-developer-certificate-expiration-0xe8008018