Xcode 7.3.1 with iOS 10 support - ios

Now I have an app based on Xcode 7.3.1 which runs fine. But one problem happened when I want to install the app to an iOS 10 device. It is said "Could not find Developer Disk Image". So I find a solution which is this: https://danielemargutti.com/solve-xcodes-could-not-find-developer-disk-image-error-how-to-run-projects-in-ios-10-device-using-xcode-7/
However, there is no 10.0 folder in the "/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport". So I found an easy way (looks like) to install both version of 7.3.1 and 8 which is this: https://www.quora.com/What-is-the-best-advice-to-install-Xcode-8-beta-alongside-Xcode-Version-7-3-1
The question is how can I only download the 10.0 folder rather than install Xcode 8 and make a link or copy/paste into Xcode 7.3.1? Thanks in advance of any other solutions.

I have that uploaded on Dropbox
iOS 10.0here
iOS 10.1here
iOS 10.2here
iOS 10.3here
iOS 11.0 here
iOS 11.1 here
iOS 11.2 here
iOS 11.3 here
iOS 11.4 here
iOS 12.0 here
iOS 12.1 here
iOS 12.2 here
iOS 13.0 here
iOS 13.1 here
iOS 13.5 here
iOS 13.6 here
NOTE: Swift 2.3 support is not available from Xcode 8.3 + versions
Go to your Applications -> Xcode 7.x version.
Right Click it and click on Show Package Contents and navigate to the path below :-
/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
And paste the unzipped folder (iOS 10.0) at the path mentioned above. It will look like this.
In the Device Support Folder for Xcode 7.3.1 version you currently will be having folders upto 9.3 only. Simply paste this iOS 10 folder there.
Finally, Quit and Restart your Xcode and plug in your iOS 10 Device.

Open Finder and from its Top menu click on "Go" and then click on "Go to Folder..."
You'll see one prompt and there paste this below line there,
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
You'll be redirected to "DeviceSupport" folder.
Now, Download folder from below link and unzipped it
https://drive.google.com/file/d/0B_9nnatiB3jRaElIeDQzWXNzeEU/view?usp=sharing
Copy and Paste that folder in "DeviceSupport" folder.
Restart XCode and enjoy :)

You can download iOS 11 official developer disk image from here
Unzip & Paste it in
Applications > Right Click on Xcode > Show Package Contents and follow the below directories and restart your XCode.
/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

Related

Xcode 10.3 failing to run on iOS 13 iPhone X - This iPhone X is running iOS 13.0 (17A577), which may not be supported by this version of Xcode

I updated to iOS 13 on my iPhone X and have Xcode 10.3 and am unable to run my project ton my phone. It gives me a notice of:
Could not locate device support files
and gives me this error:
This iPhone X is running iOS 13.0 (17A577), which may not be supported by this version of Xcode
I've looked everywhere, but since this release is new, how can I fix this?
Your version of Xcode does not have the supporting files for running iOS 13.
The easiest way to do that is to have Xcode 11 installed on your mac (or on someone else's mac) in addition to Xcode 10.3 (it's better to rename one of them)
Go to Applications folder, right click on Xcode 11 icon → Show Package Contents, navigate to folder Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
And copy the folder 13.0
Go back to Applications, right click on Xcode 10.3 icon → Show Package Contents, navigate to folder Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Now, paste that folder.
Quit Xcode and run again.
Happy Coding 👨‍💻
You should upgrade your Xcode to the latest 11.0 in App Store, which contain support for iOS 13.
I downloaded the Developer disk image for iOS 13.0 from here and added support file in Xcode Version 10.3 (10G8).
https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/13.0.zip
All other devices support list.
https://github.com/iGhibli/iOS-DeviceSupport/tree/master/DeviceSupport
Follow These steps.
Unzip downloaded file. Right click on Xcode and click on Show Package Content. Then paste your file on path.
Applications -> Xcode.app -> Contents -> Developer -> Platforms -> iPhoneOS.platforms -> DeviceSupport Then at last restart your Xcode.
It works for me.

How to fix Xcode error: Could not locate device support files on iPhone with Xcode

