You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Xcode安装App失败:无法加载UserMessagingPlatform.framework的Info.plist

问题:克隆代码到新Mac后,App安装失败,提示UserMessagingPlatform.framework缺少Info.plist

将代码从旧Mac克隆到新Mac后,代码编译成功,但在模拟器或真机上安装名为Cold Water Therapy的App时,Xcode弹出报错,提示无法从指定路径的UserMessagingPlatform.framework中加载Info.plist,系统显示该文件不存在。

已尝试的排查步骤:

  • 清理构建文件夹
  • 清理Derived Data
  • 重启Xcode
  • 重启设备

目前已向Apple提交该问题,完整错误日志如下:

App安装失败:无法安装“Cold Water Therapy”
Domain: IXUserPresentableErrorDomain
代码:1
失败原因:请稍后重试。
恢复建议:无法从路径 /Users/qaziammar/Library/Developer/CoreSimulator/Devices/84C3DC5A-333E-43B8-B0ED-706B21618311/data/Library/Caches/com.apple.mobile.installd.staging/temp.xPJiHO/extracted/ColdWaterTherapy.app/Frameworks/UserMessagingPlatform.framework 的bundle中加载Info.plist;关于"/Users/qaziammar/Library/Developer/CoreSimulator/Devices/84C3DC5A-333E-43B8-B0ED-706B21618311/data/Library/Caches/com.apple.mobile.installd.staging/temp.xPJiHO/extracted/ColdWaterTherapy.app/Frameworks/UserMessagingPlatform.framework/Info.plist"的额外信息:无法获取该文件状态,不存在此文件或目录
用户信息:{
    DVTErrorCreationDateKey = "2024-03-21 19:24:29 +0000";
    IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;
    SimCallingSelector = "installApplication:withOptions:error:";
}
--
App安装失败:无法安装“Cold Water Therapy”
Domain: IXUserPresentableErrorDomain
代码:1
失败原因:请稍后重试。
恢复建议:无法从路径 /Users/qaziammar/Library/Developer/CoreSimulator/Devices/84C3DC5A-333E-43B8-B0ED-706B21618311/data/Library/Caches/com.apple.mobile.installd.staging/temp.xPJiHO/extracted/ColdWaterTherapy.app/Frameworks/UserMessagingPlatform.framework 的bundle中加载Info.plist;关于"/Users/qaziammar/Library/Developer/CoreSimulator/Devices/84C3DC5A-333E-43B8-B0ED-706B21618311/data/Library/Caches/com.apple.mobile.installd.staging/temp.xPJiHO/extracted/ColdWaterTherapy.app/Frameworks/UserMessagingPlatform.framework/Info.plist"的额外信息:无法获取该文件状态,不存在此文件或目录
用户信息:{
    IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;
    SimCallingSelector = "installApplication:withOptions:error:";
}
--
无法安装“Cold Water Therapy”
Domain: IXUserPresentableErrorDomain
代码:1
失败原因:请稍后重试。
恢复建议:无法从路径 /Users/qaziammar/Library/Developer/CoreSimulator/Devices/84C3DC5A-333E-43B8-B0ED-706B21618311/data/Library/Caches/com.apple.mobile.installd.staging/temp.xPJiHO/extracted/ColdWaterTherapy.app/Frameworks/UserMessagingPlatform.framework 的bundle中加载Info.plist;关于"/Users/qaziammar/Library/Developer/CoreSimulator/Devices/84C3DC5A-333E-43B8-B0ED-706B21618311/data/Library/Caches/com.apple.mobile.installd.staging/temp.xPJiHO/extracted/ColdWaterTherapy.app/Frameworks/UserMessagingPlatform.framework/Info.plist"的额外信息:无法获取该文件状态,不存在此文件或目录
--
无法从路径 /Users/qaziammar/Library/Developer/CoreSimulator/Devices/84C3DC5A-333E-43B8-B0ED-706B21618311/data/Library/Caches/com.apple.mobile.installd.staging/temp.xPJiHO/extracted/ColdWaterTherapy.app/Frameworks/UserMessagingPlatform.framework 的bundle中加载Info.plist;关于"/Users/qaziammar/Library/Developer/CoreSimulator/Devices/84C3DC5A-333E-43B8-B0ED-706B21618311/data/Library/Caches/com.apple.mobile.installd.staging/temp.xPJiHO/extracted/ColdWaterTherapy.app/Frameworks/UserMessagingPlatform.framework/Info.plist"的额外信息:无法获取该文件状态,不存在此文件或目录
Domain: MIInstallerErrorDomain
代码:35
用户信息:{
    FunctionName = "-[MIBundle _validateWithError:]";
    LegacyErrorString = PackageInspectionFailed;
    SourceFileLine = 64;
}
--

