SenTestCase in Xcode 3.2 and XCBuildLogCommandInvocationSection Errors

前端 未结 4 1864
醉酒成梦
醉酒成梦 2020-12-08 08:35

I have a set of SenTestCase that are causing issues in XCode 3.2.4. When attempting to compile (with a very basic STFail(@"");) the following compiler errors occur

4条回答
  •  执笔经年
    2020-12-08 09:26

    It seems to be a regression with some part of the reporting code not respecting timezone issues. The output is tagged as ending before it began, so gets very confused and chokes.

    One work-around, that I found somewhere on Google, is to change the Run Script stage of the target.

    Change

    "${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests" 
    

    to

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

    It’s working round the issue, rather than solving it, but does work.

提交回复
热议问题