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

iOS模拟器安装App失败:FirebaseFirestoreInternal缺失Info.plist

修复iOS模拟器安装MyApp失败的方案

安装MyApp到iOS模拟器时出现报错,核心原因是FirebaseFirestoreInternal.framework的Info.plist文件缺失,具体错误日志如下:

Simulator device failed to install the application. Domain: IXUserPresentableErrorDomain Code: 1 Failure Reason: Please try again later. Recovery Suggestion: Failed to load Info.plist from bundle at path /Users/mbp16/Library/Developer/CoreSimulator/Devices/8D067001-51D4-4A49-8F37-B565387E3A4F/data/Library/Caches/com.apple.mobile.installd.staging/temp.1ezCsM/extracted/MyApp.app/Frameworks/FirebaseFirestoreInternal.framework; Extra info about "/Users/mbp16/Library/Developer/CoreSimulator/Devices/8D067001-51D4-4A49-8F37-B565387E3A4F/data/Library/Caches/com.apple.mobile.installd.staging/temp.1ezCsM/extracted/MyApp.app/Frameworks/FirebaseFirestoreInternal.framework/Info.plist": Couldn't stat /Users/mbp16/Library/Developer/CoreSimulator/Devices/8D067001-51D4-4A49-8F37-B565387E3A4F/data/Library/Caches/com.apple.mobile.installd.staging/temp.1ezCsM/extracted/MyApp.app/Frameworks/FirebaseFirestoreInternal.framework/Info.plist: No such file or directory User Info: {
    DVTErrorCreationDateKey = "2024-01-26 20:06:18 +0000";
    IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;
    SimCallingSelector = "installApplication:withOptions:error:"; }
-- Simulator device failed to install the application. Domain: IXUserPresentableErrorDomain Code: 1 Failure Reason: Please try again later. Recovery Suggestion: Failed to load Info.plist from bundle at path /Users/mbp16/Library/Developer/CoreSimulator/Devices/8D067001-51D4-4A49-8F37-B565387E3A4F/data/Library/Caches/com.apple.mobile.installd.staging/temp.1ezCsM/extracted/MyApp.app/Frameworks/FirebaseFirestoreInternal.framework; Extra info about "/Users/mbp16/Library/Developer/CoreSimulator/Devices/8D067001-51D4-4A49-8F37-B565387E3A4F/data/Library/Caches/com.apple.mobile.installd.staging/temp.1ezCsM/extracted/MyApp.app/Frameworks/FirebaseFirestoreInternal.framework/Info.plist": Couldn't stat /Users/mbp16/Library/Developer/CoreSimulator/Devices/8D067001-51D4-4A49-8F37-B565387E3A4F/data/Library/Caches/com.apple.mobile.installd.staging/temp.1ezCsM/extracted/MyApp.app/Frameworks/FirebaseFirestoreInternal.framework/Info.plist: No such file or directory User Info: {
    IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;
    SimCallingSelector = "installApplication:withOptions:error:"; }
-- Unable to Install “MyApp ” Domain: IXUserPresentableErrorDomain Code: 1 Failure Reason: Please try again later. Recovery Suggestion: Failed to load Info.plist from bundle at path /Users/mbp16/Library/Developer/CoreSimulator/Devices/8D067001-51D4-4A49-8F37-B565387E3A4F/data/Library/Caches/com.apple.mobile.installd.staging/temp.1ezCsM/extracted/MyApp.app/Frameworks/FirebaseFirestoreInternal.framework; Extra info about "/Users/mbp16/Library/Developer/CoreSimulator/Devices/8D067001-51D4-4A49-8F37-B565387E3A4F/data/Library/Caches/com.apple.mobile.installd.staging/temp.1ezCsM/extracted/MyApp.app/Frameworks/FirebaseFirestoreInternal.framework/Info.plist": Couldn't stat /Users/mbp16/Library/Developer/CoreSimulator/Devices/8D067001-51D4-4A49-8F37-B565387E3A4F/data/Library/Caches/com.apple.mobile.installd.staging/temp.1ezCsM/extracted/MyApp.app/Frameworks/FirebaseFirestoreInternal.framework/Info.plist: No such file or directory
-- Failed to load Info.plist from bundle at path /Users/mbp16/Library/Developer/CoreSimulator/Devices/8D067001-51D4-4A49-8F37-B565387E3A4F/data/Library/Caches/com.apple.mobile.installd.staging/temp.1ezCsM/extracted/MyApp.app/Frameworks/FirebaseFirestoreInternal.framework; Extra info about "/Users/mbp16/Library/Developer/CoreSimulator/Devices/8D067001-51D4-4A49-8F37-B565387E3A4F/data/Library/Caches/com.apple.mobile.installd.staging/temp.1ezCsM/extracted/MyApp.app/Frameworks/FirebaseFirestoreInternal.framework/Info.plist": Couldn't stat /Users/mbp16/Library/Developer/CoreSimulator/Devices/8D067001-51D4-4A49-8F37-B565387E3A4F/data/Library/Caches/com.apple.mobile.installd.staging/temp.1ezCsM/extracted/MyApp.app/Frameworks/FirebaseFirestoreInternal.framework/Info.plist: No such file or directory Domain: MIInstallerErrorDomain Code: 35 User Info: {
    FunctionName = "-[MIBundle _validateWithError:]";
    LegacyErrorString = PackageInspectionFailed;
    SourceFileLine = 64; }
--

Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_model" = "iPhone16,2";
    "device_osBuild" = "17.4 (21E5184i)";
    "device_platform" = "com.apple.platform.iphonesimulator";
    "dvt_coredevice_version" = "355.18";
    "dvt_mobiledevice_version" = "1643.100.52";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = "x86_64";
    "operation_duration_ms" = 22939;
    "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 Version 14.3 (Build 23D56)
  • Xcode 15.3 (22617) (Build 15E5178i)
  • 时间戳:2024-01-26T20:06:18Z

修复建议

  • 清理项目缓存:执行rm -rf ~/Library/Caches/com.apple.dt.Xcode,重启Xcode后重新构建
  • 重置iOS模拟器:打开模拟器,依次点击Simulator > Reset Content and Settings...,确认后重启模拟器再尝试安装
  • 重新安装Firebase依赖:如果使用CocoaPods,执行pod deintegrate、pod clean后重新pod install;如果使用Swift Package Manager,移除Firebase依赖后重新添加
  • 检查框架完整性:手动检查项目中FirebaseFirestoreInternal.framework是否包含Info.plist,若缺失,直接从Firebase官方包中提取对应文件补全,或重新下载完整的Firebase SDK
  • 清理模拟器临时文件:删除报错路径中的缓存目录/Users/mbp16/Library/Developer/CoreSimulator/Devices/8D067001-51D4-4A49-8F37-B565387E3A4F/data/Library/Caches/com.apple.mobile.installd.staging/,然后重新构建安装

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.07.01 04:47:01