Skip to content

flutter run -d all fails to run on on one ios device when multiple are present #129954

@abdullah017

Description

@abdullah017

Is there an existing issue for this?

Steps to reproduce

I am using vscode. I have configured my Launch.json file and I want to run and compile my application on iphone and ipad at the same time. But my app only works on one device. To understand exactly where the problem originates, I opened the terminal and wrote the following code;

flutter run -d all

and I got this result;

Launching lib/main.dart on iPhone 14 Pro in debug mode...
Launching lib/main.dart on iPad Pro (12.9-inch) (6th generation) in debug mode...
Xcode build failed due to concurrent builds, will retry in 2 seconds.
Running Xcode build...
Xcode build done. 23.5s
Failed to build iOS app
Error output from Xcode build:
↳
     2023-07-04 16:12:15.280 xcodebuild[50449:479674] Requested but did not find extension point with identifier
     Xcode.IDEFoundation.IDEResultKitSerializationConverter
     xcodebuild: error: Existing file at -resultBundlePath
     "/var/folders/1b/l2zz21ks7qb9pksnc5pdk52w0000gn/T/flutter_tools.iVEWL6/flutter_ios_build_temp_dir7nxrzN/temporary_xcresult_bundle.xcresult"


Could not build the application for the simulator.
Error launching application on iPad Pro (12.9-inch) (6th generation).
  └─Compiling, linking and signing... 11.6s
Xcode build done. 39.6s

Actual results

the app had to run successfully on both devices at the same time.

this is my launch.json file

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "flutter_demo",
            "request": "launch",
            "type": "dart"
        },
        {
            "name": "flutter_demo (profile mode)",
            "request": "launch",
            "type": "dart",
            "flutterMode": "profile"
        },
        {
            "name": "flutter_demo (release mode)",
            "request": "launch",
            "type": "dart",
            "flutterMode": "release"
        },
        {
            "name": "iPadPro",
            "request": "launch",
            "type": "dart",
            "deviceId": "F482A1F0-D4FD-4D5E-8AD2-91D6C56A8C4A"
        },
        {
            "name": "iPhone14Pro",
            "request": "launch",
            "type": "dart",
            "deviceId": "3CD106D0-CC7F-4167-9616-C556AC664869"
        },
    ],
    "compounds": [
        {
            "name": "All Devices",
            "configurations": [
                "iPadPro",
                "iPhone14Pro",
            ],
        }
    ]
}

Logs

https://paste.ofcode.org/33CCMTw6vsQvkCKdAk4HvMY

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.10.5, on macOS 13.4.1 22F82 darwin-arm64, locale tr-TR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.79.2)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

Metadata

Metadata

Assignees

Labels

found in release: 3.10Found to occur in 3.10found in release: 3.12Found to occur in 3.12has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versiont: xcode"xcodebuild" on iOS and general Xcode project managementteam-iosOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions