Source Installation on macOS15 Sequoia error

I refer to this tutorial (https://gazebosim.org/docs/ionic/install_osx_src/) to try installing gazebo, My Mac M3 ARM64,
After compiling and running according to the steps, the following error message appears

Did you do the steps suggested in the message?

try this
ulimit -n unlimited
/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)”
brew tap osrf/simulation
brew install gz-harmonic