ionic-team / ionic-app-scripts

App Build Scripts for Ionic Projects
http://ionicframework.com/
MIT License
609 stars 300 forks source link

Error code 65 for command #1492

Open AmitAKB opened 5 years ago

AmitAKB commented 5 years ago

Note: for support questions, please use one of these channels:

https://forum.ionicframework.com/ http://ionicworldwide.herokuapp.com/

Short description of the problem:

When I am doing the build for ios, It is showing the code 65 error.

What behavior are you expecting?

Build Successful

Steps to reproduce:

  1. ionic cordova platform add ios
  2. ionic cordova prepare ios
  3. ionic cordova build ios

I tried uninstall and reinstall the Xcode and platform (ios) also. But still it showing me the below error.

CordovaError: Promise rejected with non-error: 'Error code 65 for command: xcodebuild with args: -exportArchive,-archivePath,myApp.xcarchive,-exportOptionsPlist,/Users/akb/Offical/myApp/platforms/ios/exportOptions.plist,-exportPath,/Users/akb/Offical/myApp/platforms/ios/build/device' at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:30:15) at at process._tickCallback (internal/process/next_tick.js:188:7) [ERROR] An error occurred while running subprocess cordova.

StefanRein commented 5 years ago

I have no such issue, did you try all of these:

https://stackoverflow.com/questions/34166175/cordova-run-with-ios-error-error-code-65-for-command-xcodebuild-with-args

Could you also run this again with maybe --verbose (not sure if this exists)