Xcode7.2 how to debug iOS 9.3 devices on the real machine

Source: Internet
Author: User

In the test iOS app or the development process, there will always be a variety of upgrades, such as Xcode upgrade, MAC OS upgrade, iOS system upgrade, this kind of upgrade, personal more annoying is the iOS system upgrade, it always in your debugging code or test process to give you a dialog box, such as:

Perhaps your hands shake, the iphone will start silently upgrade ... Upgrade to the bar, anyway, it will be installed, until you upgrade to 9.3.1, bad luck began. When you take the new iOS system to debug code, Xcode will tell you: you are 9.3.1 ah, my Xcode 7.2 system does not support AH, you upgrade the IDE. Then there is the cold frame:

The error is that Xcode cannot find a corresponding disk image, generally because the iphone system is too high or too low, and the current version of Xcode does not have a corresponding disk image (that is, the corresponding configuration file).

In general, this error, I will go to upgrade Xcode system to 7.3, but sometimes there is an urgent test task, need to pack to the real machine for testing, it is impossible to spend a few hours to upgrade Xcode, then how to do?

Solution:

In fact, each time the upgrade of Xcode, will be in this path with the corresponding iphone system configuration package files:

/applications/xcode.app/contents/developer/platforms/iphoneos.platform/devicesupport This directory has all the real-computer systems that your current Xcode supports, such as , is my Xcode 7.2 supported real-computer system:

Obviously, there is no 9.3.1 system. Here, it is estimated that you can also guess how to solve the problem that Xcode 7.2 does not support iOS 9.3.1, yes, you have upgraded the configuration files in Xcode 7.3 to your directory, the problem is solved.

A link to the configuration file for iOS 9.3 is attached: http://yun.baidu.com/share/link?shareid=3027970673&uk=1460540684

Unzip the file and copy it to the/applications/xcode.app/contents/developer/platforms/iphoneos.platform/devicesupport directory.

It is important to note that after the 9.3 configuration file is copied, the Xcode reboot and then compile, if not, you can try to restart the Mac, if normal, will re-scan the symbol file, to scan the completion, you can do the real machine debugging.

Xcode7.2 how to debug iOS 9.3 devices on the real machine

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.