From d3eeea08516d2484c854d23085413daa9b3c05a5 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 7 Jun 2023 12:56:44 -0400 Subject: [PATCH 1/3] Update app-store.md --- docs/deployment/app-store.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/deployment/app-store.md b/docs/deployment/app-store.md index f6b2ffcf1c9..cf946789052 100644 --- a/docs/deployment/app-store.md +++ b/docs/deployment/app-store.md @@ -30,16 +30,20 @@ If the iOS platform is not already added, be sure to add it: ionic cordova platform add ios ``` -With the platform added, run the build command with the `--prod` flag: +With the platform added, run the build command with the `--prod` and `--release` flags: ```shell -ionic cordova build ios --prod +ionic cordova build ios --prod --release ``` This will generate the minified code for the web portion of an app and copy it over the iOS code base. From here, open the `.xcworkspace` file in `./platforms/ios/` to start Xcode. +:::tip +Add the `--source-map` flag if you want source maps to included in the final build. +::: + ## Generating Signing Certs Generating certificates for iOS is a bit of an involved process, so be sure to check [Apple's official documentation](https://help.apple.com/xcode/mac/current/#/dev3a05256b8) on what certificates are and how to generate them. From 1d93954dc8ceae5cf5ee16f813d0d1bf1d9fa649 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 7 Jun 2023 12:59:18 -0400 Subject: [PATCH 2/3] typo --- docs/deployment/app-store.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deployment/app-store.md b/docs/deployment/app-store.md index cf946789052..88aaa82e828 100644 --- a/docs/deployment/app-store.md +++ b/docs/deployment/app-store.md @@ -41,7 +41,7 @@ This will generate the minified code for the web portion of an app and copy it o From here, open the `.xcworkspace` file in `./platforms/ios/` to start Xcode. :::tip -Add the `--source-map` flag if you want source maps to included in the final build. +Add the `--source-map` flag if you want to include source maps in the final build. ::: ## Generating Signing Certs From ee56f99d25b9248ee9766bd62e7f0d9f799eca16 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 7 Jun 2023 13:03:26 -0400 Subject: [PATCH 3/3] Update app-store.md --- docs/deployment/app-store.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/deployment/app-store.md b/docs/deployment/app-store.md index 88aaa82e828..63958ba6920 100644 --- a/docs/deployment/app-store.md +++ b/docs/deployment/app-store.md @@ -30,10 +30,10 @@ If the iOS platform is not already added, be sure to add it: ionic cordova platform add ios ``` -With the platform added, run the build command with the `--prod` and `--release` flags: +With the platform added, run the build command with the `--prod` flag: ```shell -ionic cordova build ios --prod --release +ionic cordova build ios --prod ``` This will generate the minified code for the web portion of an app and copy it over the iOS code base. @@ -41,7 +41,7 @@ This will generate the minified code for the web portion of an app and copy it o From here, open the `.xcworkspace` file in `./platforms/ios/` to start Xcode. :::tip -Add the `--source-map` flag if you want to include source maps in the final build. +You can also have a release build generated automatically by using the `--release` flag. ::: ## Generating Signing Certs