I recently installed Code::Blocks (version 17.12) on my MacBook Pro 2020 which runs on macOS Big Sur, but something is not working and I can't figure out why. I also installed Python Launcher and IDLE and Xcode and XQuartz. Maybe I installed the wrong version? Can anyone help me? Or maybe recommend an alternative that works on macOS? I print screened the error it shows every time I try to run codeblocks and attached it here
I had the same problem with you. I searched on Google and found this. This was written by Xaviou from the Code::Blocks community. I used revision 12286's CB_20210102_rev12286_macOS-11.1_x64-wx3.1.5.dmg and it worked perfectly on my MacBook running macOS Big Sur 11.1.
Code::Blocks won't work on macOS Catalina and above because Catalina dropped support for 32-bit apps, and Code::Blocks is a 32-bit app. Xaviou rewrote and compiled the code from Code::Block's GitHub repo to make it 64-bit and usable.