[Bug][iOS] 'jsi/jsi.h' file not found
See original GitHub issueHi!
After update from 0.16.0
to 0.16.1
I get this error:
In file included from /node_modules/@nozbe/watermelondb/native/ios/WatermelonDB/JSLockPerfHack.mm:1:
/node_modules/@nozbe/watermelondb/native/ios/WatermelonDB/JSLockPerfHack.h:3:10: fatal error: 'jsi/jsi.h' file not found
#include <jsi/jsi.h>
^~~~~~~~~~~
1 error generated.

Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:22 (7 by maintainers)
Top Results From Across the Web
'jsireact/JSIExecutor.h' file not found - Stack Overflow
The issue is with HEADER SEARCH PATHS in the React Native subspec for jsiexecutor on the master branch of "react-native": "0.58.3".
Read more >React Native JSI: Part 1 - Getting Started - Notesnook Blog
This file does not exist. You have to create this java class. Create a new java class and name it SimpleJsiModulePackage .
Read more >Installation | React Native Navigation - Open Source
'RCTBundleURLProvider.h' file not found. ``` This is because the `React` scheme is missing from your project. You can verify this by opening the...
Read more >@eversdk/lib-react-native-jsi - npm
iOS. Requirements: Xcode 12.5 cd ios && pod install && cd .. On iOS, the library is installed automatically. However, currently it is...
Read more >'RCTLog.h' file not found & Us… | Apple Developer Forums
h ' file not found and Use of undeclared identifier 'RNBRANCH_VERSION' respectively. Now you may be wondering that this issue may be related...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I had this issue too. For this I added a Header Search Path to the xcode project target build settings.
node_modules/@noze/watermelondb/native/ios/WatermelonDB.xcodeproj
and open it in Xcode$(SRCROOT)/../../../../../ios/Pods/Headers/Public/React-jsi
recursive path to your settings like in the pic below.Notes: This only works if you have the
ios
directory in your project root. So if you have it set up differently, it will still fail. This might not be the correct way to include these headers, but it’s what I found.jsi/jsi.h
is all over the place. In thereact-native
package it’s insideReactCommon
but I had more issues when I added that path.@radex I tried to fork and create a PR for this but it looks like master isn’t up to date with the 0.17.0-2 tag so I had some trouble testing.
have the same error with 0.16.0 =((( react-native: 0.61.5 X-code 11.5 Using pods