xcode “进程启动失败:无法获取进程2282的任务”如何解决?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/32881138/
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
"process launch failed: failed to get the task for process 2282" How to solve this?
提问by Tejas Patel
回答by Imran
I am assuming you are running on device. Using a different provisioning profile solved this issue key point is to use a Developer profile rather than a Distribution profile.
我假设您正在设备上运行。使用不同的配置文件解决了这个问题的关键点是使用开发人员配置文件而不是分发配置文件。
回答by Skulas
In my case this dialog came along in an Objective-C project using Swift pods.
We debug directly the Release configuration.
If this is the case what fixed my problem was to turn off optimizations of 'Swift Compiler - Code Generation' for Release:
在我的例子中,这个对话框出现在一个使用 Swift pods 的 Objective-C 项目中。我们直接调试Release配置。如果是这种情况,解决我的问题是关闭“Swift Compiler - Code Generation”的优化以进行发布: