-
Notifications
You must be signed in to change notification settings - Fork 19
install! triggers: Mach error -308 - (ipc/mig) server died #7
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
Comments
Hey Vincent, we were not using the In the crash log I noticed that the path to your Xcode is |
We did have that issue in the past when we migrated from I submitted the radar this morning, I'll see if I hear back from Apple. This is causing us a lot of problems so I'm considering using one of our technical support incidents. In the meantime, this is the code we're using: begin
@device.install!(@app_path)
rescue StandardError => e
sleep(5)
@device.install!(@app_path)
end If you're not using the |
Sorry I couldn't help here! |
I just pushed some changes (7e33c03) to master that might help you: @device.launch
@device.wait(90) {|d| d.state == :booted && d.ready? }
@device.install(@app_path) The |
Sorry, I completely missed this question! We're using pxctest on our CI. |
I'm on vacation this week but I'll try the command when I'm back next Monday. I did see some tweets (from you I believe?) mentioning the technique Facebook uses in |
You're welcome - I hope it resolves your issues. Enjoy your vacation :)! |
@plu when should the I'm not running simctl, just emulating some of its behavior in my own build script EDIT: I wasn't running the launchctl in the simulator, just on my mac. oops |
@plu , so this commit waits until the following state is finished? |
We're seeing the same error mode now on upgrading from Xcode 8.2.x to 8.3.x. I'm presuming that this might be caused by the set of services that are being waited on for the simulator to be considered ready? In the CoreSimulator logs, we're getting errors with:
We're using the suggestion above with the:
Any ideas? |
Also, I noticed we're using |
Hi Johannes,
We're seeing a quite frequent problem when trying to install apps in the simulator and I'm wondering if you've ever encountered it:
We're running the following command to start the simulator and install the app:
Quite often, the
install!
step fails and we get the following output:I found this thread on the dev forums https://forums.developer.apple.com/message/70514#70514
That lead me to these crash reports: https://gist.github.com/garriguv/d6a35a39ec87e33254917948c130d357
Not super helpful but I've filed a radar.
I've had to add a pretty long
sleep
before trying to install the app. That reduces the occurrences but it obviously not optimal...The text was updated successfully, but these errors were encountered: