Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
How to run cases on device from command line #13
I can run cases on device (ipad) from xcode GUI.
This is my execution using the example from your source code:
GHUNIT_CLI=1 xcodebuild -target Tests -configuration Debug -sdk iphoneos3.2 build
=== BUILD NATIVE TARGET Tests OF PROJECT MyTestable WITH CONFIGURATION Debug ===
PhaseScriptExecution "Run Script" build/MyTestable.build/Debug-iphoneos/Tests.build/Script-00C1A3190F52872F00FCCA14.sh
Libraries/libGHUnitIPhone3_0-0.4.18/RunTests.sh: line 23: /Users/charles/Unit Test/MyTestable-IPhone-device/build/Debug-iphoneos/Tests.app/Tests: Bad CPU type in executable
/Users/charles/Unit Test/MyTestable-IPhone-device/build/Debug-iphoneos/Tests.app: invalid format for signature
The following build commands failed:
referenced this issue
Sep 14, 2012
Can this be reopened?
But now tests don't seem to run at all.
I'm using cocoapods in my project, and Jenkins as a CI server. I'm running following command: