Always 'Ad Hoc Code Signed' for Embedded Binary Signing Certificate

It's the Apple Worldwide Developer Relations Certification Authority issues. Here How to solve error step by step

  • Open Keychain Access
  • Select your certificate
  • Right click on certificate and click Get Info
  • Where you find option trust - When Using Certificate - Select Use System Defaults

I had the same issue while working with shared extensions. Even after editing the AWDRC certificate I kept on getting the same error on Xcode 7. However once I upgraded to Xcode 7.2 the problem was solved.


Believe it or not!!!!!!!!!!!!

It's the Apple Worldwide Developer Relations Certification Authority, if I choose always trust, Xcode archives failed. When I changed to system defaults, Xcode archives successfully.

Bloody h...


I had this problem when building for iOS Simulator (for device everything was OK). This has helped me, while none of SO answers did:

The problem had nothing to do with the signing. The answer for me was to paste $(ARCHS_STANDARD) into the project valid architecture field. Incredible!

(c) https://forums.developer.apple.com/thread/107563