シミュレーターでは動作を確認することができましたが、実機ですと「Unable to install XXX」となり、動作しません。  
サードパーティのFireBaseの問題かと思うのですが、一向に解決の兆しが見えません。

[![画像の説明をここに入力](https://i.stack.imgur.com/BmZZa.png)](https://i.stack.imgur.com/BmZZa.png)

端末を変更し(iphoneSE(第二世代)→iphone11)、再度実行するも、「Unable to install XXX」となります。  
FireBaseのSDKの問題かなと考えるのですが、何か少しでも考えられる事がありましたら、ご教授頂ければ幸いでございます。

利用しているサービス及び端末は以下です。

Xcode:Version 14.0.1  
macOS12.3  
iphoneSE(第二世代)  
Macmini2020  
FireBase

### 試した事

**1.Windowでデバイスの削除して再実行する。**  
Window>DeVices>「自分のiphone名」を右クリック>ShowProvisioninng Profilesをクリック  
→「−」ボタンを押下して自分の端末を削除してXcodeの再起動。

**2.「Appプロジェクト名 >Build Settings>Signing>Other CodeSigning flags」を修正**

Debag及び、Releseの「Any SDK:--generate-entitlement-der」とする。

**エラー内容**

[![Other Code Signing
Flags](https://i.stack.imgur.com/2tl8g.png)](https://i.stack.imgur.com/2tl8g.png)

```

    Unable to install "philosophy"
    Domain: com.apple.dt.MobileDeviceErrorDomain
    Code: -402620375
    User Info: {
        DVTErrorCreationDateKey = "2022-10-01 02:52:16 +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                     0x00000001123282bc DTDKCreateNSErrorFromAMDErrorCode + 300
        1   DTDeviceKitBase                     0x000000011235c3c0 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 136
        2   DVTFoundation                       0x00000001031ca53c DVTInvokeWithStrongOwnership + 76
        3   DTDeviceKitBase                     0x000000011235c144 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1196
        4   IDEiOSSupportCore                   0x000000010e4dbd10 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.147 + 2328
        5   DVTFoundation                       0x00000001032d4824 __DVT_CALLING_CLIENT_BLOCK__ + 16
        6   DVTFoundation                       0x00000001032d5290 __DVTDispatchAsync_block_invoke + 152
        7   libdispatch.dylib                   0x000000019144a5f0 _dispatch_call_block_and_release + 32
        8   libdispatch.dylib                   0x000000019144c1b4 _dispatch_client_callout + 20
        9   libdispatch.dylib                   0x00000001914538a8 _dispatch_lane_serial_drain + 668
        10  libdispatch.dylib                   0x0000000191454404 _dispatch_lane_invoke + 392
        11  libdispatch.dylib                   0x000000019145ec98 _dispatch_workloop_worker_thread + 648
        12  libsystem_pthread.dylib             0x000000019160c360 _pthread_wqthread + 288
        13  libsystem_pthread.dylib             0x000000019160b080 start_wqthread + 8
    );
    }
    --
    
    Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
        "device_model" = "iPhone12,8";
        "device_osBuild" = "15.6.1 (19G82)";
        "device_platform" = "com.apple.platform.iphoneos";
        "launchSession_schemeCommand" = Run;
        "launchSession_state" = 1;
        "launchSession_targetArch" = arm64;
        "operation_duration_ms" = 5515;
        "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_runnable_type" = 2;
        "param_testing_launchedForTesting" = 0;
        "param_testing_suppressSimulatorApp" = 0;
        "param_testing_usingCLI" = 0;
        "sdk_canonicalName" = "iphoneos16.0";
        "sdk_osVersion" = "16.0";
        "sdk_variant" = iphoneos;
    }
    --
    
    
    System Information
    
    macOS Version 12.6 (Build 21G115)
    Xcode 14.0.1 (21336) (Build 14A400)
    Timestamp: 2022-10-01T11:52:16+09:00
    
```
CC BY-SA 4.0
2022-10-01T03:51:45.873
91390
2022-10-01T04:02:10.487
2022-10-01T04:02:10.487
3060
43365
question
swift ios firebase
Unable to install XXX