我正在尝试安装react-native-orientation和react-native-orientation-locker。 Android没有问题,但我什至无法在ios上设置此libery。我尝试手动和自动链接。这对我没有帮助。我的本机版本是0.59.9,nodejs是10。
我正在尝试安装react-native-orientation和react-native-orientation-locker。 Android没有问题,但我什至无法在ios上设置此libery。我尝试手动和自动链接。这不是...
Add node_modules/react-native-orientation/iOS/RCTOrientation.xcodeproj to your xcode project, usually under the Libraries group
Add libRCTOrientation.a (from Products under RCTOrientation.xcodeproj) to build target's Linked Frameworks and Libraries list
Add $(SRCROOT)/node_modules/react-native-orientation/iOS/RCTOrientation/ to Project Name -> Build Settings -> Header Search Paths