XCode 11.1 simulator can't install target iOS Version - ios

I have a question about install simulator.
I download the iOS 11.3 & 11.2 , but I can't chose iOS version about simulator.
I want to build my app in these iOS version.
What's wrong with my step.
ps: MacOS Big Sur

Related

how to run iOS simulator 10.3.1 on Xcode 12.4?

currently we are developing a flutter app with flutter SDK 1.20, we are sticking to version 1.20 due to some outdated packages we use.
after some googling we found that we still can open a debugging session on iOS simulators 10.3.1,
we are using Xcode 12.4 and when we try to add a new simulator and try to download a new OS version, we downloaded iOS simulator 10.3.1 and its added in Library/Developer/CoreSimulator/Profiles/Runtimes as iOS 10.3.simruntime
but unfortunately its not appearing when we choose to install an OS version on a new iOS simulator.
all we can choose are these simulators only...but 10.3.1 not showing:
how can we choose iOS simulator 10.3.1?
did you somehow fix this problem?
Regards

How to run Xcode 11.4 on macOS Mojave 10.14.6

Background on problem:
I have an iPhone 6s that has updated itself to iOS 13.4. Before the iOS update, I could code + run my app on the device from Xcode, great.
Now I can't run my app from Xcode on the device to test my code, as it says:
Xcode could not locate device support files
This iPhone 6s is running iOS 13.4 (17E255), which may not be supported by this version of Xcode. An updated version of Xcode may be found on the App Store or at developer.apple.com.
So I tried installing the latest Xcode (11.4) which now says I have to update my whole OS to Catalina.
I don't want to do this as my system is working fine and I have heard bad things about that release.
Question:
Is there a way I can get Xcode building to my iPhone without updating my whole OS and potentially screwing up my whole machine?
You cannot run Xcode 11.4 on Mojave but you can add support for iOS 13.4
Download the 13.4 image from this repo
Quit Xcode
Unzip the archive and move the folder into /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Launch Xcode
Consider that this way adds only the support for iOS 13.4, nothing else.
Update: This does not work with iOS 14 because iOS 14 requires Xcode 12.
Here's an alternative solution that doesn't require downloading files from an untrusted source:
Install the latest release of Xcode that runs on Mojave (currently Xcode 11.3.1). It can be downloaded from Apple's developer pages.
From the same page, download a release of Xcode that supports iOS 13.4 (for example Xcode 11.4.1). Unzip it, rename it to "Xcode-11.4.1.app" and move it to the Applications folder, but don't run it.
Add a symbolic link for iOS 13.4 from the DeviceSupport folder in Xcode 11.4.1 to Xcode 11.3.1, as described in Peter Steinberger's Gist.
If you use the versions used in this answer, the command to add the symbolic link would be
sudo ln -s /Applications/Xcode-11.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.4 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
You can run Xcode 11.4 - 11.7 on your Mac which is running 10.14.
Download Xcode 11.4 ~ 11.7 from https://developer.apple.com/download/
Extract the .xip file, and you will get Xcode.app
Modify LSMinimumSystemVersion in Xcode.app/Contents/Info.plist from 10.15.x to 10.14
Now you can use Xcode 11.4 ~ 11.7 without upgrading to Catalina.
However, this trick doesn't work for Xcode 12, which requires some frameworks that do not exists in macOS Mojave.
My Apple TV 4K was running tvOS 13.3 and I upgraded to 13.4 which required that I use this technique to keep working with Xcode 11.3.1.
What is odd is that in the DeviceSupport folder, Xcode 11.3.1 only ships with tvOS up to 13.2. So how did it ever work with a hardware device running 13.3? I guess 13.2 and 13.3 are close enough that 13.2 still works.
13.4 does not work out of the box, so I copied both 13.3 and 13.4 from the Xcode 11.4.1 app into my 11.3.1 app. All is well again.
You can run Xcode 11.4 - 11.7 on your Mac which is running 10.14.
Download Xcode 11.4 ~ 11.7 from https://developer.apple.com/download/
Extract the .xip file, and you will get Xcode.app
Modify LSMinimumSystemVersion in Xcode.app/Contents/Info.plist from 10.15.x to 10.14.6
Now you can use Xcode 11.4 ~ 11.7 without upgrading to Catalina.
However, this trick doesn't work for Xcode 12.
I tried this trick on my mac mojave 10.4.6

This iPhone 6 is running iOS 11.3.1 (15E302), which may not be supported by this version of Xcode

I'm using Xcode 9.2 with Sierra 10.3.3 . And my iPhone 6 is with 11.3.1 (15E302). I'm unable to use my iPhone 6 for the test purpose of my IOS apps. Because, the Xcode says, Could not locate device support files. This iPhone 6 is running iOS 11.3.1 (15E302), which may not be supported by this version of Xcode.
Please help me if anyone have the device support for 11.3.1 (15E302)
Thanks
You need to update to Xcode 9.3.
Another option is to download the 11.3 device support
iOS 11.3
Remove "(15E217)" from folder name, so it became "11.3". Restart Xcode.
You need to upgrade your xcode version to make the app capable to run in that version of iPhone , or you can get the support files form Here and put in this path ( after unZip )
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Xcode 9.2 only supports up to iOS 11.2
Update Xcode

This iPhone 5s is running iOS 11.0.3 , which may not be supported by this version of Xcode

I just updated my phone to 11.0.3
I'm trying to test my app on the phone but its stating :
This iPhone 5s (Model A1457, A1518, A1528, A1530) is running iOS 11.0.3 (15A432), which may not be supported by this version of Xcode.
I checked the app store if there was a new version of xcode but it turned out that I had the latest one installed
The current version of Xcode in AppStore is 9.0.1. The Xcode 8.3.3 does not support iOS 11.0.3.
Do not forget to update your macOS to the latest version.
The latest version of XCode is 9.0 and it can be downloaded from MacOS Sierra 10.12.6 up. So you need to updated MacOS first, then download the new XCode 9, then you'll be able to use your phone for debug

Can we install iOS 10 Simulator on Xcode 7.3

I want to test my app on iOS 10 simulator. But I don't want to build the project using Xcode 8 yet. So, can i install iOS 10 simulator in to Xcode 7.3?
I was just checking the apple developer forum
Below is the details
Xcode 7.3
Xcode 7.3 requires a Mac running OS X version 10.11 or later. It includes updated support for iOS 9.3, watchOS 2.2, OS X version 10.11.4, and tvOS 9.2 as well as many feature improvements.
Check https://developer.apple.com/library/content/documentation/Xcode/Conceptual/WhatsNewXcode-Archive/Articles/xcode_7_0.html#//apple_ref/doc/uid/TP40015242-SW1

Resources