The request was denied by service delegate (SBMainWorkspace) for reason: Unspecified.

With the latest XCode release I do reglarly get the following error message when I try to run/debug an App in the simulator:


The request to open "the.bundle.identifier" failed.

The request was denied by service delegate (SBMainWorkspace) for reason: Unspecified.


Just trying again will usually work, though sometimes I do get the error again, so I have to try to launch the App several times before it actually works. This is totally unpredictable. Often I can run the App in the simulator without any problem, but overall I do still get this error far too often to ignore it.


So what does this error mean? "unspecified" is not a very specific message. And how can I fix this?


This issue seems to be related to the simulator only. It never happens when debugging on a real device.

For me, the solution was in the same section that Aleti gave, except that I had no environment variable defined, the problem was that in the INFO part, the build configuration was at "REALEASE", I changed to put "DEBUG" and it worked.

I had the same problem after editing the Schema. I inadvertently added a blank environment variable.

Deleting the blank entry in the schema fixed my perplexing problem. A real head scratcher..

The request was denied by service delegate (SBMainWorkspace) for reason: Unspecified.
 
 
Q