iOS development--Actual &xcode 7 real-machine test

Source: Internet
Author: User

Xcode 7 Real-machine test details

1. Preparation

Note: Be sure to have your real device's system version and the app's system version want to correspond, if not, a very common problem arises: could not find developer disk image

First of all, prepare the following equipment and machine related software

    • Mac Version: OSX10.10.4
    • Xcode version:Xcode7 beta5 (click to download )
    • Real-Machine device: IPad Air (IOS 8.1.3)/iphone 6

2. first install Xcode7, and run Xcode, click on the top left menu Xcode---Preferences.

3. Set up a good version

4. Download the appropriate SDK, you can also put it online, Xcode is too slow to 5 hours or so.

5. Click Accounts, then click on the + sign below, and in the pop-up menu, tap Add Apple ID.

6. Enter the account number and password in the box, the normal account will not need the developer account, then click Add.

7. If the account password is correct, it will be displayed as. Free means no charge but can be debugged at no cost, double-click to open.

8. In the open list, select IOS development-> click Create.

9. As shown, then click Done to close

10. Click Window->devices on the menu bar. Connect your ipad to your computer at the same time.

11. In the ipad pop-up dialog box, select Trust, and then appear as shown, close the window after connecting

12. Open or create a new project to change the iOS Deployment target in the project to the system version of the ipad. 13. Select the real-machine test (if the version is grayed out and the version is not required) 14. Then click Team. 15. Select the account you just added 16. Then click Fix Issue 17.xcode will automatically generate provisioning profiles 18. Click menu Xcode---Preferences. 19. Double-click to enter 20. Select the item you just clicked, right-click and click Show in Finder. 21. Then double click, the file will be installed automatically, go back and click Done to close 22. Click menu, window, Devices. 23. Select ipad Right-click and then click Show Provisioning Profiles. 24. When you see the item, click Done to close 25. Click RunAfter running, the corresponding app interface will be displayed on the real machine. Below is a summary of some of the Xcode7 common error machine Pit solutions!

1: Do I need to install the latest iOS9 beta/osx EI Capitan for real machine debugging?

      • iphone does not have to upgrade the latest version, but it seems that Xcode7 can only be run on the latest system (may need to upgrade, according to their own version number to decide)

2: After selecting a good account, click "Fix Issue" to enter the school error:

      • To try again with a new Apple ID, this is a bug because your Apple ID may be associated with one (or more) company (team) developer accounts (i.e. you are joining one), so you only have to apply for a clean account. Find the method can refer to the foreign website (need FQ, bring your own ladder).
3:connect the real machine "Could not find Developer Disk Image" Hint "This is one of the important mistakes that the mouth mentioned when it started.
      • This is due to the problem that there is no iOS 8.4 inside the Xcode7 causing the 8.4 system to appear on the phone
      • in the "/applications/xcode-beta.app/contents/developer/platforms/iphoneos.platform/devicesupport" Xcode7.0beta supported devices are listed in the
      • We can download IOS8.4 to put it in the above directory.
      • : http://download.csdn.net/detail/a892445213/8867693

4: Bitcode error in Friends or SHARESDK ?
      • You cansearch for Bitcode in build S etting, and the Enable Bitcode is set to NO

iOS development--Actual &xcode 7 real-machine test

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.