getting Xcode for Mac version 10.15.7 - xcode

My computer is running macOS Catalina. I have Xcode installed but I cannot open it. I keep getting an error that maybe my OS version cannot run the installed XCode version. There is no update for my computer OS -- Catelina seems to be the latest it's eligible for. How do I get a working version of Xcode?
The error says something about Xcode cannot be installed on Mac HD and that version 11.3 or later required. But I'm betting there has to be an Xcode version for Mac 10.15.7 that I can use. But I cannot figure how to install that.

Yes, as #matt said. MacOS 10.15.7 requires Xcode 12.4, you can find that here: https://developer.apple.com/download/all/?q=Xcode%2012.4

A little extra guidance for Windows users a little lost in finding the right download:
After you have signed in or created an account at developer.apple.com one way to find the download is shown below:
(1) Click on search icon and search for "Xcode support" then in the results click "Xcode - Support"
(2) In the second section of that page click on "Downloads Page"
(3) Finally, search "Xcode 12.4" and you should be able to down the .xip file from the top result
Note that this download can take a while (just over an hour for me).

Related

Unable to open xcode. Shows error "Required content for platform tvOS Simulator is missing."

I'm unable to open my Xcode after accidentally deleting my Xcode from the applications folder to the trash and putting it back in my applications. Every time I try to open Xcode it shows the following error.
I tried googling this error and found this post on the Apple's forum page which asks me to just re-install from the official mac app store which I feel is a lazy answer and I do have enough storage for doing that on my old MacBook air with just 256GB.
I did find another post on SO that shows deleting a folder for a similar issue fixed the problem. Is there a similar solution or any other solution which doesn't require me to re-install Xcode once again?
My versions:-
MacBook Air (Intel)
macOS - 12.6.2
Xcode - 13.2.1

How to verify compatibility of older Xcode on newer MacOS in terminal without opening it

When I was using MacOS 12.5.1, I found out that older version(e.g. 11.3) of Xcodes can't be opened. It's icon became a banned image and can be opened neither by double click nor 'open' cmd in terminal.
So I want to know how to verify Xcode in terminal? Use 'open' cmd is an option but if the target app is available, it will be opened which I don't expect to happen.
I found there is a "Minimum system version" in /Applications/Xcode.app/Contents/Info.plist, but no "Max system version". In my case I wanna to know which older verison of xcode is unavailable on new MacOS. Any help will be appreciated!
Use the excellent Go64 application from St. Clair Software. When you load it and scan, you can then see programs that will not work on your system clearly marked with a strike thru circle:

Flutter: XCode error "Unable to boot the Simulator"

Iam running the latest OSX/Flutter/XCode Versions using flutter, android studio and firebase and 1 hour ago everthing works perfectly.
Then i rebooted my macbook and when i try to launch an ios simulator i get this error "Unable to boot the simulator".
The following steps shows no solution:
Reinstall the ios simulator
Flutter clean and pub get
Updating comand line tools 13.3.1 (13E500a)
Run invalid cache of android studio
I found the problem also on stackoverflow but all sugestions does not working.
Any ideas?
Let me know if you need more information!
Thank you
NO NEED TO UNINSTALL XCODE! Though I know the contributor already has solved the issue, I'm happy if this answer will help someone else.
Go to [About this Mac > Storage > Manage > Developer]
Delete all the content (no worries!)
You can delete xcode cache and it will work,
by going to
About this Mac > Storage > Manage > Developer or any folder you choosed for development when installing xcode and flutter then Delete XCode Cache.
Step 1:
Go to About this Mac
Step 2:
Go to Storage
Step 3:
Delete all the content Or Delete XCode Cache
You can just clean your Xcode Caches, and that will do the trick,
About this Mac
Storage
Developer
XCode Caches
For me it was not necessary to delete XCode. I could solve it with this:
1: Click on "About this Mac" in the top left corner
2: Click on "Storage"-Tab
3: Click on "Manage"-Button
4: Click on "Developer"-Tab
5: Right click on all the data and "Delete"
For Mac Ventura 13.0 OS and higher -> Click apple logo on top left of your Mac
System Settings > search Storage > Developer
Then delete Xcode Caches
Product-> Clean Build Folder works for me!
After checking some other comments, it seems uninstalling XCode is not necessary.
The issue is not directly related to Flutter but it is related to the XCode 13.3.1 with the Simulator, specially for iPhone and iPad (tvOS and watchOS should have no issue so far).
Somehow the existing files during the security update causes the simulator to get corrupted.
As temporary workaround, you can try the following steps:
Uninstall XCode by moving from Applications folder to the Trash
Empty the Trash
Open the Mac Storage Management and go to the Developer in the sidebar
Delete everything from the Developer Section
Download Xcode 13.1 from Apple Developers and not the stable release from App Store
Extract the downloaded Xcode_13.1.xip file, i actually recommend via terminal by using xip -x Xcode_13.3.1.xip, and take in mind the extraction uses 100GB and it takes up to 2 hours to complete. You are going to have this message at the beggining xip: signing certificate was "Software Update" (validation not attempted), but you can ignore since this is expected.
Finally, move the extracted XCode file to the Applications folder
Run sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
Run sudo xcodebuild -runFirstLaunch

Update to xcode 7.3 is not working

Is someone else having problems to update xcode 7.2 to 7.3?
Firstly there is no update option in App Store. I found a link at App Store xcode 7.3, this link will open your app store on the xcode page, after I press update, a loading spinner appears but after 2 hours of waiting nothing has happened Is there another way to update xcode?
Edit: There is no option update xcode in App Store
xcode 7.3 is not supported in OS lower than 10.11, You need to upgrade your OS to OS X 10.11 or later (El Capitan) and try to upgrade the xcode to 7.3
You can download Xcode yourself from https://developer.apple.com/downloads (an Apple Developer account required).
This is what you should see (I filtered the available downloads by typing "Xcode"):
I had the same problem while I was trying to update to Xcode 8.1 with Waiting.. status on AppStore under Xcode icon. What I has done to fix this is:
1) Go to https://developer.apple.com/download/
2) Press Lunch Application
And when it opens on AppStore, it will refresh the status from Waiting.. to Downloading...

Xcode 5 simulator cannot be installed, does not show up in xcode

In Xcode 5, i have a problem with installing simulators. They don`t show up in the downloads section of preferences for Xcode. And the 6.1 simulator cannot be run when it says its installed. Only shows up with a question mark besides it. When i click check and install, it says nothing new found. How to fix this?
When i try to run an app, no simulators show as installed:
It shows you installed all the simulators.
Just Quit the Xcode and open again. It wil show you a window same as below.
Also please cross check that, the downlaoded SDK's are available under Application->Xcode.app->right-click->Show Package Contents
->Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
Also cross check the Base SDK and Target devices.

Resources