我是靠谱客的博主 幸福荔枝,这篇文章主要介绍The application‘s Info.plist does not contain a valid CFBundleVersion. 终极解决方案项目场景:问题描述原因分析:解决方案:,现在分享给大家,希望可以做个参考。
项目场景:
iOS 的所有项目
问题描述
Unable to install /Users/tiger/Documents/massage/whaleweilapp/build/ios/iphonesimulator/Runner.app on 3F7CEBD3-4A70-4F3E-A02C-C334FFF6F240. This is sometimes caused by a malformed plist file:
ProcessException: Process exited abnormally:
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The application's Info.plist does not contain a valid CFBundleVersion.
Ensure your bundle contains a valid CFBundleVersion.
Command: xcrun simctl install 3F7CEBD3-4A70-4F3E-A02C-C334FFF6F240 /Users/tiger/Documents/massage/whaleweilapp/build/ios/iphonesimulator/Runner.app
Error launching application on iPhone 11.
原因分析:
没啥好分析的,就是version 拿不到
解决方案:
-
version 和 build 不能为空
-
检查红线部分,没有就添加上
最后
以上就是幸福荔枝最近收集整理的关于The application‘s Info.plist does not contain a valid CFBundleVersion. 终极解决方案项目场景:问题描述原因分析:解决方案:的全部内容,更多相关The内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复