yamill/react-native-orientation

Undefined symbol: _OBJC_CLASS_$_Orientation

ogerfaber opened this issue · 4 comments

After installing and linking project following the readme instructions. Xcode still do not find Orientation.h, so I added $(SRCROOT)/../node_modules/react-native-orientation/iOS/RCTOrientation recursive in Header Search Paths and then I'm getting the following build error: Undefined symbol: _OBJC_CLASS_$_Orientation

My React Native version is 0.60.3

Capture d’écran 2019-09-25 à 17 56 07

then you resolve this question?

no sorry

experiencing the same issue

A bit late, but maybe someone still encounters this error.
I fixed this by adding this line to my Podfile:
pod 'react-native-orientation', :path => '../node_modules/react-native-orientation'
and doing a pod install inside the ios folder in my terminal.