Looks like it assumes MacOS version 10.x.x and fails on any other version. I think this is quite ridiculous for a tutorial project as the current MacOS versions are 11.x.x. Seems to work if i change the assertion to
It looks like you are using an old version of JUCE, support for macOS 11 was added in JUCE 6. Please update your version of JUCE to the latest and try running the project again.
The tutorial zips don’t contain the JUCE source, just the .jucer project file and the tutorial sources. You need to check the version of the JUCE modules that your Projucer project is pointing to as it sounds like this is an out of date version of JUCE.