question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'RNGestureHandlerStateManager.h' file not found

See original GitHub issue

Description

Xcode gives the following error when building:

‘RNGestureHandlerStateManager.h’ file not found

NativeProxy.mm: #import "RNGestureHandlerStateManager.h"

NativeMethods.h #import "RNGestureHandlerStateManager.h"

Works when I add “…/” to the path:

#import "../RNGestureHandlerStateManager.h"

I don’t know how this is supposed to work for anybody without either modifying the import or some search path.

Expected behavior

File found

Actual behavior & steps to reproduce

File not found

Snack or minimal code example

#import "RNGestureHandlerStateManager.h"

Package versions

  • React Native: 0.66.4
  • React Native Reanimated: 2.3.0
  • NodeJS: 14.18.1
  • Xcode: 13.1 (13A1030d)
  • CocoaPods: 1.11.2

Affected platforms

  • Android
  • iOS
  • Web

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:6
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
piaskowykcommented, Jan 7, 2022

@tapz Thanks to your repro I resolved the problem in a couple of moments - thanks a lot! ❤️ This PR should resolve a problem - https://github.com/software-mansion/react-native-reanimated/pull/2815

1reaction
iKorucommented, Jan 5, 2022

still occurs in version 2.3.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

There are build errors generating in my RNGestureHandler.h ...
h file under ExpoKit. Unknown type name 'RNGestureHandlerState'. This issue occurred after I detached expo from the project. I tried fixes I saw ......
Read more >
react-native-gesture-handler - npm
React Native Gesture Handler provides native-driven gesture management APIs for building best possible touch-based experiences in React Native.
Read more >
Fix "GoogleMobileAds.h file not found" - Xcode - (2nd way)
ENGThis method does not replace the first one, but complements it, so if you haven't tried the first one yet, please start with ......
Read more >
Something Wrong with React Native | by Arjun Singh Rajput
React/RCTBridgeModule.h file not found. Then I figure out React is missing from the scheme . It was very weird, I read some of...
Read more >
Introduction | React Native Gesture Handler - Software Mansion
This allows to manage gesture state from the JS without risking race-conditions. Interoperability with gesture handlers​. The new API with gestures is somewhat ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found