Xcode apple developer certificate expiration: (0xE

2019-03-09 22:23发布

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?

7条回答
我欲成王,谁敢阻挡
2楼-- · 2019-03-09 22:55

Delete all expired certificates from Keychain rest xcode will handle.

查看更多
The star\"
3楼-- · 2019-03-09 23:05

You need to :

  1. Connect to Apple Developer Member Center
  2. Click on 'Certificates, Identifiers & Profiles'
  3. iOS Apps must not have an expiration date notification or else renew it, and come back here
  4. Click on 'Provisioning profiles'
  5. If no one has 'active' status, that is the problem
  6. Add one for 'iOS App Development'
  7. Choose the right 'App ID' : your BundleID, or wildcard
  8. 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
  9. Choose one certificate
  10. Then you see all the devices you declared in 'Devices', select those on which you want to run your app
  11. Give a profile name and generate it
  12. You will download a file named : [profile name].mobileprovision
  13. Double-click to install it
  14. At this step, my problem was solved. Build and run on my phone is ok.
查看更多
ゆ 、 Hurt°
4楼-- · 2019-03-09 23:06

Restarting XCode made XCode solve the problem for me showing this prompt:

enter image description here

Just pressed "Fix Issue" and it worked.

查看更多
放荡不羁爱自由
5楼-- · 2019-03-09 23:07

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.

查看更多
冷血范
6楼-- · 2019-03-09 23:09

Hi All Just delete the developer certificate and install it again.delete the account fomr xcode preferences and add it again. Works for me

查看更多
爷、活的狠高调
7楼-- · 2019-03-09 23:20

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... :-)

查看更多
登录 后发表回答