Help adding module after ejecting to expokit


#1

I am trying to add this module to my ejected expokit project. https://github.com/EkoLabs/react-native-background-downloader. But no matter what I do I can’t seem to get the ios app to compile.

/Users/ebhalla/src/runitonce-eshaantest/node_modules/react-native/React/Base/RCTBridgeModule.h:10:9: 'React/RCTDefines.h' file not found

this is the error I’m getting. It works fine in android. I’ve tried adding entries to my Header search paths with no luck. Could someone please help me, maybe the podspec of the repo is wrong? I noticed it points to v1.0.0 when it seems like the latest on github is 1.1.0.


#2

Hey @brownballa55,

This GH issue shows the same problem, and the proposed solution can be found here!

Let me know if this works


#3

So I guess the problem was I was trying to manually link and manual linking doesn’t work with expokit, but that’s never really specified anywhere. You don’t want library modules in the libraries/xxx folder you want them in the Pods/ folder