Skip to content

Error on deploying to iOS #131

@johan-overbye

Description

@johan-overbye

I downloaded cargo-mobile, created a new project using cargo mobile init, selected the wgpu template, then tried to run it without modifications, using cargo apple run.

I got this error:

[2026-02-25T13:29:59Z ERROR cargo_mobile::apple::ios_deploy] failed to parse `ios-deploy` event: missing field `modelArch`
    raw event text:
    {
      "Event" : "DeviceDetected",
      "Interface" : "USB",
      "Device" : {
        "BuildVersion" : "23D127",
        "DeviceClass" : "iPad",
        "ProductVersion" : "26.3",
        "ProductType" : "iPad17,3",
        "DeviceIdentifier" : "[removed]",
        "DeviceName" : "[removed]",
        "HardwareModel" : "J820AP"
      }
    }
error: Failed to prompt for iOS device
    No connected iOS devices detected

This was attempted from macOS 26.3, rustc 1.93.1, cargo 1.93.1 and iPadOS 26.3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions