The request was denied by service delegate (SBMain

2020-03-04 06:57发布

I'm getting error while trying to run my app*. Xcode says "The request to open "com.arm-tab.firebase-test" failed. The request was denied by service delegate (SBMainWorkspace) for reason: Unspecified." Restarting simulator doesn't fix this.

* i've created simple test project for testing Firebase, added podfile with Firebase/Auth, installed that pod, added [FIRApp configure] message in AppDelegate.m.

2条回答
【Aperson】
2楼-- · 2020-03-04 07:27

Check your scheme settings and make sure all empty settings are unchecked. I ran into this issue trying to disable the nw_ logging spam.

查看更多
家丑人穷心不美
3楼-- · 2020-03-04 07:27

I had 2 Xcode workspaces open. I closed one. Error stopped. App ran fine in simulator thereafter.

More details: Workspace A contained Swift Framework X I was creating. Workspace B contained App Z that used Swift Framework X. Workspaces were in separate folders. Workspace B pulled in Swift Framework X via Carthage and Git. No local file system link between workspaces.

查看更多
登录 后发表回答