I have the Xcode Version 6.0.1 (6A317) on Mac OS X 10.9.5 with all iOS 8 simulators. I have also downloaded the iOS 7.1 simulators.
I am developing an app for iOS 8 and iOS 7.
The problem I encounter is that Xcode 6 doesn't show the iOS 7.1 simulators in the devices menu. At some point it did show them but on my newly created Xcode 6 project it does not.
I was looking at some stackoverflow solutions.I have addded the iOS 7.1 simulators Window - Devices - SIMULATORS. They are also checked with "Show in the Run Destionations Menu",however they are not shown.
I found a workaround by setting the Project and Target Deployment Target to 7.1. However, this is a stupid solution since for every test I need to manually switch them forth and back 7.1-8.0
This is my first ipad app and it worked perfectly under Xcode 5.1.1. iOS 7 and iOS 8 (CREATED UNDER Xcode 5.1.1.). Now I have created a project in Xcode 6.0.1. and the project doesn't have the simulators showing correctly and 95% of the app doesn't work.
I am new to iOS development but I suppose that this is a bug, but I am unsure. Please help.
The deployment target is the minimum OS version you intend to support.
As you stated, you need to set the deployment target to 7.1 in order to see the 7.1 simulators. If your deployment target is 8.0, the 7.1 simulators will not be available in the run destinations menu. This is the correct behavior because you can't run on iOS 7.1 if your deployment target is 8.0.
I already had deployment target 7.0 and simulator still wasn't available for 7.1.
I fixed the issue though by going into Xcode preferences, selected Downloads and re-downled the missing 7.1 simulators under 'Components'. Although I previously had 7.1 simulator, the Xcode 6 upgrade had seemed to remove them.
Related
I downloaded ios 10.3.1 version in xcode 9.4
But I only can select the ios 11 version I already have.
I rebooted OS and restarted Xcode already. I also can see ios 10 simulator when I select "add additional simulators"
There are ios10, 11 simulator both of them. I don't know how to use ios 10 simulators in xcode that I already downloaded.
Change Deployment Target from iOS 11.x to iOS 10.x
(Xcode shows simulator in a device list with iOS version >= Deployment Target.)
If I understand your problem correctly, changing Deployment target should help. It can be found in General section of settings shown when you first launch the app.
To use that the project compatibility should be lesser. That means the Deployment target in your app should be from iOS 10.
Go to project target settings. Deployment target --> 10.x
As the previous answers didn't help me, I'll describe my solution.
The deployment target doesn't always solve the problem, as well as creating a new scheme. The simulators don't appear automatically.
Press Add Additional Simulators
Choose Simulators tab
Create a new device simulator. Choose Device Type and OS Version whichever available
Your simulator should appear
My app currently has a Base SDK of 6.1
Ive put iPhoneOS6.1.sdk into:
Xcode> Developer> Platforms> iPhoneOS.platform> Developer> SDKs>
And it allows me to build with the base SDK set to iOS6.1
But unless if I have the Base SDK set to 8.0, it doesnt show me any of the simulators running iOS 7.0, 7.1 or 8.0
Does anyone have a way of getting it to show me all the simulators even though my Base SDK is 6.1?
In Xcode 6.1 you can add simulators manually. To do so go to Window -> Devices and press the + symbol left at the bottom.
Then you can choose a combination of device type and iOS version to create.
Go to Windows -> Devices and press the plus in the bottom corner and add the simulators that you wish.
Download the other available iOS simulators (7.1 , 7.0 and 6). Worked for me
Do not copy the older SDKs into newer Xcode. That is unsupported and very likely to lead to problems.
You should be using the latest SDK and setting the deployment target to the oldest OS you want to support. I believe most developers right now are using the 8.1 SDK (or just set it to latest) with a deployment target of either 6.1 or 7.1.
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
In my project target settings, i have set the base SDK to ios 7.0 and deployment target to ios 6.1.
When i test my app with the simulator with iOS 6.1 or iOS 7.0, everything is fine.
The problem is that I just connected my iPhone 5 with iOS 6.1 installed and the project does not compile because of some iOS 7.0 calls...
Any suggestions?
Thanks to L14M333, when i connect my device, xCode shows display 2 times my device, the first one correspond to iOS 6.1 runtime, and the second one to iOS 7.0 runtime.
I just have to select the right one.
Till yesterday only I was able to test my applications both on iPhone simulator as well as iPad simulator. But now I can run the application only on iPad simulator. It is working fine on iPad simulator. But if I select iPhone simulator and try to run the application, the iPhone simulator does not even show up. I am not able to understand the reason behind. I have checked all the settings repeatedly again and again.
Can please some one guide me in the right direction?
Make sure your project's Build Settings has iPhone/iPad selected for the Targeted Device Family setting under the Deployment section.
Here's what happened to me ... when I updated to the latest version of XCode (4.3.2) I didn't bother to uninstall the previous version. I mistakenly opened my iOS 5.1 targeted project in the older version of XCode that does not know about 5.1 and as a result the simulator was not available. So i would check for the following:
See which version of XCode you're currently running
Try checking your iOS Deployment Target ... (Targets -> Deployment). If iOS 5.1 is selected change it to iOS 5.0 (the simulator will show up immediately)
Reference:
Xcode 4 - IOS - Simulator not available as build target
change iOS Deployment Target as simulator iOS in build setting like simulator OS is 7.0 and iOS Deployment Target is 7.1 so simulator is not display