I also encountered the same problem when using M5 core 2. My macOS system version is 10.14.6