react-native-linkedin-sdk
                                
                                 react-native-linkedin-sdk copied to clipboard
                                
                                    react-native-linkedin-sdk copied to clipboard
                            
                            
                            
                        XCode 10.0 Build Error - 'LinkedInSwift/LSHeader.h' file not found
I followed the instructions in the readme file and eventually I'm unable to build. The error says:
/Users/oriharel/code/anooClient/ios/anooClient-Bridging-Header.h:8:9: error: 'LinkedInSwift/LSHeader.h' file not found
#import <LinkedInSwift/LSHeader.h>
        ^
1 error generated.
<unknown>:0: error: failed to emit precompiled header '/Users/oriharel/Library/Developer/Xcode/DerivedData/Lance-anrxxtniczjpjkenoitpxkjwcwiq/Build/Intermediates.noindex/PrecompiledHeaders/anooClient-Bridging-Header-swift_3J2GZA2SZ1TIW-clang_2D7GARW5XE7QO.pch' for bridging header '/Users/oriharel/code/anooClient/ios/anooClient-Bridging-Header.h'
I'm using XCode 10.0
I also had that issue and I can't remember how I fixed it but just so you know - this library has a lot of issues and is not well maintained (was not updated for almost a year now). I ended up using a pure RN solution for Linkedin opening a WebView (web) for it and it works just fine.
Thanks @nirpeled. The webview solution doesn't leverage the LinkedIn app if that is installed, right?
Yes you're right but then again, I'm pretty sure that the package didn't either - but this is actually Linkedin's fault, as far as I remember, they don't allow it anymore.
@nirpeled They do. Here's an app that does so. http://www.shapr.co/