gpt4 book ai didi

iphone - Xcode 3.2 中的 SenTestCase 和 XCBuildLogCommandInvocationSection 错误

转载 作者:太空狗 更新时间:2023-10-30 03:46:18 25 4
gpt4 key购买 nike

我有一组导致 XCode 3.2.4 出现问题的 SenTestCase。尝试编译时(使用非常基本的 STFail(@"");)会出现以下编译器错误:

An internal error occurred when handling command output: -
[XCBuildLogCommandInvocationSectionRecorder endMarker]:
unrecognized selector sent to instance

An internal error occurred when handling command output: -
[XCBuildLogCommandInvocationSection setTestsPassedString:]:
unrecognized selector sent to instance

我已经包含了来自“/Developer/Library/Frameworks”的 SenTestkingKit.framework,并且刚刚由目标通过“Targets > Add > New Target > Cocoa Touch > Unit Test Bundle”创建。有任何想法吗?谢谢!

最佳答案

这似乎是一种回归,报告代码的某些部分不考虑时区问题。输出在开始之前被标记为结束,因此变得非常困惑和窒息。

我在 Google 某处找到的一种解决方法是更改​​目标的运行脚本阶段。

改变

"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests" 

"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests" 1> /tmp/RunUnitTests.out 

它正在解决问题,而不是解决问题,但确实有效。

关于iphone - Xcode 3.2 中的 SenTestCase 和 XCBuildLogCommandInvocationSection 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3516745/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com