Xcode7 real machine debugging and xcode7 real machine debugging
1. Prepare
MAC version: OSX10.10.4
Xcode version: Xcode7 beta5 (click to download)
Real machine device: iPad Air (iOS 8.1.3)
2.First install Xcode7 andRun Xcode and click Xcode> Preferences in the upper left corner.
3. Set the version
4. Download the corresponding SDK and put it online. Xcode is too slow for about five hours.
5. Click Accounts, click the + sign below, and click Add Apple ID in the pop-up menu.
6. Enter the account and password in the pop-up box. The common account does not need a developer account, and then click Add.
7. If the account password is correct, it will be displayed, as shown in. Free indicates that you are not paid but can debug it for Free. Double-click it.
8. Select iOS Development in the open list and click Create.
9. As shown in, Click Done to close
10. Click Window> Devices on the menu bar. Connect the iPad to your computer.
11. Select trust in the pop-up dialog box of the iPad, as shown in, and close the window after connecting to it.
12. Open or create a new project and change iOS Deployment Target to the system version corresponding to the iPad.
13. Select a real machine test (if it is gray, it indicates that the version is not correct and the version must be downgraded)
14. Click Team.
15. Select the account you just added
16. Click Fix Issue.
17. xcode automatically generates Provisioning profiles
18. Click Xcode> Preferences in the menu.
19. Double-click to enter
20. Right-click the project and Click Show in Finder.
21. Double-click the file and the file will be automatically installed. Go back to the original location and click Done to close it.
22. Choose Window> Devices.
23. Right-click the iPad and Click Show Provisioning Profiles.
24. Click Done to close the project.
25. Click Run.