DEV Community

Stacey
Stacey

Posted on • Originally published at Medium on

How can I run Xcode 12.5.x on Monterey? (Search record)

This is just a note from my search record.

Original Post:

How can I run Xcode 12.5.1 on Monterey?

Background:

I updated to Xcode 13 so that I can run the code on my actual device. However, there is some issues with my unit testings in Xcode 13, thus installing Xcode 12.5.x for easier compilation.

Working Solution: (Copied from the best workable answer in Stackoverflow)

The solution is very simple. If you have the older version downloaded in your Applications folder for example, lets say 12.5.1 version, you just need to:

  • Open Terminal
  • Open Applications folder in Finder
  • Drag the Xcode app into Terminal so it gets its path
  • Then add this next to it: /Contents/MacOS/Xcode, so the full command will be something like /Applications/Xcode-12.5.1.app/Contents/MacOS/Xcode
  • Press enter to run the command

Now you should be able to run it. You will note that when you open this version of Xcode, the Terminal will open too, but don’t close Terminal because it will close the Xcode too.

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Sentry growth stunted Image

If you are wasting time trying to track down the cause of a crash, it’s time for a better solution. Get your crash rates to zero (or close to zero as possible) with less time and effort.

Try Sentry for more visibility into crashes, better workflow tools, and customizable alerts and reporting.

Switch Tools

👋 Kindness is contagious

If this post resonated with you, feel free to hit ❤️ or leave a quick comment to share your thoughts!

Okay