hex/ios/HEXMobile
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 6efe4e9994 iOS: dictate English with Apple on iPhone 11, and stop the Parakeet relaunch loop
A TestFlight tester (iPhone 11, iOS 27.3, build 16) reported the model
download sticking at 50% and the app then crashing at every launch, with no
crash log. iPhone 11 (A13, 4 GB) has no SpeechTranscriber
(SpeechTranscriber.isAvailable is false on every A13 iPhone), so Hex used
Parakeet V2 for English. FluidAudio 0.15.5 reports downloads as 0-50% and
Core ML's compile as 50-100%, so 50% is MLModel(contentsOf:) compiling the
encoder, which can't be cancelled; iOS ends the app there. Once the files are
on disk, init saw hasCachedModel and loaded Parakeet again at once, so every
launch ended the same way. iOS ending an app for memory leaves no crash
report, which fits the empty crash list.

- AppleSpeechTranscriber.shouldUse: English without SpeechTranscriber uses
  DictationTranscriber where Parakeet doesn't fit (under 5 GiB of RAM: every
  A13 iPhone) on iOS 26+. Parakeet stays where it fits and before iOS 26.
- ParakeetLoadGuard: a load still marked as running at launch belonged to a
  process that ended, so the next launches don't load Parakeet by themselves
  until a load works; Hex says it closed while loading the model and waits
  for Set up. If Automatic now picks Apple Speech, it prepares that instead.
- Parakeet's download half runs under StallWatch (90 s without progress ends
  it); the compile half isn't watched since it can't be stopped. FluidAudio's
  download errors (Hugging Face paths and HTML in their text) become "Parakeet
  V2 didn't download. Check your connection and try again."

Verified: xcodebuild test on an iPhone 15 / iOS 27.2 simulator, 247 tests,
0 failures, 1 skipped (AppleSpeechClipTests, needs clips), including new
tests for shouldUse on a 4 GB iPhone and the load guard across launches.
Parakeet's memory use, the compile at 50% and the ended launches need a real
iPhone 11; the simulator neither limits memory nor runs SpeechTranscriber.
2026-11-20 10:03:00 -05:00
..
Assets.xcassets feat: add iOS dictation keyboard 2026-07-19 15:21:45 -04:00
AppleSpeechTranscriber.swift iOS: dictate English with Apple on iPhone 11, and stop the Parakeet relaunch loop 2026-11-20 10:03:00 -05:00
AudioBackend.swift iOS: fix six TestFlight tester issues (audio error, leaked error text, Live Activity, haptics, capitals, push to talk) (#2035) 2026-11-20 13:21:16 +00:00
ContentView.swift iOS: fall back to DictationTranscriber when a speech model won't install, and never show Apple's error text 2026-11-20 10:02:50 -05:00
CustomVocabularyEditor.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00
DictationController.swift iOS: dictate English with Apple on iPhone 11, and stop the Parakeet relaunch loop 2026-11-20 10:03:00 -05:00
ExperimentsCard.swift iOS: fix six TestFlight tester issues (audio error, leaked error text, Live Activity, haptics, capitals, push to talk) (#2035) 2026-11-20 13:21:16 +00:00
FullKeyboardSnapshotStage.swift iOS: fall back to DictationTranscriber when a speech model won't install, and never show Apple's error text 2026-11-20 10:02:50 -05:00
HexIntents.swift feat(ios): polish iPhone keyboard dictation, warm sessions, and Live Activity (#574) 2026-10-30 23:35:45 -07:00
HEXMobile.entitlements Set up Hex Mobile internal TestFlight releases (#1997) 2026-11-19 11:48:49 -05:00
HEXMobileApp.swift iOS: remove the return-to-app feature; swipe back after a handoff (#2042) 2026-11-20 13:58:31 +00:00
Info.plist Set up Hex Mobile internal TestFlight releases (#1997) 2026-11-19 11:48:49 -05:00
KeyboardPreviewHost.swift iOS: fall back to DictationTranscriber when a speech model won't install, and never show Apple's error text 2026-11-20 10:02:50 -05:00
KeyboardSetup.swift iOS: ask for the microphone before sending setup to Settings (#2036) 2026-11-20 13:27:33 +00:00
LanguageSettingsRows.swift iOS: Norwegian, Spanish and German full-keyboard layouts 2026-11-20 07:52:48 -05:00
LiveActivityCoordinator.swift iOS: fix six TestFlight tester issues (audio error, leaked error text, Live Activity, haptics, capitals, push to talk) (#2035) 2026-11-20 13:21:16 +00:00
Onboarding.swift iOS onboarding: say 100% on device on the welcome page (#2047) 2026-11-20 14:45:20 +00:00
OnboardingProgress.swift iOS: add a three-page first-run onboarding (#2031) 2026-11-20 12:36:45 +00:00
ParakeetTranscriber.swift iOS: dictate English with Apple on iPhone 11, and stop the Parakeet relaunch loop 2026-11-20 10:03:00 -05:00
TranscriptCleanup.swift iOS: dictate in every language Apple Speech has on device 2026-11-20 07:52:32 -05:00
TranslateDictationRow.swift iOS: Spanish clean-up, paste translated or as spoken, screen stays on while recording (#2046) 2026-11-20 14:39:28 +00:00
TypingInsightsView.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
TypingLogsView.swift ios: record raw typing logs from Hex's keyboard (experiment) (#2024) 2026-11-20 02:13:16 +00:00