“来自调试器的消息:无法附加"在OSX应用上运行测试时 [英] "Message from debugger: unable to attach" when running Tests on OSX app
问题描述
我无法在OSX应用程序上运行测试-项目构建良好,但是当我在Xcode 8.2中运行产品->测试时.它说 :来自调试器的消息:无法附加
I am unable to run my tests on my OSX app - the project builds fine but when I run Product -> Test in Xcode 8.2. It says :
Message from debugger: unable to attach
如何使我的测试重新开始?
How do I get my tests working again?
推荐答案
我最终需要"repot"我的Xcode项目使用这些步骤对其进行了整理.
I ended up needing to "repot" my Xcode project using these steps which sorted it out. https://medium.com/@mobilebloke/xcode-8-going-slow-on-swift-3-have-you-tried-repotting-your-project-88d0066d2445#.idcdv2dd3
我知道它不一定是修复,但经过尝试:
I know its not necessarily the fix but after trying:
-
添加删除证书
Adding removing certs
重新创建个人资料
删除并重新添加无效的目标...
Deleting and re-adding targets which didn't work...
这至少让我得以继续
这篇关于“来自调试器的消息:无法附加"在OSX应用上运行测试时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!