Unable to install app in simulator xcode 9 beta

Akshay Sunderwani picture Akshay Sunderwani · Jul 1, 2017 · Viewed 11.5k times · Source

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.enter image description here

Any help provided will be appreciated. Thanks in advance.

P.S: Application used to work in Xcode 8.3.3

Answer

Jeremy Huddleston Sequoia picture Jeremy Huddleston Sequoia · Jul 2, 2017

Unfortunately, the error message doesn’t explain why the install failed. You can take a look at ~/Library/Logs/CoreSimulator/CoreSimulator.log to see if the rest of the error message is there with more info. If not, you should check out the sim device’s system log:

sudo xcode-select -s /Applications/Xcode-beta.app # if you haven’t already
xcrun simctl spawn booted log show

You can use --predicate to filter that down a bit.