Error trying to generate security profile for ionic package


I am trying to generate “security profiles” to use with $ionic package for iOS. But I get this error. Can you help please ?
(It works fine with android, I am able to build through $ionic package build android --profile android_distribution)

$ ionic security credentials ios --profile ios_distributio
n -c ../certificate_iOs/ionic_development/Certificate.p12 -p mypass -r ../certificate_iOs/ionic_development/ios_development_profile.mobileprovision 

at /usr/local/lib/node_modules/ionic/lib/ionic/security.js:272:27
at _rejected (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:797:24)
at /usr/local/lib/node_modules/ionic/node_modules/q/q.js:823:30
at Promise.when (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:1035:31)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:741:41)
at /usr/local/lib/node_modules/ionic/node_modules/q/q.js:557:44
at flush (/usr/local/lib/node_modules/ionic/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:355:11)

 (CLI v1.7.8)

Your system information:

Cordova CLI: 5.4.0
Gulp version:  CLI version 3.9.0
Gulp local:   Local version 3.9.0
Ionic Version: 1.1.0
Ionic CLI Version: 1.7.8
Ionic App Lib Version: 0.6.4
OS: Distributor ID:	Ubuntu Description:	Ubuntu 14.04.3 LTS 
Node Version: v0.12.7