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

十年热恋 提交于 2019-11-28 02:36:47

问题


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.



来源:https://stackoverflow.com/questions/37827635/xcode-8-beta-null-was-unable-to-service-the-request

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!