I run ionic package build ios --profile <my_profile> --release on my project directory and this fail with the following log:
module.js:457
throw err;
^
Error: Cannot find module '/Users/package/workspace/<my_app_dir>/cordova/platforms/ios/cordova/node_modules/xcode'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/package/package-scripts/setManualSigning.js:4:15)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
Please, help me fix this error, i’ve tried to run npm install xcode in my platforms/ios/cordova and it has been unuseful
My ionic environment is bellow. Update ionic CLI to the latest version (Ionic CLI 3.4.0) didn’t solve nor change the output
Cordova CLI: 6.4.0
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Version: 1.2.4
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
OS: Distributor ID: Ubuntu Description: Ubuntu 15.04
Node Version: v6.5.0