14

initiated 'flutter run' in VS code and getting the following error:

2020-05-02 16:23:57.827 xcodebuild[97219:3069326] DTDeviceKit: deviceType from 00008030-000D35311160802E was NULL

Any suggestions on what this means?

KirtM9
  • 231
  • 4
  • 19

2 Answers2

8

This worked for me:

rm -rf ~/Library/Developer/Xcode/DerivedData/
rm -rf ~/Library/Caches/CocoaPods/
pod deintegrate
pod update
flutter clean
Anton Starcev
  • 1,138
  • 12
  • 9
1

I ran into the same problem and what resolved it for me, was the following:

  • Open YourProjectFolder/ios/Runner.xcworkspace
  • Build the Runner project
  • Go back to your flutter project and try to run it again

The first build output on the console said

Xcode build failed due to concurrent builds, will retry in 2 seconds

Don't do anything, just wait another minute or two and then it works (for me, at least).

Jimmy
  • 864
  • 13
  • 24