Open corradio opened 7 years ago
Hi I got the same error! Following and Trying every step in the ReadMe document.
I'm using react-native@0.42
too.
Can someone help with this?
Hi, Same error for me using react-native@0.43.1. Can someone help with this?
@maximewimez @hanpanpan200 Ensure you have the pods listed in Cocapod:
pod 'Lock', '~> 1.29'
pod 'Lock/TouchID'
pod 'Lock/SMS'
pod 'Lock/Email'
pod 'Lock/Safari'
then pod install
I'm using "uses_framework!" in the Podfile, because my project uses Swift.
You don't need to uncomment use_framework! unless something explicitly needs it. Your project (because you're using RN) is Objective-C. Just because you have hybrid code doesn't mean you need to use it—in my app, I have a lot of Swift code, but keep use_framework! off.
I can confirm that on my side, having use_framework does break linking.
I'm using RN 0.42 and have followed all the steps in the README. I'm using "uses_framework!" in the Podfile, because my project uses Swift. Additionally, to be able to run the project, I had to:
#import "RCTBridgeModule.h"
to#import <React/RCTBridgeModule.h>
inA0LockReactModule.h
However, I can run but not archive. When archiving, I get the following error: A0LockReact.h:24:9: 'Lock/Lock.h' file not found
Can someone help with this?