Adding the iOS6.1 simulator to Xcode 6 - ios

I have tried to add the iOS6.1 simulator from the Xcode 4.6.3 package to Xcode 6, but it doesn't show up.
I followed the instructions on this post: How to Install Older iOS Simulators in XCode 4.2.1 (SDK5.0) to set it up and copied the "iPhoneSimulator6.1.sdk" to /Applications/Xcode/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDK. However it doesn't show up when trying to create a device.
Are there any extra steps I need to take?

You can install Xcode 5.1 side by side with Xcode 6 to run the iOS 6 simulators. It seems you can't link all the simulators into the same version of Xcode any more.
You can however move apps compiled for one simulator to the other. Just be careful which are i386 and which are 64 bit. See Install iOS 6 simulator on Xcode 6

Xcode 6 does not support simulators older than iOS 7.

Related

Can I add iOS simulators from old Xcode 6.4 to new Xcode 7 without downloading?

I have installed new Xcode 7.0 which showing ios 9.0 simulator alone.
Already my Xcode 6.4 had iOS version 7.1 and 8 series simulators.
How can I add the simulators from my old Xocde 6.4 to new Xocde 7 without downloading.
Please help me out this..
You need to install the necessary simulators in each version of Xcode separately. Use Xcode -> Preference -> Downloads option.
Also iOS 7.x simulators not available for Xcode 7
It allows only to copy simulators from one machine to another machine for same Xcode versions
Ref

iOS 9 not supported by Xcode 6.4

