Verify Developer Certificate

Hi there :)

We are trying to install our application from Xcode to an iPhone 14 Pro. After building the app, we need to go to General -> VPN & Device Management to trust the certificate. Unfortunately, the certificate is not showing on the iPhone, and we can not install the app. Does anyone know how we can solve this problem?

Thank you very much in advance for your help!

Answered by rahelarnold in 774915022

The problem was solved by first cleaning the build folder (Product -> Clean build folder or Command + Shift + Option + K) and then deleteing derived data (~/Library/Developer/Xcode/DerivedData/ModuleCache).

After building the app, we need to go to General -> VPN & Device Management to trust the certificate.

What makes you think that’s necessary? During day-to-day development with Xcode all you need to do is:

  1. Ensure your device has Developer Mode enabled.

  2. Attach the device, select it as the run destination, and choose Product > Run.

Xcode’s automatic code signing takes care of the rest.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

The developer mode is enabled. Our error happens when we select Product > Run. Do you have any idea why the signing of Xcode does not work?

Accepted Answer

The problem was solved by first cleaning the build folder (Product -> Clean build folder or Command + Shift + Option + K) and then deleteing derived data (~/Library/Developer/Xcode/DerivedData/ModuleCache).

@eskimo

What makes you think that’s necessary?

Xcode produces this message. One could be forgiven to think that you have to go into Settings > VPN & Device Management and find that darn certificate.

Btw, at the same time the device itself shows an alert saying "Unable to verify app", and something about "An internet connection is required to blah blah...." - Of course the device has an internet connection.

So far, none of the suggested remedies have helped.

Xcode produces this message.

Yeah, that message is a red herring. It’s left over from a world where development provisioning profiles were actually installed on the device, but that’s no longer the common case. Rather, the system picks up the profile embedded within your app’s bundle.

Please do file a bug against Xcode requesting that we update it.

So far, none of the suggested remedies have helped.

If you create a new project from Xcode’s built-in iOS > App template, but it have the same problem?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I'm having the same problems with the same error messages. Has anyone found a solution?

same problem here. And as always a solution from Apple will come december 32th next year.

benlong100, radiolondra, Did either of your try the diagnostic test I suggested in the post above?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

This is going to sound crazy, but disable Do Not Disturb.... Once that's disabled, it worked for me.

Verify Developer Certificate
 
 
Q