(OK) I try to run on VS Code or android studio with the project connecting with the android emulator. there is no issue.
(OK) I opened Runner.xworkspace and run with iOS Simulator. It works as well.
(Failed) I try running with flutter run connected with iOS Simulator. But it failed with the message below.
/Users/chhinsras/Desktop/Coding.nosync/SAISMobile/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'OneSignalXCFramework' from project 'Pods') /Users/chhinsras/Desktop/Coding.nosync/SAISMobile/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'flutter_downloader-FlutterDownloaderDatabase' from project 'Pods') /Users/chhinsras/Desktop/Coding.nosync/SAISMobile/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'Reachability' from project 'Pods') /Users/chhinsras/Desktop/Coding.nosync/SAISMobile/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'OrderedSet' from project 'Pods') /Users/chhinsras/Desktop/Coding.nosync/SAISMobile/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'OneSignal' from project 'Pods') /Users/chhinsras/Desktop/Coding.nosync/SAISMobile/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'Flutter' from project 'Pods')
I googled alot and try following from this The iOS Simulator deployment targets is set to 7.0, but the range of supported deployment target version for this platform is 8.0 to 12.1
Then, it lead to another Flutter/Flutter.h not found, something.
*NOTE: If I changed the code, then open Runnder.xworkspace and run, I could see the update without any issue.
What is the real problem of this why I can't run on VS Code.