Skip to content

error: redefinition of module 'SwiftBridging' #5723

Answered by Bo98
shikiroot asked this question in Getting started
Discussion options

You must be logged in to vote

We've seen some reports of bugs with xcode-select --install where multiple CLT versions get installed together, which breaks things entirely.

If you can, it's worth trying sudo rm -rf /Library/Developer/CommandLineTools/ and then instead of xcode-select --install download "Command Line Tools for Xcode 16.1" from here: https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_16.1/Command_Line_Tools_for_Xcode_16.1.dmg (needs a developer account but that's free).

(note for future readers: check https://developer.apple.com/download/all/ if you're reading this a few weeks from now as there may be a newer version - 16.2 will probably be out in December)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@aaronblair
Comment options

@shikiroot
Comment options

Answer selected by p-linnane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants