WWDC22 SALE: Save 50% on all my Swift books and bundles! >>

How to handle XCode Updates

Forums > Swift

I've spent the last half year learning Swift / SwiftUI / XCode. I went through one automatic upgrade toe XCode 13 (from 12) that broke some of the code and programming techniques that I had learned. I removed the App store version of XCode and installed 13.2 from the Apple Developer downloads.

I'm currently running Swift 5.5.2 and XCode 13.2. I see now that Apple wants to automatically upgrade XCode command line tools to 13.3, but not XCode as I didn't install it from the app store. What could happen if the XCode command line tools are updated to 13.3, but XCode remains at 13.2?

Is there a way to install XCode 13.3 / Swift 5.6 side by side with my current versions and access both on the same Mac? I'm concerned that the upgrade may break some of the code that I have written.

Thanks, Mark


Yes, you can have multiple versions of Xcode installed on the same machine.

I've found the Xcodes app to be invaluable in doing so. That way, you won't have to mess around with xcode-select on the command line whenever you want to switch versions.


Hacking with Swift is sponsored by Fernando Olivares

SPONSORED Fernando's book will guide you in fixing bugs in three real, open-source, downloadable apps from the App Store. Learn applied programming fundamentals by refactoring real code from published apps. Hacking with Swift readers get a $10 discount!

Read the book

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.