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
Description
After updating
react-native-enriched-markdownfrom0.6.0to0.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
RaTeXmodule is available forarm64-apple-ios-simulator, but not forx86_64-apple-ios-simulator.Error