I am setting up a build environment in a new mac for my project. I am able to successfully run the 'gulp' command followed by the 'ionic build android'. The .apk file generated is working as expected. but my 'ionic build ios' is throwing the following error.
The following build commands failed:
CompileXIB MyProjectDirectory/Resources/ExternalFormViewController.xib (1 failure)
CordovaError:
Promise rejected with non-error: 'Error code 65 for command: xcodebuild with args: -xcconfig,/Users/MyProjectDirectory/Bala/InterimDirectory/ProjectFolder/ProjectSubFolder/platforms/ios/cordova/build-debug.xcconfig,-workspace,MyProjectDirectory.xcworkspace,-scheme,MyProjectDirectory,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone X,build,CONFIGURATION_BUILD_DIR=/Users/MyProjectDirectory/Bala/InterimDirectory/ProjectFolder/ProjectSubFolder/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/MyProjectDirectory/Bala/InterimDirectory/ProjectFolder/ProjectSubFolder/platforms/ios/build/sharedpch' at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:30:15) at process._tickCallback (internal/process/next_tick.js:103:7)