Solution to the problem of getting stuck on the startup page when debugging iOS 14.2 devices with Xcode

After accidentally upgrading the phone to the latest iOS14.2, the current Xcode12.1 cannot run, but the official version of Xcode12.2 has not been updated on the appstore, so I went to https://developer.apple.com/ download/more/  Download the Xcode12.2 Release Candidate version, find its iOS14.2 real-machine debugging package, and add it to the current Xcode's DeviceSupport, so you can achieve perfect real-machine debugging. But I encountered a new problem. When running on the real machine, I found that the app was stuck on the startup page. The Xcode console did not have any printout or error, but it was not always stuck. It usually takes about 4 minutes to enter the home page. , the confused look on his face is really confusing. After various searches, I finally found the solution. The solution is as follows:

First, delete the iOS14.2 folder under the path ~/Library/Developer/Xcode/iOS DeviceSupport/; note that this path is the Library under the current user. You can use the terminal cd to go there. Direct cd may report an error that it cannot be found. path, then cd step by step, first cd Library instead of cd ~/Library

 

You can also find the file location by going to the folder /Users/***/Library/Developer/Xcode/iOS\ DeviceSupport as shown above;

Then

Then go to Xcode --- Window --- Devices and Simulators 

Then restart Xcode to solve the problem of being stuck on the startup page for a long time before entering the home page.

Note that you need to reconnect after Unpair to see the current device. Of course, if you do not need to use wireless debugging, you do not need to reconnect.

Guess you like

Origin blog.csdn.net/qq_37269542/article/details/109615307