0

When I am trying to install my Cordova 6.1 App to the IPAD I get the following error:

Unable to install AppName

The certificate used to sign "AppName" has either expired or has been revoked. An updated certificate is required to sign and install the application.

I am using XCode 8 with Automatic manage signing option selected, below are the screenshots:

enter image description here

enter image description here

Though the certificate is valid, I continue to get the error. What else I have to do in order to make that work?

Prerak Tiwari
  • 3,436
  • 4
  • 34
  • 64
  • It is possible that you have multiple certificates or profiles installed that might be expired. Try to remove all the provisioning profiles and certificates and add only the one you want to use. Restart Xcode and see if that helps. – TyLy Feb 23 '17 at 22:43
  • I have already tried this. Did not seems to be working out for me. – Prerak Tiwari Feb 23 '17 at 22:46
  • Rather than let XCode Automatically select the profile, can you select it for you? What XCode version are you using? – TyLy Feb 23 '17 at 22:51
  • I am using XCode 8.1 – Prerak Tiwari Feb 23 '17 at 23:00
  • In my xCode, I do not have the "Automatically manage signing" selected. Can you try if that helps? – TyLy Feb 23 '17 at 23:24
  • When I am doing that its saying provisioning profile doesn't include signing certificate. – Prerak Tiwari Feb 23 '17 at 23:33
  • try the suggestions in this thread http://stackoverflow.com/questions/39565906/code-signing-issue-in-xcode-version-8 – TyLy Feb 24 '17 at 00:13
  • sort of a shot in the dark, but have you trusted your developer team on the ipad? "Tap Settings > General > Profiles or Profiles & Device Management. You then see a a profile for the developer under the "Enterprise App" heading. Tap the profile to establish trust for this developer. You're then prompted to confirm your choice." – Dan Feb 24 '17 at 01:42

1 Answers1

1

After spending the whole day, I finally found the problem. In the Build Phases section, Under Embedded Frameworks, One of the framework was not selected to sign the code on copy. I checked the box and then tried re-installing it, it works perfectly fine.

enter image description here

Prerak Tiwari
  • 3,436
  • 4
  • 34
  • 64