I faced with a problem trying to run iOS simulator under older version that Xcode 14 supports. Currently the latest version of Xcode supports iOS simulator runtime from 13.7 version.
So in order to achieve this you need to downgrade your version of Xcode but unfortunately, macOS Ventura supports only Xcode > 14 version.
I’ve found a non-elegant but working solution.
Go to apple’s official download page and download the right version for you: https://developer.apple.com/download/all.
Unpack the xcode and put it in Applications. If you have already installed Xcode on your system, rename the unpacked Xcode to, e.g. “Xcode13.4” before putting in Applications folder. Trying to open it right away will show you an error message (The version of Xcode installed on this Mac is not compatible with macOS Ventura. Download the latest version for free from the App Store.), and so we go to the next point.
Thankfully to this guy we know how to actually open it.
- Using finder navigate to Applications folder, find your version of xcode and right click on it, choose Show package contents, open Contents → MacOS → Xcode
- Or using terminal
open /Applications/Xcode13.4.app/Contents/MacOS/Xcode
Now we can use older xcode and older versions of simulator runtimes.
P.S.
Worth to note. New projects must be started in the lowest xcode “supposed to be” version.
If you create project under xcode version higher then you won’t be able to open it. You’ll get an error “cannot be opened because it is in a future Xcode project file format. Adjust the project format using a compatible version of Xcode to allow it to be opened by this version of Xcode.”.
Top comments (0)