I want to make the Release Build for iOS platform with the Distribution Certificate & Mobile Provisioning Profile. I want to do this using Phonegap(Cordova) Command Line Tools where I don't want to open XCode.
I have mobile provisioning profile and distribution certificate. I have also installed XCode, NodeJS on my machine but I don't want to open the Xcode only generate iOS release build using cordova command line tools.
If it is possible then please help me.
cordova build ios --device --release
you should have a file called build.json in cordova. In build.json, the content should like this
"ios": {
"debug": {
"codeSignIdentitiy": "iPhone Development",
"provisioningProfile": "*****"
},
"release": {
"codeSignIdentitiy": "iPhone Distribution",
"provisioningProfile": "******"
}
}