Error Building Ionic Project on iOS

Hello everyone,

I’m encountering an issue while trying to build my Ionic project on iOS. Strangely, the project works fine on Android. The error I’m seeing is:

Error at new (/usr/local/lib/node_modules/@ionic/cli/node_modules/@ionic/utils-subprocess/dist/index.js:41:23)
at ChildProcess. (/usr/local/lib/node_modules/@ionic/cli/node_modules/@ionic/utils-subprocess/dist/index.js:114:27)

I have already worked on the same project in Android without any problems. I’ve tried updating the Ionic CLI, checking Node.js and npm versions, clearing caches, and reviewing my code changes, but the issue persists.

Any guidance or suggestions on how to resolve this would be greatly appreciated!

Thank you in advance.