I've been working on an app within Xcode that runs fine on the simulator. I wanted to try it on my device. However, I've been encountering a frustratingly vague issue every time I try to install/run it on my device. The installation fails and the message I get includes:
Unable to install "AppName" Domain: com.apple.dtdevicekit Code: -402620415 -- App installation failed Domain: com.apple.dtdevicekit Code: -402620415 Failure Reason: An unknown error has occurred.
The target deployment is set to iOS 13.2, the device is an iPhone X running 13.3, and Xcode is version 11.3 running on MacOS 10.15.1.
I've tested other apps on my device previously, though not since updating to iOS 13 and macOS Catalina and Xcode 11. Any thoughts/guidance are much appreciated!
Not really an answer per se. But I did a forced restart to my device (volume up, volume down, hold down wake/sleep/Siri button until Apple logo appears), and then I tried again. The app appeared to install correctly at that point and run on my device. So seems like something weird was going on, but I forgot the first rule of tech support: "Did you try power cycling your device?"
Anyway, leaving this here so that if someone else encounters this issue, they too may be reminded that it's worth trying a forced restart.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With