|
|
@ -9,8 +9,6 @@ For a quick dev environment setup, use [pkgx](https://pkgx.dev). |
|
|
|
- Node.js (LTS version recommended) |
|
|
|
- npm (comes with Node.js) |
|
|
|
- Git |
|
|
|
- For Android builds: Android Studio with SDK installed |
|
|
|
- For iOS builds: macOS with Xcode and ruby gems & bundle |
|
|
|
- For desktop builds: Additional build tools based on your OS |
|
|
|
|
|
|
|
## Forks |
|
|
@ -315,6 +313,14 @@ npm run build:electron-prod && npm run electron:start |
|
|
|
|
|
|
|
Prerequisites: macOS with Xcode installed |
|
|
|
|
|
|
|
#### First-time iOS Configuration |
|
|
|
|
|
|
|
- Generate certificates inside XCode. |
|
|
|
|
|
|
|
- Right-click on App and under Signing & Capabilities set the Team. |
|
|
|
|
|
|
|
#### Each Release |
|
|
|
|
|
|
|
0. First time (or if XCode dependencies change): |
|
|
|
|
|
|
|
- `pkgx +rubygems.org sh` |
|
|
@ -365,7 +371,7 @@ Prerequisites: macOS with Xcode installed |
|
|
|
|
|
|
|
``` |
|
|
|
cd ios/App |
|
|
|
xcrun agvtool new-version 24 |
|
|
|
xcrun agvtool new-version 25 |
|
|
|
# Unfortunately this edits Info.plist directly. |
|
|
|
#xcrun agvtool new-marketing-version 0.4.5 |
|
|
|
cat App.xcodeproj/project.pbxproj | sed "s/MARKETING_VERSION = .*;/MARKETING_VERSION = 0.5.0;/g" > temp |
|
|
@ -385,7 +391,7 @@ Prerequisites: macOS with Xcode installed |
|
|
|
|
|
|
|
7. Release |
|
|
|
|
|
|
|
* Under "General" we want to rename a bunch of things to "Time Safari" |
|
|
|
* Someday: Under "General" we want to rename a bunch of things to "Time Safari" |
|
|
|
* Choose Product -> Destination -> Any iOS Device |
|
|
|
* Choose Product -> Archive |
|
|
|
* This will trigger a build and take time, needing user's "login" keychain password (user's login password), repeatedly. |
|
|
@ -397,15 +403,9 @@ Prerequisites: macOS with Xcode installed |
|
|
|
* You'll probably have to "Manage" something about encryption, disallowed in France. |
|
|
|
* Then "Save" and "Add to Review" and "Resubmit to App Review". |
|
|
|
|
|
|
|
#### First-time iOS Configuration |
|
|
|
|
|
|
|
- Generate certificates inside XCode. |
|
|
|
|
|
|
|
- Right-click on App and under Signing & Capabilities set the Team. |
|
|
|
|
|
|
|
### Android Build |
|
|
|
|
|
|
|
Prerequisites: Android Studio with SDK installed |
|
|
|
Prerequisites: Android Studio with Java SDK installed |
|
|
|
|
|
|
|
1. Build the web assets: |
|
|
|
|
|
|
@ -460,7 +460,9 @@ Prerequisites: Android Studio with SDK installed |
|
|
|
* Then `bundleRelease`: |
|
|
|
|
|
|
|
```bash |
|
|
|
cd android |
|
|
|
./gradlew bundleRelease -Dlint.baselines.continue=true |
|
|
|
cd - |
|
|
|
``` |
|
|
|
|
|
|
|
... and find your `aab` file at app/build/outputs/bundle/release |
|
|
|