XCode 11.6 Can't build Flutter application: Unable to locate DeviceSupport directory

I've made no changes to my code. XCode updated, now I'm seeing the following error Inside both VSCode and Android Studio


Unable to locate DeviceSupport directory with suffix 'DeveloperDiskImage.dmg'. This probably means you don't have Xcode installed, you will need to launch the app manually and logging output will not be shown! Could not run build/ios/iphoneos/Runner.app on 16e0be0d98a45594d66fce5bc03767078a0adaf9. Try launching Xcode and selecting "Product > Run" to fix the problem: open ios/Runner.xcworkspace

The app will run in XCode as suggested, however, that does not fix the problem in other IDE's. This must be an XCode issue. I also have XCode 12 Beta installed, which is giving the following error:
Missing required components. Reinstall the Xcode Tools.

I'm sure the above two errors are related and this is a problem with XCode.

This all happened after updating XCode, IOS and Mac Big Sur to 11 Beta 4. This is also done using flutter, however, I don't know if the issue is confined to that.
Answered by trancend in 626508022
Solved:

go here for the solution: medium.com/macoclock/how-to-add-device-support-files-to-xcode-ce4ca5965092

You have to download the ios 14 DeviceSupport files, unzip them, then move them to the appropriate directory. It is super annoying that XCode doesn't install all new versions when updating, but hopefully this saves some others an hour or two.
Accepted Answer
Solved:

go here for the solution: medium.com/macoclock/how-to-add-device-support-files-to-xcode-ce4ca5965092

You have to download the ios 14 DeviceSupport files, unzip them, then move them to the appropriate directory. It is super annoying that XCode doesn't install all new versions when updating, but hopefully this saves some others an hour or two.
XCode 11.6 Can't build Flutter application: Unable to locate DeviceSupport directory
 
 
Q