I have updated my phone\'s OS version to iOS 14 and spent today updating Xcode to version 12, yet when I try to build my Flutter app on my iPhone 11 - iOS 14 through Android Stu
This issued was raised a while back in August in the flutter repo. Currently, the issue has been fixed by the recent flutter update.
Run flutter upgrade
to v1.20.4 to get the fix
Ran into this issue today on Visual Studio. It appeared that my Dart SDK version was too out of date and upgrading it appeared to fix the problem.
I did upgrade my Flutter version first, and then ran into a problem with the vsync
property of AnimationController
not being recognized, which was solved by upgrading the Dart SDK, so I'm not sure who the real culprit was (or if it was a combination of both).
Instructions on upgrading your Dart SDK: https://dart.dev/get-dart
This problem is somewhat confusing, I got the same error with Xcode 12.0.1 and iOS 14.2 beta. This solved for me
Download Device support files of iOS 14.0 from this link.
for iOS 14.2 beta there is a pull request that is not yet merged
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
I ran into this problem recently, most likely it can be caused due to the reason, that your iOS Device is running a higher version than you xcode
can support.
Example:
Apple release new iOS for iPhone i.e. 14.2 and you upgrade your device right away, than you ran into this issue, because the xcode
may not have the latest version of your device support files, meaning xcode can only suuport iOS 14.1 or lower. Apple sometimes release newer iOS without providing update of xcode device support files.
There is 4 solutions for this:
It is an annoying issue, Apple should not release any iOS without having the supporting tools released at the same time, or they should run a warning.
This is what I did:
flutter clean
on the terminal.flutter upgrade
on the terminal.flutter clean
again.flutter run
.It should work now.