为什么我的应用程序无法在我的设备上安装或运行?我不断收到错误消息,“不再支持代码签名版本”。我运行的是所有应用程序的最新版本,并且已尝试了迄今为止在此网站上找到的有关更正此问题的所有方法。
我尝试过的事情:- 删除所有不必要的库,除了Firebase和SDWebImage -删除所有包依赖项,除了以上两个,并更新包。-添加--generate-entitlement-der到构建设置中的“其他代码签名标志”-删除所有代码预置配置文件和签名证书,并生成新的-自动签名和手动签名-重置包缓存-清除构建文件夹-上传到GitHub/cloning/从克隆中构建应用程序。-我的iPhone和iPad设备(应用程序在模拟器中运行,尽管我没有使用模拟器,因为我在Firebase登录时遇到了问题。)
系统规格:Mac OS X 12.5 XCode版本13.4.1(13 F100)iOS版本15.6
错误消息:
Details
Unable to install "SoulandForm"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620375
User Info: {
DVTErrorCreationDateKey = "2022-08-07 21:31:46 +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 0x0000000110d779d1 DTDKCreateNSErrorFromAMDErrorCode + 220
1 DTDeviceKitBase 0x0000000110db3ce7 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x000000010460d7d6 DVTInvokeWithStrongOwnership + 71
3 DTDeviceKitBase 0x0000000110db3a1d -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1422
4 IDEiOSSupportCore 0x0000000120054668 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.301 + 3414
5 DVTFoundation 0x000000010473f3d4 __DVT_CALLING_CLIENT_BLOCK__ + 7
6 DVTFoundation 0x00000001047404bc __DVTDispatchAsync_block_invoke + 372
7 libdispatch.dylib 0x00007ff8148490cc _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007ff81484a317 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007ff814850317 _dispatch_lane_serial_drain + 672
10 libdispatch.dylib 0x00007ff814850dfd _dispatch_lane_invoke + 366
11 libdispatch.dylib 0x00007ff81485aeee _dispatch_workloop_worker_thread + 753
12 libsystem_pthread.dylib 0x00007ff8149fdfd0 _pthread_wqthread + 326
13 libsystem_pthread.dylib 0x00007ff8149fcf57 start_wqthread + 15
);
}
--
Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
"device_model" = "iPad11,6";
"device_osBuild" = "15.5 (19F77)";
"device_platform" = "com.apple.platform.iphoneos";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 1;
"launchSession_targetArch" = arm64;
"operation_duration_ms" = 11202;
"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" = 0;
"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.5 (Build 21G72)
Xcode 13.4.1 (20504) (Build 13F100)
Timestamp: 2022-08-07T17:31:46-04:00
2条答案
按热度按时间kjthegm61#
我能够解决这个问题!原来是一些Firebase库导致了这个错误。我把它剥离到我需要从它们那里得到的最基本的东西,它成功了。
m1m5dgzv2#
在我的例子中,我将一个框架从“嵌入和签名”转换为“不嵌入”来解决我的问题。