Open DarioAhdoot opened 8 years ago
What version are you running? As of version 4.x, ios-sim is a wrapper to the simctl tool provided by Xcode.
xcrun simctl
Thus we are limited to the parallel capabilities of that -- which I assume you just ran in to.
As you can see in the README, --stderr is not being used anymore and has been removed.
I am using 3.2.0. I tried upgrading to 4.x but was running into some of the other unresolved issues others were having. As for --stderr, I'm not calling that. Here is my command line:
/usr/local/bin/ios-sim launch $CODESIGNING_FOLDER_PATH --devicetypeid "com.apple.CoreSimulator.SimDeviceType.iPhone-6, 9.0" --args "[CompileTests]"
I'm afraid it's unlikely any more patches will come to the 3.x branch, sorry :( Unless it's easily fixable... (except for this one: https://github.com/phonegap/ios-sim/issues/170)
Unfortunately, it is that one :/
We use ios-sim as a host to run our unit test projects. Our Xcode workspaces will contain multiple unit test projects and we allow Xcode to run parallel builds to speed up build times. We get intermittent failures of this variety:
Without understanding the inner workings of ios-sim or the ios-simulator, I was wondering if anything can be done on the ios-sim side to address this short of us disabling parallel builds. I'm guessing it will be difficult since the simulator is probably a shared resource that can't have multiple instances running concurrently. Any feedback would be helpful and we'll resort to turning off parallel builds if that's what is required.
Thanks! Dario