tokorom / xctest-runner

The unit tests runner for xctest
MIT License
25 stars 2 forks source link

could not start running unit tests. #4

Open ishkawa opened 10 years ago

ishkawa commented 10 years ago

I tried execute xctest-runner, but it did not start running tests. A minimal project which reproduces this issues is here. I confirmed its tests can be executed by following command.

xcodebuild -scheme XCTestRunnerExample -sdk iphonesimulator test

Is this caused by my environment?

log:

$ xcodebuild -scheme XCTestRunnerExample -sdk iphonesimulator -configuration Debug 

Build settings from command line:
    SDKROOT = iphonesimulator7.1

=== BUILD TARGET XCTestRunnerExample OF PROJECT XCTestRunnerExample WITH CONFIGURATION Debug ===

Check dependencies

** BUILD SUCCEEDED **

$ arch -arch i386 -e DYLD_ROOT_PATH='/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/Developer/usr/bin/xctest -XCTest Self -NSTreatUnknownArgumentsAsOpen NO -ApplePersistenceIgnoreState YES /Users/jp11519/Library/Developer/Xcode/DerivedData/XCTestRunnerExample-gxymrqdnwkvhhrfdbocnxoniclrr/Build/Products/Debug-iphonesimulator/XCTestRunnerExample.app 

environment:

tokorom commented 10 years ago

Thank you for reporting.

I've resolved the problem unit tests does not run, but I am plagued by 'illegal hardware instruction' problem now. This problem has also been observed on projects that worked until now. I think after becoming 7.1 SDK.