Skip to content

fix(ios): build fmt pod as C++17 to fix Xcode 26.4+ consteval error#314

Merged
mfazekas merged 1 commit into
feat/rive-ios-experimentalfrom
fix/ios-experimental-fmt-consteval
Jul 3, 2026
Merged

fix(ios): build fmt pod as C++17 to fix Xcode 26.4+ consteval error#314
mfazekas merged 1 commit into
feat/rive-ios-experimentalfrom
fix/ios-experimental-fmt-consteval

Conversation

@mfazekas

@mfazekas mfazekas commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Cherry-picks the fmt-as-C++17 Podfile workaround onto the experimental backend line so its iOS build survives the Xcode 26.4+ (Apple clang 21) consteval error in fmt (via RCT-Folly on RN 0.80.3).

Same change as #306 (which targets main); applies cleanly here and the branch had no prior fmt workaround. Remove once we bump to RN 0.83+ (fix is upstream there).

@mfazekas mfazekas force-pushed the fix/ios-experimental-fmt-consteval branch from b394e29 to c0a1469 Compare July 2, 2026 13:39
Interim workaround for the Apple clang 21 consteval error in fmt, matching Expo's recommended fix (expo/expo#44229): define FMT_USE_CONSTEVAL=0 on the fmt pod while keeping C++20. The real fix is upstream in React Native 0.83+.
@mfazekas mfazekas force-pushed the fix/ios-experimental-fmt-consteval branch from c0a1469 to cbeb8a6 Compare July 2, 2026 14:02
@mfazekas mfazekas merged commit ca9add8 into feat/rive-ios-experimental Jul 3, 2026
11 checks passed
@mfazekas mfazekas deleted the fix/ios-experimental-fmt-consteval branch July 3, 2026 03:32
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