OxyFlax
OxyFlax

Reputation: 491

Could not launch app (Verify the Developer App certificate)

I have an issue sometime when I run the app in my iPhone with Xcode. Message in Xcode

I tried to verify apps in Settings but it didn't work. "Unable to Verify "iPhone Developer: ..." Apps.

I am a Free developer but it normally runs and sometime during 1 hour I can't run anything on my iPhone.

I tried to delete the app and run, to download all profiles in Xcode Settings, same problem.

Do you have any idea to solve it ?

Thanks for your help.

Upvotes: 5

Views: 16830

Answers (7)

Deep Shah
Deep Shah

Reputation: 440

This happened to me today, tried restarting the device and XCode multiple times, nothing seemed to help.

It was my-bad actually, I had added a new external dependency using Carthage and had forgotten to include it in the Build Phases --> Run Script --> /usr/local/bin/carthage copy-frameworks section.

Upvotes: 0

leo
leo

Reputation: 113

resetting network settings fixed my issue: https://www.businessinsider.com/guides/tech/cellular-data-not-working

Upvotes: 0

Jayprakash Dubey
Jayprakash Dubey

Reputation: 36447

Error message

There are two solution for this:

A. Solution 1:

  1. Run app on device. You should be able to alert ’Trust This Computer’?
  2. Tap on Trust option
  3. Enter device passcode
  4. Open Settings app. Goto Device Management.

Screenshot-2

  1. Here you’ll be able to see list of profiles used for installing apps on device. Select profile is used to run app on device.
  2. Tap on Trust “Apple Development:…”
  3. Again you’ll be able to see confirmation pop up alert. Tap on Trust.
  4. Now you’ll see that App is verified for device.

Screenshot-3

B. Solution 2:

If your device is not connected to internet/wifi then Xcode shows “Verify the Developer App certificate for your account is trusted on your device…”. Connect your device to internet/wifi and try again.

Upvotes: 4

OxyFlax
OxyFlax

Reputation: 491

My wifi connection had proxy which blocked the verification in iPhone settings. Switch to 3G/4G was the solution for me.

Upvotes: 4

Meilbn
Meilbn

Reputation: 592

Maybe you used provisioning profile is distribute not development, in my case, it is.

When I saw this in Xcode, but there is nothing needs to verify in Settings > General > Profiles, then I just click app on my phone to run it, and system showing a alert view to let me trust it, after TRUST IT, app run well. And after this, you can run app using Xcode, but Xcode will show "process launch failed: timed out waiting for app to launch" prompt.

Upvotes: 1

Oliver Pearmain
Oliver Pearmain

Reputation: 20600

I had to actually tap the app icon on the iPhone device to launch the app and only then did the iPhone prompt me to Trust the certificate.

I had nothing appropriate listed in Settings > General > Profiles (Settings > General > Device Management on later versions of iOS).

Upvotes: 6

vapor
vapor

Reputation: 19

"A network connection is required to verify." You have to have a valid internet connection (whether 3G/4G data or wifi) or else it won't verify. When it doesn't work for me it's always due to my router being jacked up.

Upvotes: -2

Related Questions