I have this error for the new iPhone X:
Could not locate device support files.
This iPhone X (Model A1865, A1901, A1902, A1903) is running iOS 11.1 (15B93), which may not be supported by this version of Xcode.
I'm running the latest version of Xcode (Beta 9.2 9C32c) which doesn't support the iPhone X (iOS 11.1). The problem is it's a brand new iPhone, and there are no older Configuration Files to do the switch talked in most of the solved posts.
Are there any other solution to this issue since downloading the latest version of Xcode is already what I'm running, and finding the Configuration Files to do the switch seems unlikely right now? Does anyone have those Configuration Files or know how to edit them to trick Xcode?
Answer: Xcode: Could not locate device support files
Well, I found non of the answers logged out here aren't complete and sustainable. So here we go.
Most importantly don't waste your time and internet bandwidth downloading Xcode just to resolve this issue which you can do within few MBs and little bit of OS know-how!!!
Step 1:
Following GitHub Repository seems to be up to date with all the required Support Files which are helpful to resolve. And it seems like this repository gets updated quicker as possible. Check out it for yourself and you are halfway done.
https://github.com/filsv/iPhoneOSDeviceSupport
Step 2:
Select and download the Support files which are missing for your Xcode, which you can get the clue out of the above alert message. In my case I was informed to download 11.4 (15FCA...something). So I went and downloaded the latest iOS Support files:
Which were under the path of iPhoneOSDeviceSupport/11.4 (15F5061c)/
DeveloperDiskImage.dmg
DeveloperDiskImage.dmg.signature
Step 3:
And then place them inside the DeviceSupport folder which is in a related path to your Xcode installation. In my case, I've installed Xcode 9.2 so my path to DeviceSupport looks like as follows:
/Applications/Xcode-9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Step 4
Place the two files you downloaded in a folder named 11.4 (15F5061c).
Clue: In your case make sure to name it after the specific iOS version you downloaded the files.
Step 5:
Quit Xcode app if you had been already using it previously. Re-open it and try to run your app on your iPhone (or in iDevice of your previous attempt). Xcode will first warn you saying something like following:
Preparing debugger support for Randika's iPhone 6s
Soon after it's completed (probably after several attempts that you may have to try reconnecting your iPhone to Xcode), you would be able to successfully run your app on your preferred device.
How could you find this path?
Go to your Applications folder, locate Xcode-x.x.app file, right click on the Xcode app and select "Show package contents" as follows:
And then navigate to the DeviceSupport folder within the Finder App as follows:
Hope this would be helpful to any of you!
Cheers!
I had the same issue with my iPhone 8, Xcode Beta 9.2 did not support my version of iOS 11.1.
However Xcode 9.1 does support my version of iOS 11.1
This error can be fixed with 2 ways.
1.You need to keep updated with latest Xcode versions.
2.You can fix it without updating to latest Xcode, in this you just need to update device support file,
To update device support file just follow the steps,
You can find the Device support file and update it with the below path details,
Path-
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceS‌​upport/
You can download device support file from this links
11.1
11.2
All iPhoneOSDeviceSupport
You can download all iOS-DeviceSupport
iOS 13.0
13.3 (17C54)
13.2 (11C29) (From Xcode11.3)
13.2 (11B500) (From xCode11.2.1)
13.2 (From xCode_11.2.1_GM_Seed)
13.2 (From xCode_11.2_Beta_1)
13.1 (From xCode_13.1)
13.0 (From xCode_11_Beta_7)
13.0 (From xCode_11_Beta)
iOS 12.3
12.3 (From xCode 11 beta)
iOS 12.2
12.2 (16E226). (From Xcode_10.2.1)
12.2 (16E5212e). (From Xcode_10.2)
12.2 (16E5181e). (From Xcode_10.2_Beta)
iOS 12.1
12.1 (From Xcode_10.1)
12.1 (16B91). (From Xcode_10.1)
12.1 (16B5084a). (From Xcode_10.1_Beta_3)
12.1 (16B5068g). (From Xcode_10.1_Beta_2)
12.1 (16B5059d). (From Xcode_10.1_Beta)
How to add a file in xCode
Open Finder
Open the application folder
Find the Xcode app inside
Click on Xcode, right click -> show package contents
Find the supported real machine test files in the following directory hierarchy:
Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport(/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport)
The above directory is the real version of iOS that Xcode supports real machine debugging, as shown below:
Then copy the latest DeviceSupport file to this directory through other channels and restart XCode to debug with the latest iOS device.
I'm uncomfortable downloading shards from 3rd parties; also, it sounds like the iOS 13.2 support file linked above is based on a beta, which now crashes.
I would recommend downloading Xcode directly from Apple, and install the new version side-by-side with the version of Xcode which you need to use (if you're pinned by a Swift binary framework, for example).
rename your current Xcode application bundle (Xcode --> Xcode_11)
download latest Xcode from AppStore (Xcode 11.2)
launch new Xcode, installing Command Line Tools, then exit
launch your older Xcode (Xcode_11), and build and run on device
In my case, device support files were already present but I was still facing the issue. The reason was that folder present at this path
/Applications/Xcode-9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
was having name 12.1 (16B91) but the xcode was giving error for 12.1 (16C101) so renaming the folder to 12.1 (16C101) did the trick
I was able to run it, by first using BuddyBuild.com to send me a tester app through email, that I downloaded successfully. After that, I was able to build the app.
Open Xcode show package content
go to /Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport and drop the 13.0 folder into this folder and restart the Xcode.
Download the file here:
https://bitbucket.org/bneves/ios13_devicesupport_xcode_10.3/

Download Xcode simulator directly

I have downloaded Xcode 6.2 today which replaced previous Xcode 6.1
now to use simulator 7.1 & 8.1 it asks to download both simulators , but for some reason after trying 4-5 times it shows network issues in downloading or request time out (note: in n/w diagnostic after it shows net is working properly)
so is there any direct link from where i can download the simulator package directly or somewhere at least it shows progress in percentage/size instead just a bar
if it's not possible i have read about copying the older simulator to new Xcode so how can i place the old simulator(7.1 & 8.1) in Xcode 6.2 that it works directly without downloading again
Clicking on Download in Xcode didn't do anything - the progress bar did not progress (does that make it a regress bar?).
This is what worked for me:
Open Xcode, open preferences, go to the Components section.
Open the Console App, clear the console.
Go back to the Xcode preferences. Start the simulator download, then cancel it.
Now in the Console, you will see something about the cancellation with the download URL.
Copy the URL from the Console. Then in Terminal in some suitable scratch folder, download it:
curl [the url you copied] -O (the letter O, not a zero)
Finally, copy this file to ~/Library/Caches/com.apple.dt.Xcode/Downloads
Remove all *.dvtdownloadableindex files (maybe it doesn't matter, but I removed them).
In Xcode, in the Downloads section, start the Simulator download again, it should find the file you downloaded and install it.
How easy was that! Only 7 steps, hah!
To add iOS Simulator in XCode perform below steps:
Download iOS Simulator from Below Link:
After download completes, copy this file to ~/Library/Caches/com.apple.dt.Xcode/Downloads
In some cases, we have to remove all *.dvtdownloadableindex files (maybe it doesn't matter, I didn't remove them).
In case directory ~/Library/Caches/com.apple.dt.Xcode don't have download folder then, just click Show package content create Downloads folder, before moving the dmg file.
In Xcode, in the Downloads section, start the Simulator download again, it should find the file you downloaded and install it.
(Newest on top. only the latest revision is kept in the list.)
Simulator Link:
iOS 15.5
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK15_5-15.5.1.1653527639.dmg
iOS 15.4
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK15_4-15.4.1.1650505652.dmg
iOS 15.2
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK15_2-15.2.1.1643410298.dmg
iOS 14.5
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_5-14.5.1.1621461325.dmg
iOS 14.4
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_4-14.4.1.1611903691.dmg
iOS 14.3
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_3-14.3.1.1611873653.dmg
iOS 14.2
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_2-14.2.1.1605311653.dmg
iOS 14.1
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_1-14.1.1.1604100028.dmg
iOS 14.0
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_0-14.0.1.1604100028.dmg
iOS 13.7
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_7-13.7.1.1599165590.dmg
iOS 13.6
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_6-13.6.1.1597276955.dmg
iOS 13.5
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_5-13.5.1.1591226335.dmg
iOS 13.4
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_4-13.4.1.1586370836.dmg
iOS 13.3
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_3-13.3.1.1580170331.dmg
iOS 13.2
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_2-13.2.1.1575590084.dmg
iOS 13.1
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_1-13.1.1.1571440502.dmg
iOS 13.0
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_0-13.0.1.1571440502.dmg
iOS 12.4
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK12_4-12.4.1.1568665771.dmg
iOS 12.2
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK12_2-12.2.1.1557987768.dmg
iOS 12.1
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK12_1-12.1.1.1543439531.dmg
iOS 12.0
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK12_0-12.0.1.1537588161.dmg
iOS 11.4
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_4-11.4.1.1527703358.dmg
iOS 11.3
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_3-11.3.1.1524350608.dmg
iOS 11.2
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_2-11.2.1.1516308624.dmg
iOS 11.1
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_1-11.1.1.1510784422.dmg
iOS 11.0
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_0-11.0.1.1508875951.dmg
iOS 10.3.1
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK10_3-10.3.1.1495751597.dmg
If someone is searching in 2019, I have a better solution than looking at messy Console app.
1/ Open Terminal and run sudo /Applications/Xcode.app/Contents/MacOS/Xcode
to open Xcode in sudo mode.
2/ Xcode > Preferences > Components > Download then cancel the simulator you want to download.
3/ Go back to Terminal, it will log the Downloadable with the Simulator link, copy that to Safari to download it.
Follow these steps to add a (new) simulator (Xcode 9 onwards)
Click on Simulator icon and open simulator list.
At the end of list, there is an option to add new simulator "Add Additional Simulator". That will open 'Device & Simulator' window.
Switch to 'Simulator' tab.
There are three field in simulator tab.
Click on '+' icon, on left bottom corner of window.
Simulator Name: Enter simulator name here
Device Type: Select iPad from this dropdown list
OS Version: Select OS version from this dropdown list
Click on 'Create'
A new simulator will be added in your Simulator option list.
Look at this snapshot to understand flow of above steps:
And if there is no simulator/OS version in simulator list, you're looking for,
Click on Simulator icon and open simulator list.
At the end of list, there is an option to add new simulator "Download Simulator". That will open 'Component' window (from Xcode >> Preferences).
Select/click simulator from list, which you need to download.
Look at this snapshot:
So a quick tip for the people who use a download manager to download the .dmg file and didn't manage to get it work.
Once you place the file inside the 'Downloads' folder,
Copy and paste the url somewhere and copy the file name alone.
( for me I was downloading iOS 9.3 so the url was -
https://devimages.apple.com.edgekey.net/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK9_3-9.3.1.1460411551.dmg
and rename the file you just copied to the 'Downloads' folder, even if it looks exactly the same.
I wasted 2 to 3 hours trying to figure this out. The problem is that the filename looks exactly the same. But there was an extra space somewhere.
Another Tip: Also to get the download url - open system console. Make sure all messages are selected and search for xcode inside the Search box. Go to xcode simulator download screen, start and stop the download for the simulator you want and check inside console log. You should find the url there.
so is there any direct link from where i can download the simulator
package directly or somewhere at least it shows progress in
percentage/size instead just a bar
You can't download the simulators package directly. Instead, you can download the xcodes from developer.apple using this link, which provides you the required simulators.
If you want the old simulators in new Xcode, download the desired Xcode using the above link,after downloading it, Open the DMG or open your existing older Xcode, right click on the Xcode application and click 'Show Package Contents', navigate to:Contents/Developer/Platforms/iPhoneSimulator.platform/Developer, copy the found simulator folder (eg. iPhoneSimulator7.1.sdk folder), repeat steps 2 & 3 for your current Xcode application, paste the simulator folder,restarting the Xcode will show you the new added simulators.
Open iPhone 11 iOS 13.6 Simulator with Xcode 12 in Visual Studio for Mac(Xamarin):
You have to install both Xcode 12.0 & Xcode 11.6
First open 11.6 simulator then open visual studio
Go to Visual Studio Preferences and change Xcode SDK to point Xcode
11.6 version and Restart studio
Once it restart again Goto Visual studio preferences and set Xcode
SDK path to point Xcode 12.0 and Restart it
Now close 11.6 simulator and after Visual studio starts voila you
will see iPhone 11 iOS 13.6 Simulator option in list of simulators
Note: This steps are performed in Visual Studio for Mac 2019
The download links for all Apple platform runtimes are available here:
https://devimages-cdn.apple.com/downloads/xcode/simulators/index2.dvtdownloadableindex
Runtimes for Apple platforms from 20221 can be installed with the xcrun simctl runtime add command:
xcrun simctl runtime add iOS_16_Simulator_Runtime.dmg
Earlier platforms can use xcodes:
sudo xcodes runtimes install "iOS 15.0"
Follow below step to get new simulator with supported/different OS,
Open Xcode, open preferences, go to the Components section.
Go back to the Xcode preferences. Start the simulator OS download.
Now go to simulator open files and open simulator.
You can see your downloaded OS, Run and Test.
Often, what it takes with Xcode is a good 'ol fashioned restart. This didn't work for me, so I restarted my MacBook Pro. Now it works :)
It's a quick thing to do when you're stuck.

How to Add iOS 6.0 Simulator in Xcode 5?

i want to add iOS 6.0 Simulator in Xcode 5 for that i add SDK in my Xcode 5 Content Folder From Xcode 4.5 like as
Xcode 4.5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDK/iPhoneOS6.0SDKs/
And Copy this SDK Folder in Xcode 5 Folder as
Xcode5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDK/iPhoneOSSDKs
folder but it is not Display iOS 6.0 In my Xcode 5 Simulator.
Here i not want to Download so please Give me Solution With out
Download Option.
Go to Xcode->Preferences->Downloads
From there you can download iOS 6 simulator.
Copying SDK is just gives a support to that simulator but to view iOS 6.0 simulator in a list (simulator interface), You must have to download it.
Of course it will work for the older OS SDKs, I mean copying older SDKs from older Xcode to newer Xcode SDKs will give you support to create build for older iOS version and it will also supports older OS version APIs, but it will not work for Simulator as you expected.
Try to understand that to copy sdks from Xcode 4.5 will not work for new APIs. This can not be the way you are trying to do.
You must have to follow the regular download way!!
Click on Xcode preferences >> Go to Downloads section
Download simulator from Components section.

Can you use XCode6.3 with IOS7.1 SDK

Is it possible to use XCode6 beta with an IOS 7.1 SDK? The new tools are much nicer but I need to build for IOS7
Yes.
1. First download 7.1 SDK - XCode6Beta > Preferences > Downloads > iOS 7.1 Simulator.
Note: XCode6-Beta can co-exist with regular XCode (XCode 5.x). But when you download iOS 7.1 Simulator, it actually gets downloaded into XCode 5's path!! (probably a bug).
Open XCode5's SDKs folder..
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
Open XCode6-beta's SDKs folder..
/Applications/Xcode6-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
Copy iPhoneOS7.1.sdk from XCode5's to XCode6-Beta's SDK folder.
Restart XCode6-beta
Now if you go to Project's Build Settings, Base SDK, you will see 7.1 along with 8.0.
Enjoy!
I'm using XCode6 and SDK version 8 regularly now, but I had to compile an app with version 7 of SDK, because version 8 was causing a lot of problems on devices with iOS8 installed, while in devices with iOS7 installed everything was running fine.. (!!)
I then:
went to XCode Downloads
browsed through some pages in order to get the latest XCode 5 version and downloaded it
opened the DMG with Image Mounter
rightclicked XCode icon and selected "Show package contents"
browsed Finder through Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
copied iPhoneOS7.sdk and pasted it to /Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
restart XCode
now you can select SDK 7.1 as the one to use in your project
this has immediately solved all of my issues with the app
From the command line, you can copy the 7.1 SDK from the current Xcode distribution to the Xcode 6 Beta distribution like this:
cp -r /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk /Applications/Xcode6-Beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
The example above will recursively copy the contents of the iPhoneOS7.1.sdk folder to the appropriate destination for Xcode6-Beta5 . Copying the SDK to Xcode6-Beta6 would require adjusting the command line to point to the Xcode6-Beta6.app folder.
So we had a very similar issue, our goal was to debug an issue that only appears on iOS 8 (with an app built in xCode 5 on the iOS 7.1 SDK). We were trying to use xCode 6, but found it too unstable, and then decided to go back to xCode 5 and debug using UIAlertNotifications (as we could previously not connect our iOS 8 device to xCode 5)
After connecting our iOS 8 device to xCode 6, when we re-opened xCode 5, our iOS 8 device was recognized and we were able to debug using NSLog statements (break points still caused our app to crash - making it apparent that the issues related to break points are with iOS 8 rather than xCode 6 as others have suggested)
I hope this info is of some help to others out there!

Resources