Skip to content

[iOS] Unable to build Flutter app on real device (iOS 18.5) due to missing Developer Disk Image #170542

Open
@PMK1057

Description

@PMK1057

Steps to reproduce

Create a new Flutter project or use an existing one

Connect an iPhone running iOS 18.5 (build 22F76)

Run flutter run --release or flutter build ios

Observe the failure when trying to deploy to device

Expected results

Expected behavior:
Flutter should be able to launch or build the app on a real iPhone running the latest stable iOS (18.5) with the latest stable Xcode.

Actual results

Could not build the precompiled application for the device.
Uncategorized (Xcode): Timed out waiting for all destinations matching the provided destination specifier to become available

Available destinations for the "Runner" scheme:
{ platform:iOS, arch:arm64, id:00008020-00066C581AE9002E, name:iPhone, error:iPhone is not available because the Developer Disk Image is not mounted Development services need to be enabled. Ensure that the device is unlocked. }
I already tried:

Xcode 16.4 (latest stable)

Ensuring device is trusted and unlocked

Flutter clean & pub get

Manually searching for and installing the Developer Disk Image for iOS 18.5, but I couldn’t find any working download

Code sample

// This issue occurs even with a brand new Flutter app

// Steps to reproduce:
flutter create my_app
cd my_app
flutter run --release

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
Could not build the precompiled application for the device.
Uncategorized (Xcode): Timed out waiting for all destinations matching the provided destination specifier to become available

Available destinations for the "Runner" scheme:
    { platform:iOS, arch:arm64, id:00008020-00066C581AE9002E, name:iPhone, error:iPhone is not available because the Developer Disk Image is not mounted Development services need to be enabled. Ensure that the device is unlocked. }```

</details>


### Flutter Doctor output

invitado@MacBook-Pro-de-Invitado mon_projet % flutter doctor -v

[✓] Flutter (Channel master, 3.33.0-1.0.pre.417, on macOS 15.4.1 24E263 darwin-arm64, locale en-US) [6.5s]
    • Flutter version 3.33.0-1.0.pre.417 on channel master at /Users/invitado/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e9e989bef3 (5 days ago), 2025-06-07 07:45:31 -0400
    • Engine revision e9e989bef3
    • Dart version 3.9.0 (build 3.9.0-211.0.dev)
    • DevTools version 2.48.0-dev.0

[!] Android toolchain - develop for Android devices (Android SDK version 35.0.1) [9.1s]
    • Android SDK at /Users/invitado/Library/Android/sdk
    • Emulator version 35.4.9.0 (build_id 13025442) (CL:N/A)
    ✗ cmdline-tools component is missing.
      Try installing or updating Android Studio.
      Alternatively, download the tools from https://developer.android.com/studio#command-line-tools-only and make sure to set the ANDROID_HOME environment variable.
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/to/macos-android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 16.4) [1,188ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16F6
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web [8ms]
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.3) [8ms]
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.6+-13355223-b631.42)

[✓] VS Code (version 1.98.2) [7ms]
    • VS Code at /Users/invitado/Desktop/Visual Studio Code 2.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available) [9.0s]
    • macOS (desktop) • macos  • darwin-arm64   • macOS 15.4.1 24E263 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 137.0.7151.70
    ! Error: Browsing on the local area network for iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

[✓] Network resources [554ms]
    • All expected network resources are available.

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in triagePresently being triaged by the triage teamwaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions