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

添加Firebase库后Xcode无法在iPhone7+(iOS15.5)安装应用

问题描述

为PlantAssist应用接入基于Firebase实现的登录页面后,无法通过Xcode 13.4将应用安装到运行iOS 15.5系统的iPhone 7 Plus设备上。添加Firebase依赖库之前,应用可正常安装到该真机设备,目前应用在模拟器中仍可正常运行,仅在接入Firebase后出现真机无法加载安装的问题。

PlantAssist主要用于日常工作辅助,支持对图片中的种子进行分类与计数,同时会在应用内更新体育赛事对阵预测的统计数据作为趣味功能。

安装失败时返回错误码 -402620375,错误提示为 代码签名版本不再受支持。

已尝试的排查操作
  • 重启所有相关设备、程序与服务
  • 更新项目所有依赖库
  • 执行依赖库解析操作
  • 重置依赖库配置
  • 在Other Code Signing Flags配置项中添加--generate-entitlement-der参数,已同时对Pods目标和主应用目标完成该配置
  • 更新签名证书,确认CocoaPods相关配置为Do Not Embed(实际已尝试所有嵌入配置组合)
  • 将项目所有配置项的iOS部署版本统一设置为15.5

以上操作均未解决问题,具体错误详情、日志与系统环境信息如下:

Details

Unable to install "PlantAssist"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620375
User Info: {
    DVTErrorCreationDateKey = "2022-06-09 21:46:53 +0000";
    IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}
--
The code signature version is no longer supported.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620375
User Info: {
    DVTRadarComponentKey = 261622;
    MobileDeviceErrorCode = "(0xE8008029)";
    "com.apple.dtdevicekit.stacktrace" = (
    0   DTDeviceKitBase                     0x000000010ab909d1 DTDKCreateNSErrorFromAMDErrorCode + 220
    1   DTDeviceKitBase                     0x000000010abccce7 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
    2   DVTFoundation                       0x0000000102b9c7f6 DVTInvokeWithStrongOwnership + 71
    3   DTDeviceKitBase                     0x000000010abcca1d -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1422
    4   IDEiOSSupportCore                   0x00000001090a2668 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.301 + 3414
    5   DVTFoundation                       0x0000000102cce3f4 __DVT_CALLING_CLIENT_BLOCK__ + 7
    6   DVTFoundation                       0x0000000102ccf4dc __DVTDispatchAsync_block_invoke + 372
    7   libdispatch.dylib                   0x00007ff81bd4a0cc _dispatch_call_block_and_release + 12
    8   libdispatch.dylib                   0x00007ff81bd4b317 _dispatch_client_callout + 8
    9   libdispatch.dylib                   0x00007ff81bd51317 _dispatch_lane_serial_drain + 672
    10  libdispatch.dylib                   0x00007ff81bd51dfd _dispatch_lane_invoke + 366
    11  libdispatch.dylib                   0x00007ff81bd5beee _dispatch_workloop_worker_thread + 753
    12  libsystem_pthread.dylib             0x00007ff81befefd0 _pthread_wqthread + 326
    13  libsystem_pthread.dylib             0x00007ff81befdf57 start_wqthread + 15
);
}
--

Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_isWireless" = 1;
    "device_model" = "iPhone9,2";
    "device_osBuild" = "15.5 (19F77)";
    "device_platform" = "com.apple.platform.iphoneos";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 555115;
    "operation_errorCode" = "-402620375";
    "operation_errorDomain" = "com.apple.dt.MobileDeviceErrorDomain";
    "operation_errorWorker" = IDEInstalliPhoneLauncher;
    "operation_name" = IDEiPhoneRunOperationWorkerGroup;
    "param_consoleMode" = 0;
    "param_debugger_attachToExtensions" = 0;
    "param_debugger_attachToXPC" = 1;
    "param_debugger_type" = 5;
    "param_destination_isProxy" = 0;
    "param_destination_platform" = "com.apple.platform.iphoneos";
    "param_diag_MainThreadChecker_stopOnIssue" = 0;
    "param_diag_MallocStackLogging_enableDuringAttach" = 0;
    "param_diag_MallocStackLogging_enableForXPC" = 1;
    "param_diag_allowLocationSimulation" = 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_runnable_swiftVersion" = "5.6.1";
    "param_runnable_type" = 2;
    "param_testing_launchedForTesting" = 0;
    "param_testing_suppressSimulatorApp" = 0;
    "param_testing_usingCLI" = 0;
    "sdk_canonicalName" = "iphoneos15.5";
    "sdk_osVersion" = "15.5";
    "sdk_variant" = iphoneos;
}
--


System Information

macOS Version 12.4 (Build 21F79)
Xcode 13.4 (20503) (Build 13F17a)
Timestamp: 2022-06-09T16:46:53-05:00

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.08.30 11:00:58