Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 6.3.2 - App installation failed

Tags:

xcode

ios

swift

Since yesterday, I try to compile my application on my iPhone, but I have this error message:

App installation failed

An unknown error has occurred.

enter image description here

That worked until now. I checked the certificates, it seems to be good.

Have you already met this problem?

Thanks

PS : That works on simulators but not on external devices (iPhone / iPad).

Edit : It's now fix, thanks.

Go to Xcode Preferences -> Click on Accounts -> Select my AppleID -> Click on View Details -> Click on refresh icon.

And force clean my project.

It works well!

like image 282
Paul Jarysta Avatar asked Jun 12 '15 07:06

Paul Jarysta


2 Answers

this happens with me also sometimes. all certificates are fine. provisioning profiles are ok. but still error occurs. try this trick:

Product>Clean>force quit Xcode>reopen Xcode>clean>select device>run

if stil dont work check your code signing, your provisioning profile must contain same code signing that you have in your keychain. if still doesnt work. then delete your provisioning profile and create new one,with same code signing identities.

like image 193
Nitin Avatar answered Oct 12 '22 03:10

Nitin


Goto product -> clean

quit xcode

then open again

again product -> clean

then run the app

it will work

thanks

like image 20
saran Avatar answered Oct 12 '22 03:10

saran