Today upgraded the ipod SDK to Ios8,xcode only support to 7.1, the real-machine debugging encountered problems??? Here's the solution!
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.
Originally wanted to add a few pictures, but did not find how to add, csdn this point a bit pit! are plain text, it should be a bit dull, but should be able to understand.
What to do if Xcode does not perform a real-machine debug after upgrading the iOS SDK