Error building ios app



  • This is the error:
    app:cordova-conf Updated Cordova config.xml +53s
    app:spawn Running “cordova run ios --buildFlag=-UseModernBuildSystem=0” +1ms

    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 cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:29:15)
    at process._tickCallback (internal/process/next_tick.js:68:7)

    app:spawn Command “cordova” failed with exit code: 1 +0ms
    app:cordova-conf Updated Cordova config.xml +4ms
    app:cordova-conf ⚠️ [FAIL] Cordova CLI has failed +1ms

    please i need a solotion as soon as possible



  •  error: tool ‘xcodebuild’ requires Xcode
    

Log in to reply