Continuous Devicectl Errors: CoreDeviceError 3002, 12010, and 1000 with iOS 18.1/iPadOS18.0

Hello,

I’ve been experiencing repeated errors when trying to install my app via flutter run --release on iOS devices using Xcode 16.1 (build 16B5014f) on macOS 15.1. When running the app in debug mode, it sometimes works but takes a long time to install. However, the installation in release mode fails consistently.

This issue occurs on both my iPhone and iPad, both running iOS 18.1 and iPadOS 18, respectively. The errors keep rotating between three variations:

Error 1: CoreDeviceError 3002

Error executing devicectl: ProcessException: Process exited abnormally with exit code 1:
ERROR: Failed to install the app on the device. (com.apple.dt.CoreDeviceError error 3002 (0xBBA))
       Connection with the remote side was unexpectedly closed : 
       "XPCErrorDescription" => "Connection interrupted"

Error 2: CoreDeviceError 12010

Error executing devicectl: ProcessException: Process exited abnormally with exit code 1:
ERROR: The developer disk image could not be unmounted on this device. (com.apple.dt.CoreDeviceError error 12010 (0x2EEA))
       Could not read from the device. (com.apple.dt.CoreDeviceError error -402653180 (0xE8000004))

Error 3: CoreDeviceError 1000

Error executing devicectl: ProcessException: Process exited abnormally with exit code 1:
ERROR: The specified device was not found. (com.apple.dt.CoreDeviceError error 1000 (0x3E8))

What I've Tried So Far:

  • Reinstalled Xcode, cleaned the build folder, and cleared DerivedData.
  • Tried using both an iPhone and an iPad running iOS 18.1 and iPadOS 18.0.
  • Ensured that Developer Mode is enabled on both devices.
  • Disabled VPNs (Bitdefender) and firewall settings.
  • Manually mounted the developer disk image via Xcode.
  • Restarted the Mac, Xcode, and devices multiple times.

Despite these steps, the errors persist, and I’m unable to install the app on either device. I would appreciate any guidance or suggestions on how to resolve this issue.


System Information:

  • macOS Version: 15.1 (Build 24B5055e)
  • Xcode Version: 16.1 (Build 16B5014f)
  • Devices: iPhone 14 running iOS 18.1, iPad running iPadOS 18.0

Thank you in advance!

Continuous Devicectl Errors: CoreDeviceError 3002, 12010, and 1000 with iOS 18.1/iPadOS18.0
 
 
Q