升级到 4.1 iOS SDK 后,我的单元测试包总是返回以下两个错误和一个警告:
An internal error occurred when handling command output: -[XCBuildLogCommandInvocationSection setTestsPassedString:]: unrecognized selector sent to instance
An internal error occurred when handling command output: -[XCBuildLogCommandInvocationSectionRecorder endmarker:]: unrecognized selector sent to instance
Run unit tests for architecture 'i386' (GC OFF) did not finish
尽管它报告 X 中的所有 X 测试都通过了,但我还是收到了这些错误。我在旧版本的 XCode 中读到了一个类似的错误,该错误也在它发布后立即发生(关于时间正则表达式中的错误),可以通过将您的时区设置为太平洋时间来缓解,但我不能肯定地说这是对那里的回归。
还有其他人有这个问题吗?