xcode 请求被服务委托 (SBMainWorkspace) 拒绝,原因是:未指定

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/39962983/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 09:26:14  来源:igfitidea点击:

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

iosiphonexcodemacoscordova

提问by si458

im using the latest Cordova, XCode and Mac OSX Sierra

我使用的是最新的 Cordova、XCode 和 Mac OSX Sierra

i am unable to build the sample project on any old devices in the simulator (iPhone 5 or less)

我无法在模拟器中的任何旧设备上构建示例项目(iPhone 5 或更少)

the error im getting isnt very helpful because the console.log file DOESNT EXIST!

我得到的错误不是很有帮助,因为 console.log 文件不存在!

any ideas at all?

有什么想法吗?

An error was encountered processing the command

处理命令时遇到错误

(domain=FBSOpenApplicationServiceErrorDomain, code=1): The request to open "com.hestor.nasmob" failed. The request was denied by service delegate (SBMainWorkspace) for reason: Unspecified.

logPath: /Developer/Cordova/NASMob/platforms/ios/cordova/console.log

(domain=FBSOpenApplicationServiceErrorDomain, code=1):打开“com.hestor.nasmob”的请求失败。请求被服务委托 (SBMainWorkspace) 拒绝,原因是:未指定。

日志路径:/Developer/Cordova/NASMob/platforms/ios/cordova/console.log

Simon

西蒙

回答by Ekra

Check your scheme settings and make sure all empty settings are unchecked. After doing this restart Xcode and simulator.

检查您的方案设置并确保未选中所有空设置。执行此操作后重新启动 Xcode 和模拟器。

If it doesn't work try to restart the system.

如果它不起作用,请尝试重新启动系统。

回答by SenioreT

Old post, same situation here. After nothing of scheme settings, reinstall, reboot etc helped, the only thing helped for me:

旧帖子,这里的情况相同。在没有任何方案设置、重新安装、重启等帮助之后,唯一对我有帮助的事情:

Create a simulator for iPhone5s and iOS 9.3 (instead of iOS 10.3). Then advice project to use iOS 9.3.

为 iPhone5s 和 iOS 9.3(而不是 iOS 10.3)创建一个模拟器。然后建议项目使用iOS 9.3。

Hope this helps some people.

希望这可以帮助一些人。

回答by Ekambaram E

Quitthe simulator, and re-run it again.

退出模拟器,并重新运行。

It works fine.

它工作正常。