iphone – Snow Leopard中的Xcode 3.2挂起运行单元测试

前端之家收集整理的这篇文章主要介绍了iphone – Snow Leopard中的Xcode 3.2挂起运行单元测试前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
所以我有一些单元测试通过 Xcode 3.1 / Leopard.它们在iPhone应用程序项目中使用SenTestingKit,并在单独的“测试”目标中构建/运行.我刚刚在Snow Leopard上升级到Xcode 3.2并且测试似乎运行(我在Console.app中获取日志并看到它们正在通过),但Xcode沙滩球并且必须在它们运行后强行退出. Console.app显示来自Xcode的以下错误,即使测试目标中没有包含测试用例,也会出现错误

Xcode[1734] -[XCBuildLogCommandInvocationSection setTestsPassedString:]:
                unrecognized selector sent to instance 0x20104db60

Xcode[1734] -runOperationInBackground raised an exception: 
                 -[XCBuildLogCommandInvocationSection setTestsPassedString:]:
                 unrecognized selector sent to instance 0x20104db60

我已经清理并重新构建无济于事,我似乎无法通过搜索找到关于此主题的任何内容(尽管看起来确实有one person有相同的问题).

更新:我已将此报告为Apple的错误,错误为#7214051.

解决方法

我还为此提交了一份错误报告,7210948.苹果公司仍然没有回应令人沮丧.

更新:

Apple Developer论坛上的用户发布了一个解决方法

We have recently discovered the root cause of this problem.

People who are affected can work around it by (I hope you’re ready for this)…

…changing the Time Zone on your Build machine away from Central Daylight Time. (In six >weeks you can change it back,and people in Mountain Standard TIme will be affected.)

No,serIoUsly. Give it a try.

Message was edited by : cde at 3:34 PM

猜你在找的Xcode相关文章