NEW: My new book Pro SwiftUI is out now – level up your SwiftUI skills today! >>

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 Judo

SPONSORED Let’s face it, SwiftUI previews are limited, slow, and painful. Judo takes a different approach to building visually—think Interface Builder for SwiftUI. Build your interface in a completely visual canvas, then drag and drop into your Xcode project and wire up button clicks to custom code. Download the Mac App and start your free trial today!

Try now

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

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

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.