Moo33
Moo33

Reputation: 1283

How to test my app on ios 7 using Xcode 6 simulator

I'm trying to test my app with ios7 using Xcode 6's simulator but I can't find the option to change it. Currently it only loads ios8 while my deployment target is set to 7.

Also according to this message from Apple:

Starting February 1, 2015, new iOS apps uploaded to the App Store must include 64-bit support and be built with the iOS 8 SDK, included in Xcode 6 or later. To enable 64-bit in your project, we recommend using the default Xcode build setting of “Standard architectures” to build a single binary with both 32-bit and 64-bit code.

Does this mean that new apps cannot run on ios7 anymore?

Thank you for your help.

Upvotes: 4

Views: 2747

Answers (3)

Rohit Sisodia
Rohit Sisodia

Reputation: 67

Yes you can, go to xcode(7) preferences>select Components here you can download Simulater and Documents also.

Upvotes: 0

Avinash Kashyap
Avinash Kashyap

Reputation: 861

First, Change Deployment Target to 7.You can change Deployment target from target under Deployment Info. Go to Xcode Preferences, Select Downloads tab and download iOS7 Simulator. Now go to Xcode, you can find iOS7 Simulator on target device list, if not than quit and restart Xcode. Hope it will help.

Upvotes: 2

Jeremy Huddleston Sequoia
Jeremy Huddleston Sequoia

Reputation: 23623

The deployment target is the minimum version of iOS that your application will be expected to run on. It effects how your app is BUILT and not where you run it. You need to choose an iOS 7 device from the run destinations menu and then do a Build&Run to build, install, and run the app on the iOS 7 device.

If you don't have an iOS 7 simulator device in the run destinations menu, go download the iOS 7 runtime from Xcode -> Preferences -> Downloads

Upvotes: 1

Related Questions