项目场景

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. 检查红线部分,没有添加在这里插入图片描述

发表回复

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