Xcode suddenly can't debug the real machine

Source: Internet
Author: User

Mobile phone upgrade system has not been re-commissioning of the real machine, today to interview the phone plug in the sudden display of the iphone (unavailable), select their device after running the discovery pop-up warning could not find developer disk image, I got a picture from the Internet, exactly the same as I was.

The afternoon in a hurry with the book to interview also be despised, said I because are online code, will not be compatible, bar, bar, the moment I so long since the effort to downplay the naught, good want to put his face on the laptop. Because at that time the first encounter this situation also did not come and understand to go out, so although explained that version incompatibility is always downward is not upward, but look at the interviewer a face I know you are novice is you do not look, heart good plug. Who made himself not clear at that time, the feeling of the same thing (despise oneself down)

Back to the point, in fact, my problem is very good solution, my current Xcode does not have my mobile version of the SDK, the phone rose to sdk9.1, Xcode did not do the corresponding upgrade, but also stay in sdk9.0.

But there are some people on the internet who say that upgrading Xcode is not possible, for the same reason that the SDK version of the phone does not match the version supported by Xcode

The following Web-based program

Find Xcode, right click, open Display package content, by Path Contents/develpoer/platforms/iponeos.platform/developer/sdks, this time you see the installation package, Mine is IPHONEOS7.1.SDK.
Then copy the SDK and name it IPHONEOS8.0.SDK
And then Contents/develpoer/platforms/iponeos.platform/devicesupport, here you will see such a series of folders, find the largest folder of that number, I here is 7.1 (11d167),
Copy a copy to Devicesupport folder, renamed you 8.0 (12a365) (Why to change the name, go to your phone to find the version number, the version number is just)
One more step, according to the way of finding the path, find the Sdksettings.plist folder, all of which are related to the version number is changed to the latest version of the iOS SDK, I will change 7.1 to 8.0
And then connect to the real machine, this time can be debugging the real machine.

Xcode suddenly can't debug 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.