Flutter应用打iOS包,在Validate App的最后一步总是报错如下:
各种百度,参考
After doing a flutter clean
, changing MinimumOSVersion (inside /ios/Flutter/AppframeworkInfo.plist) to 9.0, iOS Deployment Target (inside project runner) to 9.0 and iOS Deployment Target (inside target runner) to 9.0 the error disappeared.
设置后,打包依然没有解决。后来在Github上找到了解决方法。
In the meantime, as a workaround, open these files in Xcode in your Flutter SDK:bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_armv7/Flutter.framework/Info.plist
bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Info.plist
Change the MinimumOSVersion
value from 8.0
to 9.0
.
Then run flutter clean
in your Flutter project.
收工!
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)