One codebase; on the Mac nothing changes (rl16build --dry-run --for ios
android gives the same output before and after). On Linux:
- ios builds each app's XcodeGen .xcodeproj with `xtool dev build
--configuration release --scheme <s> --ipa [--sign]`, run in
~/.cache/rl16build/xtool/<folder> with an xtool.yml pointing at the
project, so nothing of xtool's lands in the app's repo. The build number
goes into the generated project, since xtool takes no build settings.
- macos and watchos are not available on Linux (xtool): no watchOS SDK, and
Mac apps xtool can't sign.
- What xtool can't build there is skipped, with the reason on the app's
line and in the summary: an asset catalog, storyboard, xib, Metal, string
catalog, Core Data or Core ML model, intent definition (Apple's tools,
which Linux doesn't have), or a watch app inside. What it builds without
is said on the line: App Intents metadata (xtool skips it on Linux),
ExtensionKit extensions.
- The .ipa files are never uploaded: xtool signs for development under
XTL-… bundle IDs, so they aren't the Mac's builds. --upload-only on Linux
checks each .ipa and sends only the app's own bundle ID with Ad Hoc.
- Upload keys through secret-tool (the same service and account names),
else $IPA_UPLOAD_KEY/$APK_UPLOAD_KEY, else asked; --key-file keeps one in
~/.config/rl16build/<site>.key (600) instead.
- Android: JDK from JAVA_HOME, /usr/lib/jvm/java-17/21-openjdk or
archlinux-java; SDK from ANDROID_HOME, ~/Android/Sdk or /opt/android-sdk;
a local.properties naming the Mac's SDK is pointed at this one.
- --extract-watch is macOS-only.
Both systems: no Keystores folder at all stops the Android builds before
anything is built (copy it from the Mac, or --new-keys); RL16BUILD_SWIFT_ROOT,
RL16BUILD_KOTLIN_ROOT and RL16BUILD_OUTPUT_ROOT move the folders; a test
target (swift test, macOS and Linux) covers the logic. README: a Linux
(xtool) section with the Arch setup.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Ug8WAdn5H4r3oi1q2LdYaY