iOS development actual combat article---Xcode7 free real machine test process

Source: Internet
Author: User
Tags prepare
Xcode 7 True machine test detailed

1. Prepare

Note: Be sure to make your system version of the real machine and the system version of the app to correspond, and if not, a very common problem arises: could not find developer disk image

First, prepare the following device-related software Mac version: OSX10.10.4 Xcode version: Xcode7 beta5 (click to download) True machine device: IPad Air (IOS 8.1.3)/iphone 6

2. First install Xcode7, and run Xcode, click on the upper left corner menu Xcode-> Preferences.

3. Set a good version

4. Download the corresponding SDK, can also be placed online, Xcode too slow to 5 hours or so.

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

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

7. If the account password is correct, the following image will be displayed. Free means no charge but can be debugged for no charge, double click to open.

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

9. As shown in the following figure, click Done to close

10. window->devices on the Dot menu bar. The ipad is also connected to the computer.

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

12. Open or create a new project to change iOS deployment target in the project to the corresponding system version of the ipad.   13. Select the True machine test (if the gray description version does not need to lower version) 14. Then point the team.   15. Select the account you just added 16. Then click Fix Issue 17.xcode to automatically generate provisioning Profiles 18. Click on the menu Xcode-> Preferences.   19. Double-click into 20. Select the item just now, right-click and click the show in Finder.   21. Then double-click, the file will be automatically installed, back to the same place after clicking Done Close 22. Click the Menu window-> Devices.   23. Choose ipad Right click, then click Show Provisioning Profiles. 24. After you see the project, click Done to close 25. After clicking Run Run will display the corresponding app interface on the real machine below will summarize some about Xcode7 common error machine various pits solution.

1: I need to install the latest iOS9 Beta/osx EI Capitan to True machine debugging. The iphone doesn't have to upgrade to the latest version, but it seems like Xcode7 can only run on the latest system (it may need to be upgraded, depending on its version number)

2: Select a good account, click "Fix Issue" appear in the school error: Need to change a new Apple ID and try again, here is a bug, this is because your Apple IDS may be associated with one (or more) company (team) developer account (that is, you are in a group), so you only have to apply for a clean account. Find a way to refer to a foreign website (need FQ, own ladder). 3: Connect the true machine "could not find Developer Disk Image" Hint "This is an important error that was mentioned at the beginning of the mouth. This is because Xcode7 does not have iOS 8.4 which causes 8.4 systems under the phone to appear on the problem in the"/application S/xcode-beta.app/contents/developer/platforms/iphoneos.platform/devicesupport "lists the devices supported by Xcode7.0beta We can download IOS8.4 to put it in the above directory. Download Address: http://download.csdn.net/detail/a892445213/8867693 4: SHARESDK in the league or Bitcode error. You can search for Bitcode in build setting, and the Enable Bitcode set to NO

Related Article

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.