So, this issue wasted my 2 days when I just used my flutter code from Windos to MAC OS. So, I solved this by running these commands:
sudo xattr -c -r <flutter_sd_path>
sudo xattr -c -r <flutter_project_path>
sudo flutter clean
sudo flutter pub get
flutter build appbundle