Xcode 5.1 shows that unit test framework I use is deprecated. After migrating to XCTest
from SenTestingKit
. I get this message in console:
Error spawning child process: No such file or directory
I tried to clean Cmd + K
but it does not help. Xcode restart does not help too.
Anyone encountered such problem?
I got that error too and I solved it by testing on another simulator. I replaced -destination "platform=iOS Simulator,name=iPhone"
with -destination "platform=iOS Simulator,name=iPhone Retina (4-inch)"
in my xcodebuild
arguments and it worked.
XCTest was not supported with iOS 6.x, only iOS7, so any converted test bundles can no longer be run against 6.x simulators. (It is trying to execute the "xctest" command inside the iPhoneSimulator6.X.sdk/Developer/usr/bin/ directory, and can't find it, because it's only in the 7.0 simulator SDKs -- therefore the "No such file or directory" error message, or "Did not find an executable file at the path" in Xcode 5.0).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With