New MacBook with M4 Chip "Bad CPU in executable"

OK, that is unfortunate. I see a formal report about the problem has been submitted to the platform maintainer here (All the SpenceKonde/DrAzzy platforms use the same package index, so this problem affects all of them and renewing the SSL certificate will fix the problem for all of them at once):

As a workaround, please do this:

  1. Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
    The "Preferences" dialog will open.
  2. Remove the http://drazzy.com/package_drazzy.com_index.json URL from the "Additional Boards Manager URLs" field in the "Preferences" dialog
  3. Enter the following URL into the "Additional Boards Manager URLs" field in the "Preferences" dialog:
    https://raw.githubusercontent.com/SpenceKonde/ReleaseScripts/refs/heads/master/package_drazzy.com_index.json
    
    • :red_exclamation_mark: If there are already Boards Manager URLs in the field, separate them with commas.
    • This is the same file you get from the URL at the URL provided by the official installation instructions. This is just the URL of the source file maintained by SpenceKonde/DrAzzy in a GitHub repository they own. That source file is uploaded to the drazzy.com website. So there is no technical difference between the URLs other than the fact that the first is hosted on a website with an SSL certificate managed by SpencKonde (and thus subject to breaking whenever they forget to update the certificate before it expires), while the other is hosted on GitHub (and thus has an SSL certificate managed by a dedicated team of people at Microsoft who are definitely not going to allow it to expire).
  4. Click the "OK" button.
    The "Preferences" dialog will close.
  5. You will now see a "Downloading index: ..." notification at the bottom right corner of the IDE window. Wait for that notification to close.
  6. Select Tools > Board > Boards Manager... from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
  7. Find the "ATTinyCore" entry in the list of boards platforms.
  8. Click the "INSTALL" button at the bottom of the entry.
  9. Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:

    Successfully installed platform ...

You should now see the boards of the installed platform under the Tools > Board > ATTinyCore menu in Arduino IDE.