The iOS 9 update is not supported by Xcode 6.4 for testing purpose. is there a workaround to connect my device to Xcode for testing. If not can I roll back my update to ios 8.4.1( previous update ).
There is a way to deploy to iOS 9 devices with Xcode 6.4. I ended up doing this because I of course had updated my phone right away, but I did not quite want to go to Xcode 7 due to Swift 2 and the lack of support by coacoapods, yet.
Here is what I did:
I downloaded Xcode 7, but did not install it.
Instead I browsed inside the dmg file (Show Package Contents on right-click) to /Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport.
I then copied the folder named 9.0 (13A340) into the same location of my current installation of Xcode 6.4.
Lastly I renamed the existing 8.0 (12A365) folder to just 8.0 - I am not sure if this is necessary.
I am now able to deploy to my phone with iOS9 from Xcode 6.4.
I hope this is helpful to somebody!
The iOS 9 update is not supported by Xcode 6.4
You've hit the nail on the head. iOS 9 is not supported in versions of Xcode earlier than iOS 7. Just update to continue developing.
This worked for me to allow me to test my app that was built against the iOS8 SDK (on XCode 6.4) on a physical iOS9 device.
Rename XCode to Xcode 6.4 in the Applications folder
Install Xcode 7 from the downloaded DMG (don't update from the AppStore)
Open XCode 7 and build a test project (it can be an empty iOS9 app) and run it on your physical iOS9 device
Close Xcode 7 and open XCode 6.4
Build your app against the iOS8 SDK and debug on the physical iOS9 device
It seems like debugging on XCode 7 first updates something on the device and then XCode 6.4 can debug properly.
(This is useful for example, if you don't want to migrate your Swift 1.2 code to 2.0 yet)

iOS 9 not supported on Xcode 6.3

I downloaded the iOS 9 beta for the iPhone 5s and wanted to test an application that I have finished but now it says that my iPhone is an ineligible device. Is there a way I can still run apps on my iPhone without downloading the Xcode 7 beta?
You can RUN App on iOS 9 device using Xcode 6, But firstly you need to build your app on XCode 7, after that it will support on XCode 6.
I dont know the reason.
I have checked this on My Mac.
[EDIT]
Steps
Build the project on Xcode 7 while Xcode 6 is opened on the same
project.
Disconnect the device and reconnect it.(Now u can run ur app on XCode6, It may take little time to load device)
When i have checked iOS9 with Xcode6, Bugs are very less.
So i have plan to support iOS9 with XCode6 for quick release. Later i will do for XCode7.
You can build to an iOS 9.0 or 9.1 beta device from Xcode 6.4, not out of the box though.
Download Xcode 7.0 and/or Xcode 7.1 beta dmg, and copy the
Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/9.0 (13A340)
from Xcode 7.0 or:
.../9.1 (13B5110e)
from Xcode 7.1 beta folders to corresponding folder in your Xcode 6.x.
After restarting Xcode iOS 9.0/9.1 devices will no longer be marked an ineligible.
If you installed iOS 9 beta onto your iPhone, then you cannot develop on it without Xcode 7.
However, this is not a completely terrible thing; you can readily have both Xcode 7 and Xcode 6 on the same computer.
(What you cannot do, according to Apple, is revert your iPhone back to iOS 8 - but there are some comments below from people who were able to do it.)
Install the latest XCode. Keep both versions on your Mac. Give Keep Both when installing the new XCode and do not give Replace present XCode during the installation.
Go to application, right click XCode --> show package contents. Copy the latest version from the path:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
and copy to the Xcode you are currently working in the same path. Find the screen shots below and start working.
Happy coding.
Don't need build your project at Xcode 7.0, just open and select your device, after that, open your Xcode 6.4 and your device will automatically update the necessary things to build app by Xcode 6.4
Not the easiest or correct way. But if you really have to test once or twice in the device.
In Xcode,
Product -> Archive
Build for Ad-Hoc Distribution
Connect the device
Open Itunes, Select the device,
Select Apps, Drag and drop the .ipa file generated in step 2 to itunes
Press install
App will be installed to the ios9 device.
No, you have to download Xcode 7 beta since tools like the compiler and debugger are part of the IDE.
As stated on Apple Developer Website (here), Xcode 7 Beta has the Swift 2 compiler and SDK for iOS 9. My guess is, your current Xcode doesn't know how to compile for iOS 9 SDK.
However, Apple doesn't specifically mention Xcode 7 as a requirement. It states that OS X Yosemite or later is required.
I don't think you can specifically download an SDK that isn't supported inside Xcode. For example, you can go to Xcode -> Preferences -> Downloads and under Components you may see the iOS 9 Simulator.
If you go to the iOS 9 SDK and download it, it seems to only download the device OS and not the entire SDK.
In conclusion, I believe that the SDK "kit" is integrated with Xcode 7 that would allow you to develop on your iOS 9 Device. Without upgrading, I don't see you being able to do that. I could be wrong though.

iOS 6.0 simulator disappeared

I'm not able to test my app on iOS 6.0 simulator, because it disappeared. I definitely remember I downloaded it and for some time I could use it. When I click on more simulators to download it now, there is only iOS 7.0 and iOS 6.1 simulators. And for all I know, I have set the deployment target to 6.0 everywhere. Any ideas?
Apple withdrew the 6.0 simulator at the server end, so it is no longer listed. If you really want it, you can move it into Xcode from another version of Xcode (it's obvious where it goes).
The latest Xcode (5.1 as of writing this) only supports iOS 6.1 simulator. If you wish to test on iOS 6.0, you need to test on a device.
Technically speaking, there is very little API difference between 6.0 and 6.1, so you can test 6.1 for most scenarios just fine.
Still we can use ios 6 simulator in xcode 5.1.
If you cant see iOS 6 simulator in downloads. Try this one,
download xcode 4 sdk and copy the ios 6 simulator sdk from xcode4,
[Application->xcode 4 ->contents->developer->platforms->iphone
simulator platform->developer->sdk folder.]
And paste ios 6 simulator sdk to xcode 5, [Application->xcode5->
contents->developer->platforms->iphonesimulator
platform->developer->sdk folder]
I followed this steps and got ios 6 simulator,. see below

How to Install Older iOS Simulators in XCode 4.2.1 (SDK5.0)

I have just bought a new iMac. I then downloaded the latest SDK 5.0 and installed XCode 4.2.1. Everything is working fine. Though I realized that there are only iPhone and iPad Simulators 5.0 available for debugging. So I went on clicking the More Simulators... I click Install for all items and a while passed, and when I came back, it indicated as "Installed". But when I go back to my XCode, there are still just Simulators 5.0 in the list.
So, how do I go about installing the older simulators in XCode 4.2.1? Did I miss any steps? Or do I need to install older SDKs? Please help. Thanks.
X-Code 4.2 will have iOS 5 simulator and library only. If you want lower version simulator and library with X-Code just goto X-Code->Prefrences-> Downloads Tab. In downloads tab you'll have two tabs:
1) Components - Here you will have option to download iOS 4.3 simulator(~600 Mb), iOS 4.0-4.1(~670 MB) Device debugging support, iOS 3.0-3.2.2(686.3 MB) Device debugging support.
2) Documentation- Yoy will have option to download iOS 5.0,XCode 4.2 Developer libaray,Mac OSX 10.7 Core Library.
Install the components which ever you need and there you go..Have you installed components this way??
If Xcode doesn't show the wanted simulators you'll be able to download older xcodes from here:
https://developer.apple.com/downloads/index.action?name=Xcode
For example:
iOS 5 Simulator -> Xcode 4.3
iOS 5.1 Simulator -> Xcode 4.3.3
iOS 6 Simulator -> Xcode 4.6
iOS 6.1 Simulator -> Xcode 4.6.3
iOS 7 Simulator -> Xcode 5
iOS 7.1 Simulator -> Xcode 5.1
You can find the Xcode application inside the downloaded .dmg
Open this DMG
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 Xcode will show you the new added simulators
Happy building & testing!
Update:
Tested in xCode 6, working there as well

Resources