I assume those are typos in the post, but just in case they aren’t, “xcode-slect” is “xcode-select” and “Appications” is “Applications”.
I had a similar problem (not on an iMac but on an older Pro on Big Sur). I did the command (with those changes) and 13.2.1 loaded after right clicking on the uproject file and selecting to build the XCode project file, then selecting to open XCode after the Editor opened.
If the editor won’t open, the start XCode from the xcode_workspace file in your project directory and build the editor from there.