IONIC 7 - Build ERROR on MAC

Error:
An unhandled exception occurred: missing ) after argument list
See “/private/var/folders/20/my8cd2vs5_x5dspwqddmk4500000gn/T/ng-dxSOc6/angular-errors.log” for further details.
An error occurred while running subprocess ng.

    ng run app:build exited with exit code 127.
    
    Re-running this command with the --verbose flag may provide more information.

any information usefull at verbose…

node version 18.16.0 LTS (nvm default)
ionic CLI —> 7.1.1 ----- npm i -g @ionic/cli
angular/CLI —>The last one ----- npm i -g @angular/cli

the application is currently done and the commands are working on my Windows correctly. I need to build on the MAC to because xpods files and sync everything correctly with de ‘ios’ directory and test de application.

Tried too from Ionic extension on Visual Studio…

[Ionic] Building…

export ANDROID_HOME=~/Library/Android/sdk && npx ionic build && npx cap copy
ng run app:build
An unhandled exception occurred: missing ) after argument list

See “/private/var/folders/20/my8cd2vs5_x5dspwqddmk4500000gn/T/ng-LrDX33/angular-errors.log” for further details.

[ERROR] An error occurred while running subprocess ng.

    ng run app:build exited with exit code 127.


    Re-running this command with the --verbose flag may provide more information.

[error] export ANDROID_HOME=~/Library/Android/sdk && npx ionic build && npx cap copy Failed

[error] Build Failed.