Xcode 12:在设备上运行代码非常慢

K.P*_*dey 1 xcode ios14 xcode12

在 xcode 12 上运行的代码非常慢。总是在启动屏幕上停留 5 到 10 分钟,也点击了链接,但这没有多大帮助。

转到〜/ Library / Developer / Xcode /并删除“iOS DeviceSupport”的内容,并删除“iOS设备日志和”派生数据”的内容

https://developer.apple.com/forums/thread/651012?login=true#reply-to-this-question

use*_*102 5

这两个步骤为我解决了这个问题:

A.删除iOS DeviceSupport (~/Library/Developer/Xcode/iOS DeviceSupport)

B. 变更方案

 1. In the XCode menu, Go to Product > Scheme > Edit Scheme

 2. Open the Info tab.

 3. Uncheck the Debug executables checkbox.
Run Code Online (Sandbox Code Playgroud)

祝你好运!