Skip to content

iOS RaTeX math dependency breaks x86_64 simulator builds in react-native-enriched-markdown >= 0.7 #527

Description

@simeonbakalov

Description

After updating react-native-enriched-markdown from 0.6.0 to 0.7.3, our iOS build started failing when building universal simulator targets.

The failure appears to come from the new RaTeX-based iOS math implementation introduced in >= 0.7.

The build fails because the RaTeX module is available for arm64-apple-ios-simulator, but not for x86_64-apple-ios-simulator.

Error

/Users/.../node_modules/react-native-enriched-markdown/ios/math/ENRMRaTeXBridge.swift:4:8:
could not find module 'RaTeX' for target 'x86_64-apple-ios-simulator';
found: arm64-apple-ios-simulator, at:
/Users/.../DerivedData/.../Build/Products/Debug-iphonesimulator/RaTeX.swiftmodule

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions