小编dou*_*one的帖子

Flutter:应用程序的Info.plist不包含CFBundleVersion

一切正常,直到我将 MacOS 更新到 v 10.15.7\n但我不能保证这是真正的问题。

\n

相同的代码在 Android 上完美模拟,但在 iPhone 上运行时出现以下错误:

\n
[   +2 ms] Unable to install /Users/***/project_dir/build/ios/iphonesimulator/Runner.app on 4E3679AE-08E6-4DBE-A940-20E4D34F2122. This is\nsometimes caused\n           by a malformed plist file:\n           ProcessException: Process exited abnormally:\n           An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):\n           Failed to install the requested application\n           The application's Info.plist does not contain CFBundleVersion.\n           Ensure your bundle contains a CFBundleVersion.\n             Command: /usr/bin/xcrun simctl install 4E3679AE-08E6-4DBE-A940-20E4D34F2122\n/Users/***/project_dir/build/ios/iphonesimulator/Runner.app\n[   +1 ms] Error launching application on iPhone 11 Pro.\n[   +3 ms] "flutter run" took …
Run Code Online (Sandbox Code Playgroud)

ios flutter

7
推荐指数
1
解决办法
8132
查看次数

标签 统计

flutter ×1

ios ×1