S. Yacko
S. Yacko

Reputation: 692

Flutter not reading device Developer Mode Setting

I just upgrade to

Flutter 3.16.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b0366e0a3f (7 days ago) • 2023-12-05 19:46:39 -0800
Engine • revision 54a7145303
Tools • Dart 3.2.3 • DevTools 2.28.4

and I'm now unable to test on my iPhone connected via USB. I get the following message.

To use 'Scotts 14' for development, enable Developer Mode in Settings → Privacy & Security.

I have checked my phone and the Developer Mode is on. The only issue I have found talking about this is here: https://github.com/flutter/flutter/issues/111988 and I believe this is a Flutter fix back in Sept, 2022.

I'm running IOS 17.1.2 on my phone.

How do I resolve this issue?

Upvotes: 23

Views: 8770

Answers (4)

Carl Smith
Carl Smith

Reputation: 1360

After receiving an error saying that I needed to enable Developer Mode for my device, I opened Xcode and saw that it was copying shared cache symbols:

Copying shared cache symbols from (7% completed) Xcode will continue when the operation completes.

Once Xcode finished copying them, my app loaded normally.

Upvotes: 0

Anthony Joseph
Anthony Joseph

Reputation: 275

I had to un-pair and re-pair my device with Xcode by going to Product > Destination > Manage Run Destinations, find the problematic device and select Unpair device.

Upvotes: 2

Ayrix
Ayrix

Reputation: 501

I had the same issue and I was not able to find developer-mode on my iphone X (17.5 Developer Beta) under "Privacy & Security". In the Security section in the bottom, only "Lockdown Mode" was showing.

So I opened xCode and reconnected my iPhone with my Mac and then was I was able to see "Developer Mode" under "Privacy & Security"

Upvotes: 1

arttartkhai
arttartkhai

Reputation: 821

I found the similar issue, although I did enable developer mode.

Here's how I fixed it:

  1. Open Xcode while connecting your device, there should be popup asking you to Trust this computer.
  2. Try running your app again.

Upvotes: 72

Related Questions