项目场景

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 拿不到


解决方案

  1. versionbuild 不能为空
    在这里插入图片描述

  2. 检查红线部分,没有添加在这里插入图片描述

原文地址:https://blog.csdn.net/u010755471/article/details/126655912

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任

如若转载,请注明出处:http://www.7code.cn/show_16381.html

如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱:suwngjj01@126.com进行投诉反馈,一经查实,立即删除

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注