Skip to content

feat(release): attach the Play bundle and an unsigned IPA, and support iOS 15 - #558

Merged
linroid merged 3 commits into
mainfrom
feat/release-aab-ipa
Oct 16, 2026
Merged

linroid merged 3 commits into
mainfrom
feat/release-aab-ipa

Conversation

@linroid

@linroid linroid commented Oct 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Play bundle: the Android release job also runs :app:android:bundlePlayRelease, with the same keystore and version code as the APK, and attaches ketch-android-<version>-play.aab. Play takes no APKs, and the play flavor leaves out the self-updater and REQUEST_INSTALL_PACKAGES. It is not listed in the download table, since it is for uploading to Play.
  • Unsigned IPA: a new build-ios job on macos-26 builds the Xcode project for iphoneos with code signing off and attaches ketch-ios-<version>.ipa (Payload/Ketch.app). AltStore, SideStore and Sideloadly sign it with the user's Apple ID. The release notes and READMEs list it.
  • iOS 15: the deployment target drops from 18.0 to 15.0 (Kotlin/Native osVersionMin and IPHONEOS_DEPLOYMENT_TARGET). This also puts TrollStore's range (iOS 15.0–16.6.1, 17.0) within reach.

Why iOS 15

  • Xcode 27 refuses anything below 15.0 ("the range of supported deployment target versions is 15.0 to 27.0"), and Compose needs the iOS 26 SDK, so older Xcodes are out.
  • A Release device build at 15.0 links with no "built for newer iOS version" warnings and reports minos 15.0.
  • Every class, function and constant the binary imports strongly predates iOS 16. The newer UIKit classes Compose and Skiko use (UIEditMenuInteraction, UITextSelectionDisplayInteraction, UITextLoupeSession, …) and BGContinuedProcessingTask are weak imports.
  • The old comment's reason (Compose referencing UIViewLayoutRegion) no longer holds: the class does not appear in the binary.

Release job memory

Linking KetchApp.framework for Release ran out of the 4 GB Gradle heap from gradle.properties locally (OutOfMemoryError in devirtualization analysis). The iOS job passes -Dorg.gradle.jvmargs=-Xmx6g. The macos-26 runner has 7 GB, so this is tight; if it still fails, a larger runner is the fallback.

Testing

  • Unsigned Release xcodebuild for iphoneos at 15.0 and 17.0: succeeded. Packaged the IPA locally (27 MB).
  • Ran release-notes.py against a stub artifact set: the IPA row and links render.
  • Not tested: running on iOS 15–17. Xcode 27 offers no simulator runtime below 18, so this needs a device. The workflow itself only runs on a tag.

…t iOS 15

The release workflow now builds the play flavor's AAB beside the direct APK, with the same
version code, for uploading to Google Play, and a new macOS job builds an unsigned IPA for
sideloading. Linking the release framework needs a 6 GB Gradle heap; the default 4 GB runs out.

The iOS deployment target drops from 18.0 to 15.0, the lowest Xcode 26+ accepts. A 15.0 Release
build links with no library built for a newer system, and every class and function it imports
strongly predates iOS 16; the newer UIKit classes Compose uses are weak-linked.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T07:33:23.602873Z 0099e3c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0099e3cef9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/release.yml Resolved
@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Test Results

 1 919 files  ±0   1 946 suites  ±0   24m 50s ⏱️ +23s
12 942 tests ±0  12 695 ✅ ±0  247 💤 ±0  0 ❌ ±0 
15 517 runs  ±0  15 270 ✅ ±0  247 💤 ±0  0 ❌ ±0 

Results for commit d371a4d. ± Comparison against base commit f89f9f1.

♻️ This comment has been updated with latest results.

…o.plist keys to build settings

Xcode's signing editor wrote these: the Release configuration now uses team MJ7RE83LT9 like
Debug, the automatic signing identity is spelled out, and LSSupportsOpeningDocumentsInPlace and
NSLocalNetworkUsageDescription moved from Ketch-Info.plist to INFOPLIST_KEY_ settings, which the
generated Info.plist still carries.
@linroid
linroid merged commit f9ff4a9 into main Oct 16, 2026
11 checks passed
@linroid
linroid deleted the feat/release-aab-ipa branch October 16, 2026 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant