Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Named pipe error when running ios-sim in parallel #182

Open
DarioAhdoot opened this issue Oct 20, 2015 · 4 comments
Open

Named pipe error when running ios-sim in parallel #182

DarioAhdoot opened this issue Oct 20, 2015 · 4 comments
Labels

Comments

@DarioAhdoot
Copy link

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:

Unable to create stderr named pipe `/var/folders/_8/3nv3hm8d1qx9byyxt8p2vm9w0000gn/T/ios-sim-stderr-pipe-1445298874'

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

@shazron
Copy link

shazron commented Oct 20, 2015

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.

@shazron shazron added this to the 5.0.4 milestone Oct 20, 2015
@DarioAhdoot
Copy link
Author

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]"

@shazron
Copy link

shazron commented Oct 20, 2015

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: #170)

@DarioAhdoot
Copy link
Author

Unfortunately, it is that one :/

@shazron shazron modified the milestones: 5.0.4, 5.0.5, 3.2.1 Jan 6, 2016
@shazron shazron added bug and removed follow-up labels Jan 6, 2016
@shazron shazron removed this from the 3.2.1 milestone Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants