Xcode 4.5 command line unit testing

后端 未结 4 696
长发绾君心
长发绾君心 2020-12-07 10:51

Having an issue since updating to Xcode 4.5 when running my unit tests via command line. The following is the output i\'m seeing when i try to run my tests

U         


        
4条回答
  •  春和景丽
    2020-12-07 11:10

    xcodebuild -project ${PROJECT_PATH}/${PROJECT_NAME}.xcodeproj \ -scheme ${TEST_SCHEME} \ -configuration Debug \ -sdk iphonesimulator5.1 \ clean build \ TEST_AFTER_BUILD=YES

    Setting the iphonesimulator to version 5.1 seems to solve the problem. There are radar bugs filled upon this issue.

    This article also mention a good solution to follow:

    http://baolei.tumblr.com/post/32428168156/ios-unit-test-from-command-line-ios6-xcode4-5

提交回复
热议问题