I did the other thing signing out from apple id solved the crash but avoided uploading. The issue is persistent on my m1 mac and with same version on Appstore for over a week after reporting the bug. There should be a path by now for this atleast on Appstore.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: