我在我的 iOS 專案中使用顫振模塊。我無法將我的專案運行到 iPhone12(iOS 14.6)中,但 iPhone XS(iOS 14.3)可以。我專案中使用的顫振模塊處于發布模式。
擔心,因為最后期限快到了。幫助!非常感謝!
環境:
macOS 版本 12.2.1(內部版本 21D62)
Xcode 13.3.1 (20103)(內部版本 13E500a)
顫振 3.0
錯誤資訊:
Details
Unable to install "ios_host"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620375
User Info: {
DVTErrorCreationDateKey = "2022-05-18 06:44:44 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 0x00000001270079d1 DTDKCreateNSErrorFromAMDErrorCode 220
1 DTDeviceKitBase 0x0000000127043ce7 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke 155
2 DVTFoundation 0x000000010e254a76 DVTInvokeWithStrongOwnership 71
3 DTDeviceKitBase 0x0000000127043a1d -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] 1422
4 IDEiOSSupportCore 0x0000000120dfd668 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.301 3414
5 DVTFoundation 0x000000010e386610 __DVT_CALLING_CLIENT_BLOCK__ 7
6 DVTFoundation 0x000000010e3876f8 __DVTDispatchAsync_block_invoke 372
7 libdispatch.dylib 0x00007ff819ae0ad8 _dispatch_call_block_and_release 12
8 libdispatch.dylib 0x00007ff819ae1cc9 _dispatch_client_callout 8
9 libdispatch.dylib 0x00007ff819ae7cee _dispatch_lane_serial_drain 696
10 libdispatch.dylib 0x00007ff819ae87c8 _dispatch_lane_invoke 366
11 libdispatch.dylib 0x00007ff819af27e1 _dispatch_workloop_worker_thread 758
12 libsystem_pthread.dylib 0x00007ff819c95074 _pthread_wqthread 326
13 libsystem_pthread.dylib 0x00007ff819c93ffb start_wqthread 15
);
}
--
Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
"device_model" = "iPhone13,2";
"device_osBuild" = "14.6 (18F72)";
"device_platform" = "com.apple.platform.iphoneos";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 1;
"launchSession_targetArch" = arm64;
"operation_duration_ms" = 1251;
"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";
"param_runnable_type" = 2;
"param_testing_launchedForTesting" = 0;
"param_testing_suppressSimulatorApp" = 0;
"param_testing_usingCLI" = 0;
"sdk_canonicalName" = "iphoneos15.4";
"sdk_osVersion" = "15.4";
"sdk_variant" = iphoneos;
}
--
System Information
macOS Version 12.2.1 (Build 21D62)
Xcode 13.3.1 (20103) (Build 13E500a)
Timestamp: 2022-05-18T14:44:44 08:00
uj5u.com熱心網友回復:
Apple has changed the codesign signature to include DER encoded entitlements in addition to the plist encoded entitlements. This additional DER encoded entitlements section is required in iOS 15 and becomes the default behavior of codesign in the latest Xcode. To use codesign on an older machines with an older version of Xcode add the --generate-entitlement-der flag to your call to codesign.
如果通過 Xcode 簽名,您可以將此標志添加到 Build Settings 選項卡中的 OTHER_CODE_SIGN_FLAGS 設定。這可能會有所幫助:不再支持代碼簽名版本
uj5u.com熱心網友回復:
我自己修復了它:通過 CocoaPods 嵌入顫振模塊(App.framework、Flutter.framework 等)。
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/480645.html
下一篇:返回列表