What am I missing here? There is nowhere an instruction to compile for ios 11..
Swift Compiler Error (Xcode): Compiling for iOS 11.0, but module 'PhoneNumberKit' has a minimum deployment target of iOS 12.0: /Users/aris/Library/Developer/Xcode/DerivedData/Runner-cmtnerpxiupormgiakqsqxlnezts/Build/Intermediates.noindex/ArchiveIntermediates/Runner/Build ProductsPath/Release-iphoneos/PhoneNumberKit/PhoneNumberKit.framework/Modules/PhoneNumberKit.swiftmodule/arm64-apple-ios.swiftmodule /Users/aris/.pub-cache/hosted/pub.dev/libphonenumber_plugin-0.3.2/ios/Classes/SwiftLibphonenumberPlugin.swift:2:7
Things I have tried:
- clear build folder from Xcode and run again pod install
- pod install --repo-update
- Podfile has first line as target ios: 14
- Xcode target -> runner -> build settings -> ios build target 14
- flutter clean; flutter pug get; flutter build ipa
- flutter upgrade and re-install all pods
- delete derived folder of Xcode