Asset validation failed (90208)
Invalid Bundle. The bundle xxx.app/Frameworks/App.framework does not support the minimum OS Version specified in the Info.plist. (ID: xxxxxxxx-c706-4f4c-ab61-07f15ff5a0f6)
xx/ios/Flutter/AppFrameworkInfo.plist
版本不一致
<key>CFBundleVersion</key>
<string>1.0</string>
删除 Flutter下面的
Flutter.podspec
flutter_export_environment.sh
修改下面文件
AppFrameworkInfo.plist //主要是修改这个文件
把9.0改成自己版本一致
<key>MinimumOSVersion</key>
<string>11.0</string>
然后重新打包:
rm pubspec.lock
flutter clean
flutter pub get
rm -rf Runner.xcworkspace Pods Podfile.lock
pod install
//后续打包指令略
网友评论