0
votes

I have search a lot and comes up with lot's of different solutions and opinions which I got really confused .

I have xcode 6.1 installed with ios 8.1 simulator and I'm trying to test my apps on ios 7 . There are so many different opinions about installing ios 7 . Some says that ios 7 is not working on Yosemite and some says otherwise. also I have tried to install ios 7 from preference>devices but It got stuck and there is no progress at all with downloading.

Can anybody helps me please?Is it possible to run ios 7 on xcode 6.1 and yosemite?If so , how should I download ios 7 simulator for xcode 6.1 without using the xcode download section?maybe I can extract it from older version of xcode or download it from another source.Does upgrading to higher version of xcode helps?

Thanks

3

3 Answers

0
votes

Open at Xcode Window menu, then Devices and there you can add desired simulator using little + button at the left bottom corner

0
votes

The iOS 7.0 Simulator Runtime is not supported on OS X Yosemite.

The iOS 7.1 Simulator Runtime is supported on OS X Yosemite.

Install Xcode 6.2 and navigate to Xcode -> Preferences -> Downloads, and you will be given the option to install the iOS 7.1 Simulator Runtime. It will install below /Library/Developer/CoreSimulator.

Note that some versions of Xcode have a bug where the download will not occur if your laptop is running on battery. I do not know of the top of my head which versions of Xcode are affected. If the download progress isn't moving forward, go connect to AC.

0
votes

Of course you can run iOS 7 on Xcode 6 or higher version. In order to download the iOS 7 follow the blow steps

Xcode > Preferences > Downloads > Choose the iOS 7 simulator

enter image description here

UPDATE

If you want to extract the iOS sdks from older version go to the terminal and follow below and then restart the xCode.

cp -r SOURCE_PATH DESTINATION_PATH

for example

cp -r /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/