XCode : error:Device is busy (Waiting to reconnect to iPhone)

Project Settings

Hi everyone,

I’m having an issue running my FlutterFlow project on an iPhone 14 Pro (iOS 18) using Xcode on my MacBook. It gets stuck on this

Running Xcode build...
Xcode build done.                                           63.9s
Failed to build iOS app
Error output from Xcode build:
↳
    xcodebuild: error: Timed out waiting for all destinations matching the provided destination specifier to become available


    	Ineligible destinations for the "Runner" scheme:
    		{ platform:iOS, arch:arm64, id:00008101-000020D03C08003E name:iPhone, error:Device is busy (Waiting to reconnect to iPhone14) }



Oddly, the same project works fine on an older iPhone running iOS 15.

I suspect an underlying Flutter/XCode issue, I’ve tried solutions from these GitHub threads:

1. https://github.com/flutter/flutter/issues/147777
2. https://github.com/flutter/flutter/issues/66862

No luck so far. Has anyone else experienced this? Any tips on resolving it?

Thanks!

What have you tried so far?

• Verify Flutter version
• Upgrade and Xcode to the latest stable versions.
• Restart the device and macOS system.
• Clean the build folder in Xcode (Cmd + Shift + K).
• Run the app directly from Xcode to check for issues. (That's even worst for me here, I get cocoapods issues)
• Run flutter clean and rebuild the project. (Even directly through the terminal, not through FF interface)
• Unplug and reconnect the physical device. Tried also a different cable
• Turn off or unpair connected Apple Watch.



Haven't tried :
• Clear derived data from Xcode preferences.
• Reconfigure app signing in Xcode with your Apple ID.
• Use release or profile mode for running the app on Xcode.
• Delete and regenerate Podfiles with flutter pub get.
• Ensure paired devices are marked as available for development in Xcode.
• Reinstall Xcode and command-line tools if necessary.

Did you check FlutterFlow's Documentation for this topic?
No
1