Use the xcode 12 zip-file from here: https://developer.apple.com/download/more/
It seems only the version from the AppStore doesn't work.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: