Open blackbeario opened 4 years ago
@blackbeario did you find any solution?
I fixed this issue by doing a flutter clean
then adding to the Podfile this line use_frameworks! # required by Geolocator
as outlined here https://stackoverflow.com/questions/51056579/flutter-plugin-geolocator-swift-h-file-not-found/55293055#55293055.
Not working for me, even with @thanksmister link
@xero88 this seems to happen whenever there is an upgrade for Flutter. The workaround I'm using is to let Flutter update and then delete Xcode's derived data and then rebuild the app:
rm -rf ~/Library/Developer/Xcode/DerivedData
rm -rf Pods
rm -rf podfile
flutter clean
flutter run
Not sure how necessary all steps are but the first is vital.
Edit - fairly sure this occurs when you have your project directory stored within iCloud. Move it local into your files and this issue vanishes.
Since upgrading to Xcode 11.2 for Mac Mojave I am getting this error trying to build for iOS.
Here is flutter doctor output:
Finally, here is the relevant pubspec.yaml info: