The application could not be verified in Xcode 8.3.3

My mac: Mac mini. 10.12.5

Xcode : 8.3.3

iPhone : 5S, 10.3.2(14F89) , MF383CH/A


I run the command + R, the installing is over for my iPhone, but the prompt "The application could not be verified." is shown when the project should run on my iPhone.


Then, I delete the app on my iPhone, and re-start my iPhone, then exit and re-start Xcode, clean it, then run project.

-> The same prompt is shown.


Then, I deleted all the certificates and then downloaded the certificate again.

-> The same prompt is shown.


Then, delete Xcode, re-install it

-> The same prompt is shown.


Now, I do not know what to do. Who can help me? Thank you in advance.


Note: I try to run on other computer, it works well.

It sounds like the iPhone hasn't been told to "trust" the Mac mini. You can try going to the "Device & Simulators" window, and see if there's a button there to enable debugging on the iPhone. If not, or that doesn't help, try this:


1. Run the app from Xcode, let it install, and let it fail to start up on the iPhone.


2. On the iPhone, tap the app's icon. This will attempt to run the app you just installed in step 1.


3. You should then get an alert asking if you want to trust "this computer". Tap yes.


4. Kill off the app (double tap on Home, swipe the app out of the list).


5. Run the app from Xcode.

Accepted Answer

Thank you for your help and your reply.


I am sure my iPhone is trust my Mac mini.


I solve the issue using following steps:

1. Regenerate all relevant certificates and make sure no relevant application on device

2. Xcode -> Window -> Devices -> Choose my iPhone -> Right click -> Show provisioning profiles -> Delete all relevant provisioning profiles and certificates

3. Re-start Xcode -> Run the app


-> OK, now, can install app to device.


Thanks again for your reply and help.

The application could not be verified in Xcode 8.3.3
 
 
Q