Xcode runs admirably on an M1 ... it ought to only do better on later revs of the CPU family :)
The next RAM is 24GB and +200$, is it necessary or convenient?
Is more RAM more influential than more SSD for performance in Xcode?
Is an Air spec up better than a Pro M3 Pro bàsic (512 SSD, 18 RAM)?