Hi Team
I am using ionic 5.
When i build for ios i am getting below error. i command line tools available.
CordovaError: Promise rejected with non-error: “xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance\n”
at /usr/local/lib/node_modules/cordova/bin/cordova:29:15
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[ ERROR ] An error occurred while running subprocess cordova .
How to resolve this error.
Thanks in Advance
Ramji