Unable to install app in simulator Xcode 9 beta

Viewed 12281

I downloaded Xcode 9 beta recently, and when I tried to run my app in the simulator it is not getting installed. I am getting this error in my Xcode every time I try to run the app.

This app was unable to be installed.

enter image description here

The application used to work in Xcode 8.3.3

12 Answers

Late answer but might be that can be useful for others. I just get a project with existing watch-kit and custom keyboard code. After change the identifier i got the same error and i spend 1 day to find out why that happens.

I checked everything of bundle id and all version. then i do global search in xcode with old identifier and i found that following.

enter image description here

Here in both .plist file have old WKCompanionAppBundleIdentifier so after i update it with new manually application run again.

IMPORTANT NOTE:

IF YOU ARE JUST CHANGE IDENTIFIER FROM GENERAL TAB THAT DOES NOT MEAN IT UPDATE AT ALL. KINDLY CHECK WITH ALL POSSIBLE PLACES BY SEARCH AND REPLACE IT WITH NEW IDENTIFIER.

XCODE VERSIO: Version 9.0 (9A235)

I ran into this same issue and a quick click on Product > Clean did the trick for me!

I had a similar issue when installing my App on the IOS simulator (with Xcode 9).

I found the issue (at least for my case), it was due to an unauthorized key (Privacy - Location When In Use Usage Description) in the info.plist of the Watch App.

I have moved this key to the info.plist of the WatchKit Extension and now the App installs again.

I hope it will help others people having the same issue.

I had the same issue on XCode 9.3.1 when I wanted to add google map framework to my project manually.

To fix the problem I remove the google frameworks from Embedded binaries...

enter image description here

Related