negativetwelve / react-native-lookback

React Native module for Lookback.io
MIT License
13 stars 7 forks source link

[Installation] Lookback/Lookback.h file not found #1

Open aesopwolf opened 7 years ago

aesopwolf commented 7 years ago

After running

npm install --save react-native-lookback@1.0.0
react-native link react-native-lookback

I receive the following error in XCode:

image

negativetwelve commented 7 years ago

Thanks for reporting, are you using Cocoapods with your project? If so, can you see if adding:

pod "Lookback"

to your Podfile and then running pod install fixes the problem? I'm still working out some kinks with react-native link.

negativetwelve commented 7 years ago

I've updated the description in the readme to make this more clear. I'm still working out the react-native link command and how to get that properly configured.

https://github.com/negativetwelve/react-native-lookback#react-native-link

If you have any ideas / links to other packages that do this well, please post here!

aesopwolf commented 7 years ago

I'm not using Cocoapods. It's a pretty bare bones react-native starter. I'll give Cocoapods a try and let you know if I run into any further problems.

negativetwelve commented 7 years ago

sounds good, I've created #2 to track fixing react-native link. I'll keep this issue open as well