However after performing the following operation it worked :)
sudo chmod 1777 /cores
The default permissions for /cores
is:
% ls -ld /cores
drwxrwxr-t 2 root admin 64 Oct 17 20:30 /cores
So, you shouldn’t need this unless you’re running as a non-admin user (this is a valid life choice, but rare for folks doing development work, which is why I didn’t consider it; sorry).
While at it, on my previous Mac's I get a popup window after a crash.
The Apple crash reporter does not, by default, display an alert when a non-GUI program crashes. You can tweak this default using the CrashReporterPrefs app, part of the Additional Tools for Xcode 13 (in Xcode, choose Xcode > Open Developer Tool > More Developer Tools).
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"