Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229654

Ionic package IOS Build fails missing 'xcode' npm module on setManualSigning.js

$
0
0

I run ionic package build ios --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.


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


Viewing all articles
Browse latest Browse all 229654

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>