nmvictor
nmvictor

Reputation: 1129

Xcode 7.3 Can’t install App to iPhone

I just updated to Xcode 7.3 and my iPhone to 9.3. I changed the deployment target to 9.3 in General tab about the project in Xcode. However, on attempting to test the app on my iPhone, it fails with Unable to install "app”. The details are in attached image. This dialog shows up after the install to my iphone is completed.

I have delete all my dev profiles from member centre in the hope that this will go away after Xcode generates new one, but this dint work.

Apparently, the app installs and runs just fine when testing to a simulator. It only fails on a real device. Is there some change in the certs thats causeing this? How do i go around this? Just the other day I was able to test successfully with my iPhone from Xcode 7.2. Is it a bug with Xcode 7.3 or iOS 9.3 or both?

After reading the instruction in the comments, things look good.See image. How do i fix this?

Details about the account

Error after installing to my iPhone

Upvotes: 1

Views: 5268

Answers (2)

villy393
villy393

Reputation: 3063

I had this problem as well, and tried everything. Regenerating all my certificates. Clearing my certificates on the keychain. Regenerating my provisioning profiles and nothing worked.

I then simply did Product > Clean and then deleted derived data and it worked!

Xcode must be keeping some cache of the certificates id's or something.

Upvotes: 2

nmvictor
nmvictor

Reputation: 1129

This is how i fixed the problem. I opened KeyChain Access app, deleted all certificates related to this project and then navigated to member site and generated new Development certificates and profiles for the project.Now its working fine.

Upvotes: 2

Related Questions