@ijonjic 's solution worked for me
I had the same problem on my new MacBook Air. Solved it by clicking on Get Info on Xcode.app and selected Open using Rosetta.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: