Last active
November 11, 2018 08:45
-
-
Save mariusbolik/25ca118a601864357de89e4acb0b3b8b to your computer and use it in GitHub Desktop.
The right way to build a cordova app without errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##================================================ | |
# STEP 1 | |
# iOS: Add Platform (Current Version: 4.5.5) | |
# https://github.com/apache/cordova-ios/releases | |
##================================================ | |
$> ionic cardova platform add [email protected] | |
//--> Don't forget to open Xcode and set Developer Team or Provisioning Profiles | |
//--> IMPORTANT: If using Xcode 10: Go to "File -> Workspace Settings..." and choose "Lagacy Build System"! | |
##================================================ | |
# STEP 2 | |
# iOS: Build App for Production | |
##================================================ | |
//---> Without Signing (You have to build an Archive): | |
$> ionic cordova build ios --prod --release | |
//---> Automatic Signing: | |
$> ionic cordova build ios --prod --release --buildFlag="-allowProvisioningUpdates" | |
##================================================ | |
# STEP 1 | |
# Android: Add Platform (Current Version: 7.1.2) | |
# https://github.com/apache/cordova-android/releases | |
##================================================ | |
$> ionic cardova platform add [email protected] | |
##================================================ | |
# STEP 2 | |
# Build an Android App for Production | |
##================================================ | |
$> ionic cordova build android --prod --release --force | |
more to come... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment