For those that do not want to install Rosetta, this prompt can easily be disabled. Just use Get Info on Xcode.app, check "Open using Rosetta", and then uncheck it again.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: