I have created a \'helloworld\' iOS app with cordova using there documentation. The app successfully runs when I run cordova emulate ios. What I ca
I finally figured out a way to automate this by using xcodeproj, xcode and this ruby script :
require 'xcodeproj'
xcproj = Xcodeproj::Project.open("HelloWorld.xcodeproj")
xcproj.recreate_user_schemes
xcproj.save
And then in the PROJECT_ROOT/platforms/ios/ directory this command helped me to generate my *.ipa:
xcodebuild -project HelloWorld.xcodeproj -exportArchive -exportFormat ipa -archivePath $(pwd)/HelloWorld.xcarchive -exportPath $(pwd)/HelloWorld.ipa CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -alltargets -configuration Release
Thought we can sign our .ipa later on :)