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

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:

Related

getting Xcode for Mac version 10.15.7

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).

Keeping 2 x Versions of Xcode on Mac

I was rooting around for the answer on StackOverflow to the question above, as I had recently updated to Mac Sierra and by doing so Xcode 7 updated to 8 automatically. I couldn't find the answer to what I wanted, so I decided to share my findings.
Of course I'm not quite ready to invest the time just yet in Swift 3.0 so I wanted to know how to keep two instances of Xcode on my machine for the time being.
Therefore below is how I went about doing this...
Login to Apple Developer Downloads and find Xcode 7.3.1 or equivalent version of what you want to maintain on your machine.
Download the file and double click on it to open the installer
DON'T drag it across to Applications just yet
Instead, open a Finder Window and drag it to Desktop/Downloads, to install it there
Control-click on the Xcode file to "Get Info"
Under Name & Extension, in the text field, change this from Xcode.app to Xcode7.app (or equivalent naming convention)
Drag this renamed file into Applications
Restart Mac
Open Xcode7 (or new & renamed application)
Voila! 2 x instances of Xcode on your Mac (Xcode proper & Xcode7)
I gather you should never open both apps at the same time. However here is a solution that really does help you if you are still currently developing in two apps or environments on different versions of Swift. Hope this helps.

Aptana crashes on Mac OS Sierra

Aptana studio used to work fine on OS X El Capitan but after updating to Sierra it doesn't work anymore... Can anybody help me fix this? I keep getting a crash log every time screenshot uploaded I open the app. Something I've noticed is that the aptana icon in the applications is a folder and not just a normal app icon. Earlier as I remember it was just a normal app icon on El Capitan. I use aptana on a daily basis as a university student so its vital for me for this to work.
Edit: I have tried a lot of methods including reinstalling java but still it doesn't work. Only way to make it work is to open up the application package and open the terminal executable aptana3. It runs perfectly then but if I launch from the usual app drawer icon it crashes.
This security measure can correct it from System Preferences -> Security and Privacy -> General tab.
By default, Sierra, the option “Allow applications downloaded from does not appear Anywhere “. But with a simple instruction from the command line so we can correct.
Go to the folder Applications -> Utilities -> Terminal
In Terminal, enter or copy…
sudo spctl --master-disable
Type your password (it will not appear, however it is present) and press Enter
Click the lock and enter your Administrator password to make changes.
After changing this option, and can install any software, so if compatible with OS 10.12.
Open finder and navigate to "Applications -> Aptana"
Right click on the Aptana executable and click show contents
Navigate to "Content -> MacOS"
Double click click on AptanaStudio3
You will get a popup saying you need legacy Java SE 6
Click "More Info..." button and download and install it (very slow download, just wait it out)
Once installed double click the AptanaStudio icon in step 4 and Aptana Studio 3 will open
You will need to use that as the shortcut as the Aptana icon from installation will still not work.
Good luck.
I have same problem and solved with some workaround.
First download and install java for mac: https://support.apple.com/downloads/DL1572/en_US/javaforosx.dmg
If this not work or you reinstalled aptana after upgrading to sierra I advice to find a old copy of aptana directory and put it to application directory.
I had the same problems on MacOS Sierra; crashing on load, or the JVM error if I launch from within the package contents.
I didn't find any solution to this directly, but instead I installed the latest version of Eclipse first, then installed Aptana from Eclipse. That seems to be working.
In order to use Aptan on El Capitan, first you must install the legacy java 6 version for mac:
https://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US
The only thing is that you won't be able to access it like a normal application on your mac.
To open Aptana you must run:
Applications -> Aptana(right click to "Show package contents") -> Contents -> MacOS -> AptanaStudio3

Xcode 5: how to enable "reopen last projects/windows"?

I'm stumped. Xcode 5 - the final and public release only - will no longer automatically re-open the previously open projects when restarting Xcode. This feature always used to work, up to and including the Xcode 5 GM seed.
I can't find anything regarding "open last windows" or similar in System Preferences. It used to be on the General page. This is all there is in my version:
Does anyone know how to re-enable this feature, and can you confirm that it is gone? Or do I have a broken Xcode?
This is actually an os x feature. Under "System Preferences" and then "General", there is a checkbox that says "Close windows when quitting an application". This needs to be unchecked to reopen windows. This is what I had to do to get the opposite effect of what you want and can confirm this works.
In previous os x 10.7- it's ""Restore windows when quitting and re-opening apps", and needs to be checked to work.

Unable to install Xcode on Mac OS X Lion (10.7) [duplicate]

I am trying to install Xcode 4.1 GM on my Lion mac but it's not working. When it is almost finished, I get the popup to quit iTunes even though it is already quit. So the only option I have is to quit iTunes helper or alert in activity monitor, then it finishes the install. However then Xcode crashes on launch. Any ideas?
You can go into Activity Monitor and Quit the iTunes helper. That will also get Xcode to finish.
Looks like you've solved the install problem. It's not a solution per se, but setting Xcode to run in 32-bit mode fixed the crashing problem for me.
It's too early to say what the trade-off is (if any), but whatever it is, it's bound to be better than not being able to use it at all.
On a side note: please accept Phil's answer since he gave the correct solution to your original problem. C:
if you boot into single user mode (Press S when starting up), the installation works as it should. Xcode will then function without switching it to 32-bit mode.
Open "Activity Monitor" (press Command+Space to bring up spotlight, or find it in Applications.)
Sort by Process Name and find the process called "iTunesHelper".
From the "View" menu choose "Quit Process".
Then click on the "Force Quit" button. Xcode installation should continue now.
Try to use the xCode through the Finder after you get this problem. It happened to me, but I can still run the xCode.
I think it's something to do with your version of itunes is more updated than your Mac Os version.

Resources