Undefined symbol: _OBJC_CLASS_$_Orientation
ogerfaber opened this issue · 4 comments
ogerfaber commented
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
pans0930 commented
then you resolve this question?
ogerfaber commented
no sorry
hossamnasser938 commented
experiencing the same issue
appfr3d commented
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.