Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCode 10.0 Build Error - 'LinkedInSwift/LSHeader.h' file not found #26

Open
oriharellance opened this issue Oct 5, 2018 · 4 comments
Open

Comments

@oriharellance
Copy link

oriharellance commented Oct 5, 2018

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

@oriharellance oriharellance changed the title Build Error - 'LinkedInSwift/LSHeader.h' file not found XCode 10.0 Build Error - 'LinkedInSwift/LSHeader.h' file not found Oct 5, 2018
@nirpeled
Copy link

nirpeled commented Oct 6, 2018

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.

@oriharellance
Copy link
Author

Thanks @nirpeled. The webview solution doesn't leverage the LinkedIn app if that is installed, right?

@nirpeled
Copy link

nirpeled commented Oct 6, 2018

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.

@oriharel
Copy link

oriharel commented Oct 9, 2018

@nirpeled They do. Here's an app that does so. http://www.shapr.co/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants