ari*_*xis 5 xcode ios swift flutter
我在这里缺少什么?没有地方可以为 ios 11 编译的指令..
Swift 编译器错误 (Xcode):针对 iOS 11.0 进行编译,但模块“PhoneNumberKit”的最低部署目标为 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
我尝试过的事情:
我在使用 PhoneNumberKit 时遇到了这个确切的错误:
无法为设备构建预编译应用程序。Swift 编译器错误 (Xcode):针对 iOS 11.0 进行编译,但模块“PhoneNumberKit”的最低部署目标为 iOS 12.0:
更新您的ios/Podfile:
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      # Do either this:
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
      # or this:
      config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
    end
  end
end
感谢/sf/answers/4485305681/和/sf/answers/4485053681/
| 归档时间: | 
 | 
| 查看次数: | 3137 次 | 
| 最近记录: |