From 8609f8458db24418104e58611cc4d3bb5c58307c Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Mon, 9 Jun 2025 09:26:21 -0600 Subject: [PATCH] bump to build 25 & version 0.5.0 --- BUILDING.md | 24 +++++++++++++----------- android/app/build.gradle | 2 +- ios/App/App.xcodeproj/project.pbxproj | 4 ++-- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 47be1fe8..db9b299f 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -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 diff --git a/android/app/build.gradle b/android/app/build.gradle index 2caa3f58..635fe041 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -31,7 +31,7 @@ android { applicationId "app.timesafari.app" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 24 + versionCode 25 versionName "0.5.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" aaptOptions { diff --git a/ios/App/App.xcodeproj/project.pbxproj b/ios/App/App.xcodeproj/project.pbxproj index b419243b..cd2b13f6 100644 --- a/ios/App/App.xcodeproj/project.pbxproj +++ b/ios/App/App.xcodeproj/project.pbxproj @@ -403,7 +403,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 24; + CURRENT_PROJECT_VERSION = 25; DEVELOPMENT_TEAM = GM3FS5JQPH; ENABLE_APP_SANDBOX = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO; @@ -430,7 +430,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 24; + CURRENT_PROJECT_VERSION = 25; DEVELOPMENT_TEAM = GM3FS5JQPH; ENABLE_APP_SANDBOX = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO;