0 Replies
      Latest reply on Nov 30, 2019 10:29 AM by Local Reasoning
      Local Reasoning Level 1 Level 1 (0 points)

        After the upgrade to Xcode 11, an existing app that once was debuggable on device can no longer be installed and debugged on device. It is failing with an unknown error. Same failure occurs on Xcode 11.2.1 and Xcode 11.3 beta. App debugging on SImulator works fine.

         

        This is not reporting a codesign or provisioning failure (I've seen those in the past). I'm hoping someone can help narrow down the culprits.

         

        Details

         

        Unable to install "NameOfMyApp"

        Domain: com.apple.dtdevicekit

        Code: -402620415

        --

        App installation failed

        Domain: com.apple.dtdevicekit

        Code: -402620415

        Failure Reason: An unknown error has occurred.

        User Info: {

            DVTRadarComponentKey = 487927;

            "com.apple.dtdevicekit.stacktrace" = (

          0   DTDeviceKitBase                     0x000000012692a6e7 DTDKCreateNSError + 109

          1   DTDeviceKitBase                     0x000000012692ade9 DTDK_AMDErrorToNSError + 792

          2   DTDeviceKitBase                     0x000000012696a56a __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 164

          3   DVTFoundation                       0x000000010b4ea156 DVTInvokeWithStrongOwnership + 73

          4   DTDeviceKitBase                     0x000000012696a301 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1589

          5   IDEiOSSupportCore                   0x00000001267f2a25 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4523

          6   DVTFoundation                       0x000000010b61b3ba __DVT_CALLING_CLIENT_BLOCK__ + 7

          7   DVTFoundation                       0x000000010b61ca92 __DVTDispatchAsync_block_invoke + 809

          8   libdispatch.dylib                   0x00007fff590635f8 _dispatch_call_block_and_release + 12

          9   libdispatch.dylib                   0x00007fff5906463d _dispatch_client_callout + 8

          10  libdispatch.dylib                   0x00007fff5906a8e0 _dispatch_lane_serial_drain + 602

          11  libdispatch.dylib                   0x00007fff5906b396 _dispatch_lane_invoke + 385

          12  libdispatch.dylib                   0x00007fff590736ed _dispatch_workloop_worker_thread + 598

          13  libsystem_pthread.dylib             0x00007fff592a4611 _pthread_wqthread + 421

          14  libsystem_pthread.dylib             0x00007fff592a43fd start_wqthread + 13

        );

        }

        --