How to downgrade Xcode to previous version?

Опубликовано 02 апреля 2025 AntonSeagull 1 min

If you need to downgrade Xcode for compatibility or stability reasons, here's a step-by-step guide.

For the example used downgrade from 16.3 to 16.2. version, replace with the ones you need.

🧹 1. Remove or Rename Xcode 16.3

You can't have two versions of Xcode named Xcode.app in /Applications, so either delete or rename the current version.

🔥 Delete Xcode 16.3

sudo rm -rf /Applications/Xcode.app

💾 OR Rename It (if you want to keep it)

sudo mv /Applications/Xcode.app /Applications/Xcode-16.3.app

📥 2. Download Xcode 16.2

Go to the official Apple Developer Downloads page: 🔗 https://developer.apple.com/download/all/

  • Sign in with your Apple ID.
  • Search for "Xcode 16.2".
  • Download the .xip archive (approx. 12GB).

📦 3. Install Xcode 16.2

Once downloaded:

  1. Double-click the .xip to extract Xcode.app.
  2. Move the extracted app to your Applications folder:

sudo mv ~/Downloads/Xcode.app /Applications/

✅ 4. Set Xcode 16.2 as the Active Version

Use xcode-select to make sure your system points to the correct Xcode version: sudo xcode-select -s /Applications/Xcode.app Then verify: xcodebuild -version Expected output:

Xcode 16.2
Build version 16Cxxx
Статья помогла? Подарите мне чашку кофе ☕