hx168
hx168
  • 发布:2023-03-15 13:31
  • 更新:2023-03-17 15:39
  • 阅读:323

iOS SDK v3.6.18 添加GTSDK.xcframework之后,可以编译成功,但是无法真机安装

分类:uni-app

Xcode版本: 14.2

手机型号: 12 Pro max

手机系统版本: 16.3.1

按照官方push模块配置文档:https://nativesupport.dcloud.net.cn/AppDocs/usemodule/iOSModuleConfig/push.html

按照文档添加了GTSDK.xcframework之后,可以正常编译成功,也可以导出Archive包,但是无法xcode build真机安装, 打出的自定义基座包Hbuilder也无法运行安装到手机上。

安装错误弹框的具体信息如下:

Details

Unable to install "HBuilder"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653103
User Info: {
DVTErrorCreationDateKey = "2023-03-15 05:21:15 +0000";
IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}
--
Could not inspect the application package.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653103
User Info: {
DVTRadarComponentKey = 282703;
MobileDeviceErrorCode = "(0xE8000051)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x0000000116154c90 DTDKCreateNSErrorFromAMDErrorCode + 235
1 DTDeviceKitBase 0x00000001161912ee 90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x000000010bc90e01 DVTInvokeWithStrongOwnership + 71
3 DTDeviceKitBase 0x0000000116191016 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1409
4 IDEiOSSupportCore 0x0000000115c8d7a0
118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.301 + 3520
5 DVTFoundation 0x000000010bdc6a09 __DVT_CALLING_CLIENT_BLOCK + 7
6 DVTFoundation 0x000000010bdc751d
DVTDispatchAsync_block_invoke + 196
7 libdispatch.dylib 0x00007ff8008a87fb _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007ff8008a9a44 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007ff8008afac4 _dispatch_lane_serial_drain + 694
10 libdispatch.dylib 0x00007ff8008b05b4 _dispatch_lane_invoke + 366
11 libdispatch.dylib 0x00007ff8008baad7 _dispatch_workloop_worker_thread + 762
12 libsystem_pthread.dylib 0x00007ff800a25ce3 _pthread_wqthread + 326
13 libsystem_pthread.dylib 0x00007ff800a24c67 start_wqthread + 15
);
}
--

Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
"device_model" = "iPhone13,4";
"device_osBuild" = "16.3.1 (20D67)";
"device_platform" = "com.apple.platform.iphoneos";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 1;
"launchSession_targetArch" = arm64;
"operation_duration_ms" = 2921;
"operation_errorCode" = "-402653103";
"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_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_runnable_type" = 2;
"param_testing_launchedForTesting" = 0;
"param_testing_suppressSimulatorApp" = 0;
"param_testing_usingCLI" = 0;
"sdk_canonicalName" = "iphoneos16.2";
"sdk_osVersion" = "16.2";
"sdk_variant" = iphoneos;
}
--

System Information

macOS Version 13.2.1 (Build 22D68)
Xcode 14.2 (21534) (Build 14C18)
Timestamp: 2023-03-15T13:21:15+08:00

2023-03-15 13:31 负责人:无 分享
已邀请:
hx168

hx168 (作者)

GRSDK.xcframework 设置 Do not Embed 之后可以正常安装了

要回复问题请先登录注册