Skip to content

Fix iOS build error: replace legacy EXFatal with fatalError#15

Open
DivadOger wants to merge 1 commit into
speechmatics:mainfrom
DivadOger:fix/replace-legacy-exfatal-with-fatalError
Open

Fix iOS build error: replace legacy EXFatal with fatalError#15
DivadOger wants to merge 1 commit into
speechmatics:mainfrom
DivadOger:fix/replace-legacy-exfatal-with-fatalError

Conversation

@DivadOger

@DivadOger DivadOger commented Apr 8, 2026

Copy link
Copy Markdown

Summary

  • Replace EXFatal(EXErrorWithMessage(...)) with Swift's native fatalError() in MicrophonePermissionRequester.swift
  • EXFatal and EXErrorWithMessage are legacy Objective-C APIs in ExpoModulesCore that are no longer bridged into Swift scope as of Expo SDK 55, causing iOS build failures

This PR was prepared with AI assistance.

…atalError

EXFatal and EXErrorWithMessage are legacy Objective-C APIs in
ExpoModulesCore that are not bridged into Swift scope in newer
Expo SDK versions, causing build failures. Replace with Swift's
native fatalError() which serves the same purpose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant