17

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.

enter image description here

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

Paul R
  • 208,748
  • 37
  • 389
  • 560
RubberDucky4444
  • 2,330
  • 5
  • 38
  • 70
  • 2
    Join [the discussion](https://forums.developer.apple.com/message/143094#143094) on the Apple Developer Forums. – Droppy Jun 15 '16 at 06:45
  • None of these were working for me... So I decided to change the simulator from iPhone 7 to iPhone 6... It worked! – Junior Silva Dec 08 '16 at 23:36

3 Answers3

20

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

Restarting the simulator worked for me.

Carmen
  • 6,177
  • 1
  • 35
  • 40
Felipe Andrade
  • 509
  • 6
  • 23
18

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

RubberDucky4444
  • 2,330
  • 5
  • 38
  • 70
4

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.

Yash Tamakuwala
  • 1,789
  • 1
  • 24
  • 33