Skip to content

feat(mobile): iOS support, unified test-build version scheme, TestFlight CI - #100

Merged
tallcode merged 3 commits into
mainfrom
claude/gallant-lalande-bb3145
Aug 6, 2026
Merged

tallcode merged 3 commits into
mainfrom
claude/gallant-lalande-bb3145

Conversation

@tallcode

@tallcode tallcode commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

Extends FutureOS Mobile to iOS and adds TestFlight distribution, with a unified version scheme across all clients.

iOS support

  • Fix bundle id to cn.futureos.mobile (iOS rejects underscores), prebuild + run:ios scripts, Makefile targets
  • Add scripts/start-mobile-ios.sh one-shot launcher (auto simulator setup, dev/release modes), mirroring the Android script
  • EAS config added then removed — distribution now goes through GitHub Actions

Version scheme rework (all clients)

  • Test builds: 0.0.<commit-count>[-<hash>], detected by first version component being 0 (was: 0.0.0-<hash> / - suffix rule)
  • iOS TestFlight uses plain 0.0.<count> marketing version (TestFlight rejects suffixes); other targets keep the hash for pinpointing code
  • Store build numbers (iOS CFBundleVersion / Android versionCode) derive from commit count via FUTURE_BUILD_NUMBER — monotonic across builds
  • Guard: release tags must start 1+; v0.x.y is rejected as a test build

TestFlight CI

  • New .github/workflows/build-ios-testflight.yml: manual trigger, imports iOS Distribution cert + provisioning profile from secrets, builds signed Release .ipa, uploads to TestFlight via altool, mirrors to OSS

Test plan

  • node scripts/version.mjs scenarios: local/CI/release tag/v0.x guard/TestFlight injection all correct
  • gui src-tauri: cargo fmt --check, cargo clippy --all-targets, cargo test --lib (182 passed)
  • mobile: npm run check (typecheck, lint, format, 42 tests)
  • iOS simulator build boots to pairing screen (verified in worktree)
  • TestFlight workflow: requires 6 new repo secrets + Apple certs; verify by manual dispatch after setup

Required secrets (after merge)

IOS_DIST_CERT_P12_BASE64, IOS_DIST_CERT_P12_PWD, IOS_PROVISIONING_PROFILE_BASE64, APPLE_TESTFLIGHT_API_KEY, APPLE_TESTFLIGHT_API_KEY_ID, APPLE_TESTFLIGHT_API_ISSUER (+ existing OSS_*)

🤖 Generated with Claude Code

tallcode and others added 3 commits August 6, 2026 13:38
…ipt, EAS config

Add iOS support alongside Android: fix bundle id to cn.futureos.mobile (iOS
rejects underscores), add expo prebuild + run:ios scripts and Makefile targets,
write scripts/start-mobile-ios.sh mirroring the Android launcher (auto simulator
setup, dev/release modes), and add eas.json build profiles for EAS distribution.
Also fix the stale Android package id and a BSD-sleep incompatibility in the
Android launch script.

Verified: iOS simulator build succeeds, app boots to the pairing screen; mobile
typecheck/lint/format/tests all pass.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
…stFlight CI

Test builds are now versioned 0.0.<commit-count>[-<hash>] and detected by their
first version component being 0, instead of the old 0.0.0-<hash> / "-" suffix
rule. This lets the iOS TestFlight build use a plain 0.0.<count> marketing
version (TestFlight rejects suffixes) while keeping the hash for other targets.
Store build numbers (iOS CFBundleVersion / Android versionCode) derive from the
commit count via FUTURE_BUILD_NUMBER, so they stay monotonic.

Add a manual GitHub Actions workflow that builds a signed iOS Release .ipa with
Expo + xcodebuild and uploads it to TestFlight via altool using an independent
App Store Connect API key. Drop the EAS config (eas.json, eas.projectId,
eas:build script) since distribution now goes through GitHub Actions.

Verified: version.mjs scenarios (local/CI/release/v0-guard/TestFlight), gui
src-tauri fmt+clippy+182 tests, mobile typecheck/lint/format/42 tests.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
…pload

The existing APPLE_API_KEY/ID/ISSUER secrets (used for macOS notarization) carry
App Manager role with App Store Connect permission, so they work for altool
TestFlight upload too. Drop the separate APPLE_TESTFLIGHT_* secrets.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@tallcode
tallcode merged commit 8a41dcd into main Aug 6, 2026
17 checks passed
@tallcode
tallcode deleted the claude/gallant-lalande-bb3145 branch August 6, 2026 07:02
huichen added a commit that referenced this pull request Oct 17, 2026
…100) (#1172)

Points the skills submodule at 26c0df5, which states in builtin/future-goal/SKILL.md that `future goal run` inherits no model or thinking level from the launching session (registry default + DEFAULT_THINKING_LEVEL "medium"), and that matching a session requires both flags. Documentation only; no CLI behaviour change.
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