【发布时间】:2013-09-27 23:35:32
【问题描述】:
我所做的只是将项目更新到 Xcode 5。现在当我尝试运行测试时,我收到了这个错误
if [ "${TEST_AFTER_BUILD}" = "YES" ]; then
Error ${LINENO} "RunUnitTests is obsolete. To run unit tests for your target, use the Test scheme action in the Xcode IDE and the test action in xcodebuild."
Note ${LINENO} "You can remove the Run Script build phase that invokes RunUnitTests from your unit test bundle target."
# Exit with EX_UNAVAILABLE to indicate that this subsystem is unavailable.
exit 69
fi
Error ${LINENO} "RunUnitTests is obsolete. To run unit tests for your target, use the Test scheme action in the Xcode IDE and the test action in xcodebuild." 以红色突出显示。我用谷歌搜索了这个问题,但找不到任何答案。可能是什么问题,我该如何解决?
【问题讨论】:
标签: xcode unit-testing xcode5