Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DTDeviceKit: deviceType Null

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?

like image 203
KirtM9 Avatar asked May 02 '20 20:05

KirtM9


2 Answers

This worked for me:

rm -rf ~/Library/Developer/Xcode/DerivedData/
rm -rf ~/Library/Caches/CocoaPods/
pod deintegrate
pod update
flutter clean
like image 101
Anton Starcev Avatar answered Nov 18 '22 04:11

Anton Starcev


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).

like image 1
Jimmy Avatar answered Nov 18 '22 06:11

Jimmy