Anyone Wondering for Flutter/ios Projects-
chmod -R +x "/Users/{user name}/{flutter project path}/ios/Pods/Target Support Files"
Replace {username} and {flutter_project_path} with your actual Mac username and your Flutter project folder path.
Running this command recursively adds execute permission to all necessary scripts and will fix most permission denied issues during the build.