事件元数据:com.apple.dt.IDERunOperationWorkerFinished : {
    "device_model" = "iPhone16,2";
    "device_osBuild" = "17.4 (21E213)";
    "device_platform" = "com.apple.platform.iphonesimulator";
    "dvt_coredevice_version" = "355.24";
    "dvt_mobiledevice_version" = "1643.100.58";
    "launchSession_schemeCommand" = 运行;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 4071;
    "operation_errorCode" = 1;
    "operation_errorDomain" = IXUserPresentableErrorDomain;
    "operation_errorWorker" = IDELaunchiPhoneSimulatorLauncher;
    "operation_name" = IDERunOperationWorkerGroup;
    "param_debugger_attachToExtensions" = 0;
    "param_debugger_attachToXPC" = 1;
    "param_debugger_type" = 3;
    "param_destination_isProxy" = 0;
    "param_destination_platform" = "com.apple.platform.iphonesimulator";
    "param_diag_MainThreadChecker_stopOnIssue" = 0;
    "param_diag_MallocStackLogging_enableDuringAttach" = 0;
    "param_diag_MallocStackLogging_enableForXPC" = 1;
    "param_diag_allowLocationSimulation" = 1;
    "param_diag_checker_tpc_enable" = 1;
    "param_diag_gpu_frameCapture_enable" = 0;
    "param_diag_gpu_shaderValidation_enable" = 0;
    "param_diag_gpu_validation_enable" = 0;
    "param_diag_memoryGraphOnResourceException" = 0;
    "param_diag_queueDebugging_enable" = 1;
    "param_diag_runtimeProfile_generate" = 0;
    "param_diag_sanitizer_asan_enable" = 0;
    "param_diag_sanitizer_tsan_enable" = 0;
    "param_diag_sanitizer_tsan_stopOnIssue" = 0;
    "param_diag_sanitizer_ubsan_stopOnIssue" = 0;
    "param_diag_showNonLocalizedStrings" = 0;
    "param_diag_viewDebugging_enabled" = 1;
    "param_diag_viewDebugging_insertDylibOnLaunch" = 1;
    "param_install_style" = 0;
    "param_launcher_UID" = 2;
    "param_launcher_allowDeviceSensorReplayData" = 0;
    "param_launcher_kind" = 0;
    "param_launcher_style" = 0;
    "param_launcher_substyle" = 0;
    "param_runnable_appExtensionHostRunMode" = 0;
    "param_runnable_productType" = "com.apple.product-type.application";
    "param_structuredConsoleMode" = 1;
    "param_testing_launchedForTesting" = 0;
    "param_testing_suppressSimulatorApp" = 0;
    "param_testing_usingCLI" = 0;
    "sdk_canonicalName" = "iphonesimulator17.4";
    "sdk_osVersion" = "17.4";
    "sdk_variant" = iphonesimulator;
}
--


系统信息

macOS版本 14.2.1 (Build 23C71)
Xcode 15.3 (22618) (Build 15E204a)

时间戳: 2024-03-22T00:24:29+05:00

内容的提问来源于stack exchange,提问作者Qazi Ammar

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.27 16:53:10