Skip to content

iOS build fails on React Native 0.79.3 due to fmt consteval errors (Xcode 26.4) #4023

@mahipalsingh-syt

Description

@mahipalsingh-syt

iOS build fails when compiling fmt headers while building a React Native 0.79.3 app using Xcode 26.4.
The failure appears to be caused by consteval usage in fmt not being accepted as a constant expression by Apple Clang.

Error
Call to consteval function
'fmt::basic_format_string<...>::basic_format_string<FMT_COMPILE_STRING, 0>'
is not a constant expression

Environment

Xcode: 26.4
Platform: iOS
React: 19.0.0
React Native: 0.79.3
react-native-force: v13.1.1
fmt: 11.0.2 (transitive via RCT-Folly / related pods)

Expected
iOS build succeeds with RN 0.79.3 using default CocoaPods configuration.

Actual
Build fails during compilation of fmt due to consteval constant‑expression errors.

FMT Library : OneKeyHQ/app-monorepo#10905

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions