This repository has been archived by the owner on Aug 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
published in the ios app store 0.1.0 37
- Loading branch information
Hans Bakker
authored and
Hans Bakker
committed
May 3, 2022
1 parent
f172f3a
commit fe8163a
Showing
15 changed files
with
90 additions
and
124 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,48 @@ | ||
To upload a new version to the appstore: | ||
|
||
start emulators from command line: | ||
https://medium.com/@abrisad_it/how-to-launch-ios-simulator-and-android-emulator-on-mac-cd198295532e | ||
|
||
to create a missing emulator ipad: (adjust ios version and ipad version) | ||
xcrun simctl create "iPad Pro (12.9-inch) (3rd generation)" "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---3rd-generation-" "com.apple.CoreSimulator.SimRuntime.iOS-14-5" | ||
|
||
1. Start all emulators you need screen shots from | ||
iPhone 12 pro max, iPhone 8 Plus, iPad Pro 12.9 (2nd gen), iPad Pro 12.9 (3rd gen) | ||
2. switch Ipad to horizontal layout | ||
|
||
dirs should exist: ios/fastlane/unframed/en-US | ||
from app root: flutter pub run utils:screenshots | ||
|
||
to only run the frameit-chrome program:(project home) | ||
flutter pub global run frameit_chrome \ | ||
--base-dir=ios/fastlane/unframed \ | ||
--frames-dir=ios/fastlane/frames \ | ||
--chrome-binary=/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \ | ||
--pixel-ratio=2 | ||
--skip_docs | ||
|
||
When generated then move from framed/en-US to metadata/screenshots/en-US | ||
|
||
Build and upload Manual: | ||
https://flutter.dev/docs/deployment/ios | ||
certicate access (rediculus!!) | ||
https://stackoverflow.com/questions/10204320/mac-os-x-wants-to-use-system-keychain-when-compiling-the-project | ||
|
||
Fastlane: | ||
--------- | ||
1. increase numbers in ios/Runner/Info.plist: | ||
CFBundleShortVersionString: major version seen by the user ie: 0.0.13 | ||
CFBundleVersion: seqeuntial nuber within version | ||
2. build flutter: (project home) | ||
flutter build ios --release --no-codesign | ||
3. compile and sign (in ios dir) | ||
fastlane gym skip_docs | ||
4. upload: (in ios dir) | ||
binary only: fastlane upload | ||
all including meta: fastlane deliver --overwrite_screenshots skip_docs | ||
just screenshots: fastlane deliver --overwrite_screenshots skip_docs --skip_binary_upload | ||
|
||
login to the appstore console: | ||
create new major version, give reason of update and submit for review | ||
fastlane documentation | ||
---- | ||
|
||
# Installation | ||
|
||
Make sure you have the latest version of the Xcode command line tools installed: | ||
|
||
```sh | ||
xcode-select --install | ||
``` | ||
|
||
For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane) | ||
|
||
# Available Actions | ||
|
||
## iOS | ||
|
||
### ios build | ||
|
||
```sh | ||
[bundle exec] fastlane ios build | ||
``` | ||
|
||
|
||
|
||
### ios codesign | ||
|
||
```sh | ||
[bundle exec] fastlane ios codesign | ||
``` | ||
|
||
|
||
|
||
### ios upload | ||
|
||
```sh | ||
[bundle exec] fastlane ios upload | ||
``` | ||
|
||
|
||
|
||
---- | ||
|
||
This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run. | ||
|
||
More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools). | ||
|
||
The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools). |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#!/bin/sh | ||
# This is a generated file; do not edit or check into version control. | ||
export "FLUTTER_ROOT=/home/dell/snap/flutter/common/flutter" | ||
export "FLUTTER_APPLICATION_PATH=/home/dell/growerp/packages/admin" | ||
export "FLUTTER_ROOT=/Users/hans/flutter" | ||
export "FLUTTER_APPLICATION_PATH=/Users/hans/growerp/packages/admin" | ||
export "COCOAPODS_PARALLEL_CODE_SIGN=true" | ||
export "FLUTTER_TARGET=lib/main.dart" | ||
export "FLUTTER_BUILD_DIR=build" | ||
export "FLUTTER_BUILD_NAME=0.1.0" | ||
export "FLUTTER_BUILD_NUMBER=37" | ||
export "DART_OBFUSCATION=false" | ||
export "TRACK_WIDGET_CREATION=false" | ||
export "TREE_SHAKE_ICONS=false" | ||
export "PACKAGE_CONFIG=.packages" | ||
export "TREE_SHAKE_ICONS=true" | ||
export "PACKAGE_CONFIG=/Users/hans/growerp/packages/admin/.dart_tool/package_config.json" |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
sdk.dir=/home/dell/Android/Sdk | ||
flutter.sdk=/home/dell/snap/flutter/common/flutter | ||
flutter.sdk=/Users/hans/flutter | ||
flutter.buildMode=release | ||
flutter.versionName=0.1.0 | ||
flutter.versionCode=13 |
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
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
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
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
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
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
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
Oops, something went wrong.