Xcode 11.3-无法在设备上运行 [英] Xcode 11.3 - Unable to run on device
问题描述
我一直在Xcode上开发一个可以在模拟器上正常运行的应用程序.我想在我的设备上尝试一下.但是,每次尝试在设备上安装/运行该问题时,我都会遇到一个令人沮丧的模糊问题.安装失败,并且我收到的消息包括:
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:
无法安装"AppName"域:com.apple.dtdevicekit代码:-402620415-应用安装失败域名:com.apple.dtdevicekit代码:-402620415失败原因:发生未知错误.
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.
目标部署设置为iOS 13.2,设备是运行13.3的iPhone X,Xcode是在MacOS 10.15.1上运行的11.3版本.
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.
我以前已经在设备上测试过其他应用程序,尽管自从更新到iOS 13和macOS Catalina和Xcode 11以来就没有测试过.任何想法/指导都将不胜感激!
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!
推荐答案
- 进入常规
- 删除应用
- 重新启动手机
- 确保您在ios即13.4上运行新的os版本
- 重新启动后,重新连接手机
- 在Xcode上选择手机,运行它
这篇关于Xcode 11.3-无法在设备上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!