Skip to content

install! triggers: Mach error -308 - (ipc/mig) server died #7

@garriguv

Description

@garriguv

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:

# launch the simulator
@device.launch!
@device.wait! {|d| d.state == :booted}

# install the app
@device.install!(@app_path)

Quite often, the install! step fails and we get the following output:

An error was encountered processing the command (domain=NSMachErrorDomain, code=-308):
The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died)
(StandardError)

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions