Ionic 不再支持代码签名版本- facebook-ios-sdk

5cnsuln7  于 2023-08-01  发布在  Ionic
关注(0)|答案(1)|浏览(183)

这个问题开始出现后,我已经实现了facebook-ios-sdk,以便使用facebook登录在我的应用程序。在模拟器上测试时,一切都很完美,但只要我尝试将应用程序安装到我的iPhone 11上,我就会得到这个错误:
Unable to install "App"
在“细节”我得到这样的信息:

Details

Unable to install "App"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620375
User Info: {
    DVTErrorCreationDateKey = "2023-07-04 09:50:39 +0000";
    IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}
--
The code signature version is no longer supported.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620375
User Info: {
    DVTRadarComponentKey = 487925;
    MobileDeviceErrorCode = "(0xE8008029)";
    "com.apple.dtdevicekit.stacktrace" = (
    0   DTDeviceKitBase                     0x00000001105ecb1c DTDKCreateNSErrorFromAMDErrorCode + 300
    1   DTDeviceKitBase                     0x0000000110621000 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 136
    2   DVTFoundation                       0x0000000106493480 DVTInvokeWithStrongOwnership + 76
    3   DTDeviceKitBase                     0x0000000110620d7c -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1208
    4   IDEiOSSupportCore                   0x000000010fa47c00 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.147 + 2340
    5   DVTFoundation                       0x000000010659dde0 __DVT_CALLING_CLIENT_BLOCK__ + 16
    6   DVTFoundation                       0x000000010659e84c __DVTDispatchAsync_block_invoke + 152
    7   libdispatch.dylib                   0x000000018e11e874 _dispatch_call_block_and_release + 32
    8   libdispatch.dylib                   0x000000018e120400 _dispatch_client_callout + 20
    9   libdispatch.dylib                   0x000000018e127a88 _dispatch_lane_serial_drain + 668
    10  libdispatch.dylib                   0x000000018e1285f8 _dispatch_lane_invoke + 384
    11  libdispatch.dylib                   0x000000018e133244 _dispatch_workloop_worker_thread + 648
    12  libsystem_pthread.dylib             0x000000018e2cc074 _pthread_wqthread + 288
    13  libsystem_pthread.dylib             0x000000018e2cad94 start_wqthread + 8
);
}
--

Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_model" = "iPhone12,1";
    "device_osBuild" = "16.5.1 (20F75)";
    "device_platform" = "com.apple.platform.iphoneos";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 17540;
    "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_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_testing_launchedForTesting" = 0;
    "param_testing_suppressSimulatorApp" = 0;
    "param_testing_usingCLI" = 0;
    "sdk_canonicalName" = "iphoneos16.4";
    "sdk_osVersion" = "16.4";
    "sdk_variant" = iphoneos;
}
--

System Information

macOS Version 13.4.1 (Build 22F82)
Xcode 14.3.1 (21815) (Build 14E300c)
Timestamp: 2023-07-04T11:50:39+02:00

字符串
XCode版本:14.3.1 macOS版本:13.4.1 IOS版本:16.5.1 facebook-ios-sdk版本:16.1.2
寻求帮助!
我已经尝试了很多方法,其中包括:

9jyewag0

9jyewag01#

好吧,解决这个问题的方法是chat gpt建议的:
损坏的衍生数据:清除派生数据通常可以解决许多神秘的Xcode问题。转到Xcode -> Preferences -> Locations -> Derived Data,然后点击箭头打开Finder中的文件夹,关闭Xcode,删除Derived Data文件夹。
我刚刚删除了“派生数据”文件夹,然后删除了Facebook登录从“框架,库和嵌入式内容”,它帮助。
image: Frameworks, Libraries and Embedded Content
我希望这对你们中的某个人有帮助!

相关问题