Skip to content

feat: lower the deployment target to iOS 18 - #116

Merged
Leeeon233 merged 2 commits into
mainfrom
ios18-deployment-target
Nov 20, 2026
Merged

Leeeon233 merged 2 commits into
mainfrom
ios18-deployment-target

Conversation

@Leeeon233

@Leeeon233 Leeeon233 commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Lowers the minimum iOS version from 26.0 to 18.0 for the app, its extensions and every local package. Every iOS 26 API now has a working iOS 18 path; on iOS 26 and later, behavior is unchanged.

  • Deployment target: project.yml, the five Package.swift files, DataChannel/build.sh and the verification POC projects now target 18.0.
  • Chrome/LodyGlass.swift (new) groups the iOS 26 APIs and their fallbacks:
    • LodyGlass.effect / containerEffect → UIGlassEffect / UIGlassContainerEffect on iOS 26; thin material on iOS 18
    • lodySetCorners → cornerConfiguration on iOS 26; a continuous layer radius on iOS 18, where capsules follow the bounds
    • .lodyGlass() / .lodyProminentGlass() button configurations, the .lodyProminent bar-item style
    • SwiftUI lodyGlass(in:), lodyGlassButtonStyle() and LodyGlassGroup
  • LodyScrollEdges: soft scroll edges and UIScrollEdgeElementContainerInteraction go through setEdgesHidden and shape. iOS 18 has no soft edges, so these do nothing there.
  • iOS 18 product decisions:
    • Composer dictation is hidden, because SpeechAnalyzer is iOS 26 only.
    • The iPad split has no inspector column. HomeController.showPanel returns false, so LodyShell.presentDetail opens pages or sheets, as on compact widths.
  • Smaller fallbacks on iOS 18:
    • Integrated search placements become inline, or stacked under the title.
    • Bar-item badges and shared-background options are skipped.
    • The navigation subtitle is shown as prompt.
    • The drawOn symbol effect becomes bounce.
    • tabBarMinimizeBehavior, the zoom transition from a bar button and interactiveContentPopGestureRecognizer are skipped.
    • The header floor uses the plain safe area.
    • The create action is not a tab. A compose button floats at the trailing edge above the tab bar on Chats and Schedules (hidden on Settings), and those lists inset their content by its height.
  • Verification tooling:
    • native.py and share-probe.py compile against iOS 18, except checks that exercise iOS 26 APIs directly (scroll-edges, glass-transition, model-panel, chat-title).
    • New simulator.py iphone-16 device type, because iOS 18 runtimes do not support the iPhone 17.
  • Rules and docs: the iOS 18 rule is in docs/rules/general.md; home.md, composer.md, shell.md and README.md are updated.

Depends on LodyAI/ChatKit#1, which is the ChatKit submodule pointer in this PR.

Test plan

  • xcodebuild for the iOS Simulator with the 18.0 target and normal signing: no availability errors (the first audit build had 131)
  • pnpm check, pnpm format:check
  • pnpm verify:native: all checks touched by this change pass (including chat-kit, composer-dictation, chat-chrome, chat-render, form, banner, chat-title, model-panel, scroll-edges, glass-transition, home-layout, fold-host, share). The remaining failures are already present on main without this change: session-simulator, pull-request, github-mentions, github-pr, settings-roles, file-link, strings, auth-session, chat, local-store, chat-subagent, chat-files, composer, list.
  • iOS 18.3 iPhone 16 Pro simulator: onboarding passes. Home, the conversation, the composer with an attachment and the tab bar render correctly (checked in screenshots).
  • iOS 18.3 iPad Air: the split and the sidebar render, and the inspector is not created.
  • UI baselines on iOS 18: home, home-settings, send, ipad and ipad-chrome fail on iOS 18 accessibility-tree differences: tab items are RadioButton, and overlay sidebar frames differ. home-settings also fails on main with iOS 27. Not adapted in this PR.
  • ipad on iOS 27 could not be checked: the leased iPad simulator runs the app in a small window, so the inspector path on iOS 26+ was not exercised by a UI case.
  • Device check of the iOS 18 visual fallbacks (material instead of glass, no soft edges)

Every iOS 26 API now has an iOS 18 path. Glass, corners, glass buttons and
prominent bar items go through Chrome/LodyGlass.swift, and soft scroll edges
through LodyScrollEdges. iOS 18 hides dictation (SpeechAnalyzer is iOS 26
only), and the iPad split has no inspector column there, so detail panels
open as pages or sheets as on compact widths. Native checks compile against
iOS 18, except those that exercise iOS 26 APIs directly.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Model: claude-opus-5.5
On iOS 18 the create action no longer takes a tab: a compose button floats
at the trailing edge above the tab bar on Chats and Schedules, and those
lists inset their content so the last rows stay reachable.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Model: claude-opus-5.5
@Leeeon233
Leeeon233 merged commit 0dc0d51 into main Nov 20, 2026
2 of 5 checks passed
@Leeeon233
Leeeon233 deleted the ios18-deployment-target branch November 20, 2026 01:34
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