[0.73 RC.4][iOS] Multiple jsi.h from different sources #41498
Labels
Contributor
A React Native contributor.
Needs: Repro
This issue could be improved with a clear list of steps to reproduce the issue.
Needs: Triage 🔍
p: Expo
Partner: Expo
Partner
Platform: iOS
iOS applications.
Type: Upgrade Issue
Issues reported from upgrade issue form
New Version
0.73.0-rc.4
Old Version
0.72.5
Build Target(s)
iOS
Output of
react-native info
Issue and Reproduction Steps
There is a regression from 0.73.0-rc.4 where it contains multiple jsi.h, one from React-jsi and the other from hermes-engine.
Since the jsi.h have different paths, they will cause unpredictable resolutions. At Expo, we have some test cases to throw
jsi::JSError
from hermes-engine and catch the exceptions out of hermes-engine. In hermes-engine, it uses the jsi.h from hermes-engine. On the other hand, on app side it uses the jsi.h from React-jsi to catch the jsi::JSError. Then the exceptions are not uncaught and make app crash.The relevant change seems to be a66ebc5
Reproduce steps
The text was updated successfully, but these errors were encountered: