Xcode 8 Beta (null) was unable to service the requ

2020-02-12 01:27发布

问题:

I have an app that worked fine in the released version of Xcode. I downloaded the beta and after I fixed all the little changes I ran it and it worked. I just came back and ran it again and I get an error saying

The request to open "com.matthewhsingleton.Smoke" failed . (null) was unable to service the request.

I have quit Xcode and reopened it, I have restarted my computer, tried different iPhone simulators and all produce the same resulte

回答1:

My error was similar, instead of "(null)", the message was: "SpringBoard was unable to service the request"

Restarting the simulator worked for me.



回答2:

After reading @Droppy suggestion I read the thread and it is a common issue. To solve it is as follows

Problem solved for by an Apple Engineer in the lab. It's an issue they're working on. The bottom line was that when I copied Xcode to Applications folder, there was a bit set on it and that was preventing it from communicating with the simulator.

To fix it: Copy-paste Xcode-beta.app from Applications folder to somewhere else, e.g. Documents folder. Delete Xcode-beta.app from Applications folder. Move Xcode-beta.app from Documents to Applications folder again.

Seen here https://forums.developer.apple.com/message/143094#143094



回答3:

I had 2 versions of Xcode installed. Xcode 7 and 8. I resolved this issue by setting the command line tools to Xcode 8 in preferences. Open preferences -> Locations -> Command Line tools. Set that to Xcode 8.