A. Real machine Debugging Chapter
1. The "Xcode cannot launch project name on the phone name because the device is locked" appears. Real-Machine debugging tips.
Workaround:
Solution 1: The lock screen status may cause a minor error, open the screen first, and then run the project.
Workaround 2: The above error is still indicated after the screen is open, please follow the steps below to resolve the problem
(1) Unplug the device
(2) Turn off Xcode
(3) Open Xcode file
(4) Computer connection equipment
(5) Build/run
Summary: If you encounter the development of wonderful miracle can not be solved, do not persist in kept with her rivalry, clean up (SHIFT + command +k) Xcode, mobile phone unplugged in a bit, remove the phone app on the installation, mobile phone or Xcode restart, It is possible to solve your wonderful problems. If still not, then you have to see if your code has a problem, if not, you should ask someone or Baidu a bit.
Some of the wonderful bugs in iOS