Closed dittmarconsulting closed 6 years ago
@dittmarconsulting Thanks, I'll test this soon and get back to you.
Replacing <RCTLinkedinLogin/RCTLinkedinLogin.h>
with "RCTLinkedinLogin.h"
fixed the problem
@dittmarconsulting I had the same issue and fixed it using your solution.
But it feels pretty hacky. Did you end up keeping it in your project or did you manage to make it work using <RCTLinkedinLogin/RCTLinkedinLogin.h>
?
@sregg just Header Search Path must be: $(SRCROOT)/../node_modules/react-native-linkedin-login/ios
Steps to reproduce error:
Create a new project
react-native init LNTest
cd
into the newly created folder LNTestInstall package
npm install --save react-native-linkedin-login
Link library
react-native link react-native-linkedin-login
Open XCode (8.3.2)
Clean & Build project (succeeded)
Drop
RCTLinkedinLogin.xcodeproj
into the projectAdd
#import <RCTLinkedinLogin/RCTLinkedinLogin.h>
to AppDelegate.m fileHeader Search Path:
$(SRCROOT)/../node_modules/react-native-linkedin-login/ios/RCTLinkedinLogin