Mup deploy showing cordova error

Hi,

I’m getting this error when I do a mup deploy to my server.

I’m a little confused as far as I know, my app isn’t using cordova at all and I don’t have a cordova build when i build it locally. Is there a way I can turn off cordova explicitly?

=> Errors executing Cordova commands:

   While building Cordova app for platform iOS:
   Error:
   /Users/wai/Source/calcMaker/.meteor/local/cordova-build/platforms/ios/cordova/build:
   Command failed with exit code 2 Error output:
   xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer
   directory '/Library/Developer/CommandLineTools' is a command line tools
   instance
   at ChildProcess.whenDone
   (/Users/wai/.meteor/packages/meteor-tool/.1.1.10.1xqc2b3++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/cordova/superspawn.js:139:23)
   at ChildProcess.emit (events.js:98:17)
   at maybeClose (child_process.js:766:16)
   at Process.ChildProcess._handle.onexit (child_process.js:833:5)

ah oops stupid. I accidentally put iOS in the platforms file.

Hey, I’m having this same issue, how did you fixed it?

Like I mentioned, I removed the ios in the platform file

1 Like