Real debugging basically means installing your App on your iPhone or iPad and debugging it (crap).

Note: If you encounter the following popup box during the whole process, be sure to input your Mac boot password and always click “Allow” (students who have clicked “Refuse” can leave a message to me for help).

Connect your iPhone or iPad with a USB cable

Open the project with Xcode (make sure the Bundle ID is unique)

Find Team here (below)

Click Add Account

Pop up a window and type in your usual Apple ID

After entering, the Team name and Role should appear in the lower right corner of the whole large window (Apple ID that is not registered as a paid developer account is displayed as User).

Pit: If No Teams is still displayed,

Go to theApple Developer websiteClick on Account in the upper right corner, log in with your Apple ID, type in some information, and wait a day or two.

Go back to the Xcode home page and select the account you just added from the Team

Click the play button in the upper left corner or press Command+R. If the iPhone does not have a boot password, it will ask you to set it, and the following window will pop up:

Open iPhone- Universal – Description file

Point gear. – Point trust

If the iOS version of iPhone is earlier, a pop-up box will also be displayed. If you don’t want to upgrade or can’t upgrade, you can select the iOS version number matching the iPhone here on the main page of Xcode

To debug wirelessly, make sure the iPhone and Mac are on the same Wi-Fi, then click on the upper menu bar window-Devices and Simulators:

In the Devices field, select Connect Via Network. After a while, a globe will appear on the iPhone on the left, and OK can happily go without the T (yuck, no line).

Special note: it seems that the free developer account can only install 7 apps in 10 days, so don’t be too aggressive.

Commercial time: Little brother iOS12 zero basic video tutorial, advanced version is also in production:

M.study.163.com/provider/48…