I had crash reports for iOS 11.4.1 on iPhone 8 Plus, so I installed iOS 11.4 by 'Download Simulators' below the iOS Simulator list. It downloaded and shows a green checkmark as installed.
Although my application supports iOS 10.0 (and I can see iOS 10.3.1 for some simulators) iOS 11.4 does not show up for any of the devices. I restarted the application as well.
Anything I'm missing here?
You can add already installed simulator to the list from following option:
Open Similator list (Right side of project name) -> Add additional simulators:
Tap on + add button to add installed simulators to the list
Go for New Scheme option and add a new scheme. You'll find the newly downloaded simulators. Seems like Xcode bug. I just tried the same which worked.
Related
I'm trying to add additional device simulator. Product -> Destination -> Add additional simulators window on Xcode. But after adding it to a list of available simulators, it's not appearing in the list of available devices to build.
Show as run destination is checked.
After clean installing Xcode 14.2, only iPhone 14 simulators are available.
I've tried re-adding several times with different iOS versions on different devices.
I also followed this thread and delete all available simulators, as someone suggested. Now I have 0 in a list of devices to build.
I had the exact same problem with XCode 14.2 and adding iPhone XR, I went to the Project Navigator pane, selected the top line and on the right side window the Project settings appear. I went to the Minimum Deployments section and selected the lowest IOS version I was working with. In my case I had downloaded and installed iOS 15.5. After that, the IOS simulator list updated with all the simulators Listed in the Devices and Simulators where the "Show as Run Destination" was selected for a given simulator.
Hope this helps...
How to have old simulators in new Xcode?
I have 2 SDKs (6.1 and 7.1) in my old Xcode 5.1.1 following path:
Xcode.app -> right click and <Show package contents> ->
Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
Copied both SDKs to my new Xcode, but Xcode only shows 8.4 and 9.0.
Is there any suggestion? Or maybe I can download it from somewhere (I believe there isn't)?
In Xcode if you click Window->Devices, then on the bottom left click the '+' button, then Add Simulator. There should be an option for selecting older versions of iOS Simulators.
If there isn't an option for iOS 6.1 or 7.1, after you click the '+' button, click the drop-down list for iOS Version and click download more simulators. Then just pick which ones you want.
You can't use simulator for iOS7 and earlier for XCode 7.1 - it's not compatible. Looks like Apple won't support them ever. It means you can't do this on simulator (you still can do this on real devices) at least in official way. You may not know that, but it also depends on your OSX:
El Capitan supports iOS 8.1.
Yosemite supports iOS 7.1
I haven't found any way to use any iOS 7 simulators. However, an iPhone 4 running iOS7 connected to Xcode 7.3, on MacOS X 10.11.4 using the iOS 9 SDK runs just fine.
To support iOS 7 on all devices capable of running it, you will need LaunchImages for iPhone 4 and 5 (retina), and for iPad in portrait and landscape at 1x and 2x.
I would consider supporting iOS 6 at this point to be pointless. That's iPhone 3GS. iOS 7 is pushing it; I run my code on an iPhone 4 mostly to check that its fast enough.
I tried Appium iOS tutorial and ran the example successfully. I noticed the UICatalog6.1.app runs on iOS simulator with title "iPhone 6/iOS 8.2" on the top of the simulator.
However the title is "iPhone 6/iOS 9.0" when I run the app developed by myself from Xcode. I am wondering which part controls to use different version of iOS simulator?
When you install Xcode, you automatically get the most recent version of the simulators. However, if you would like to define additional simulators with older iOS versions, you can.
In Xcode, go to Window (on the tool bar), and select Devices. There, you can see a list of all of your current devices and all of your currently setup simulators. If you click the plus on the lower left corner of the screen, you'll get to this screen:
Here, you can select the device you'd like to use for the simulator and its iOS version. By default, you'll only have the most recent version of iOS, but if you'd like to add older versions, just select 'Download more simulators' and you'll be given the option to download older versions and use them for testing.
Once you've set up the new simulator, you'll be able to select it from the list of available devices to run your app on. Good Luck!
I have Xcode Version 6.4 (6E35b), OS X v 10.10.4 and the iOS Simulator just does not show up in Preferences:
If I click "Check and Install now" nothing happens.
I have an another machine next to me and everything is installed correctly.
Any ideas how to fix it?
Xcode 6.4 comes with the iOS 8.4 Simulator runtime.
A default set of devices should be created automatically. If you deleted them, you can recreate them with Xcode's Devices Window or from the command line using xcrun simctl create ...
If you want to add some simulator use Xcode Window/Devices then click + icon at left bottom. You can add any installed simulator to your xcode.
I just updated my iPhone4s to ios7 and xcode to 5.
I am trying to run my app on the iphone which worked for 6.1.x and 4.xx. However,
after the update xcode claims not to find my connected iphone testing my app.
Xcode cannot run using the selected device.
No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination?
Window -> Organizer.
Click on device tab.
Click on the iOS device on the left side and click the button 'Use for development'.
Check in Organizer if device is used for development or has lost this property on xcode actualization.
check the organizer like Rauru Ferro said. It might need some time to update the settings in Xcode. You should see a progress bar loading, after that everything should work fine.