From 64918f83486297cd977b52f038d8bbfbfe48bdd2 Mon Sep 17 00:00:00 2001 From: Alexander Menk Date: Sun, 8 Oct 2023 18:23:36 +0200 Subject: [PATCH 1/2] More docs for iOS building and releasing --- DEVELOPMENT.md | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index c90ea0a..cff3d58 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -96,7 +96,7 @@ We are developing at MacStadium.com (thank you!) * Download the ZIP, extract to development/ * Add path to .bash_profile `export PATH="$PATH:/Users/administrator/development/flutter/bin"` * `flutter doctor` - * install homebew + * install homebrew * `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"` * install [cocoapods](https://guides.cocoapods.org/using/getting-started.html#installation) * `brew install cocoapods` @@ -108,11 +108,36 @@ We are developing at MacStadium.com (thank you!) ### Archiving +Eventually upgrade flutter, check with `flutter doctor` + +``` +cd development/addismaptransit +git pull +flutter build ios +``` + In Xcode: -* Product -> Destination -> Any iOS Device -* Product -> Archive -* Opens the uploader, click next, next, next ... +* Product -> Destination -> Any iOS Device +* Product -> Archive (if already built: Window -> Organizer -> Archives) +* Opens the uploader, select current most recent version, click Distribute, Next, App store connect, + * Next, Upload, Next, + * All options, Next, + * Automatically manage signing, of this is is not working: + * Manual manage signing, next... + * Use apple distribution certificate + * Create profile: https://developer.apple.com/account/resources/profiles/add Distribution - App Store + * Runner.app Download Profile +* The local keychain needs to be opened: click always allow ! not only allow ! (use the login password) * Publish via https://appstoreconnect.apple.com/ +#### Common Issues + +* "the request expected results but none were found - error while generation code signature" in the last step when uploading + * Signature expired? Follow the steps above +* Local keychain password keeps asking again and again: + * It's the login password + * Window might have appeared multiple times + * use Always Allow + * see also https://stackoverflow.com/a/50657877/288568 From f925b1bbe8c54814702a079060d2a31f9325f694 Mon Sep 17 00:00:00 2001 From: Alexander Menk Date: Sun, 8 Oct 2023 18:34:33 +0200 Subject: [PATCH 2/2] More docs for iOS building and releasing --- DEVELOPMENT.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index cff3d58..b2e5884 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -116,6 +116,8 @@ git pull flutter build ios ``` +* First create the new version in https://appstoreconnect.apple.com/apps + In Xcode: * Product -> Destination -> Any iOS Device @@ -129,7 +131,14 @@ In Xcode: * Create profile: https://developer.apple.com/account/resources/profiles/add Distribution - App Store * Runner.app Download Profile * The local keychain needs to be opened: click always allow ! not only allow ! (use the login password) -* Publish via https://appstoreconnect.apple.com/ +* Publish via https://appstoreconnect.apple.com/apps + * Choose the app + * Click the little "+" icon to create a new store version + * Enter the store version manually + * Paste he changelog + * Eventually wait some time until the build can be selected (you should receive and email notification) +* Click save, then add for review +* Submit to App Review #### Common Issues