frostney / react-native-create-library

:notebook: Command line tool to create a React Native library with a single command
MIT License
1.45k stars 114 forks source link

Whats the process of creating a module with cocoapods dependency #92

Open jasan-s opened 5 years ago

jasan-s commented 5 years ago

native module i'm building uses firebase(installed through cocoa pods). I added "$(SRCROOT)/../../../ios/Pods/**" to header search path in the library native module and now in the Project that uses the native module I keep getting an error at import firebase that No such module 'Firebase' . I have ran react-native link <module_name>

I also added the question on stack overflow https://stackoverflow.com/questions/53911013/

FranciscoG commented 5 years ago

+1

I'm interested in this as well.

this might help: https://io.bilby91.com/posts/create-react-native-ios-native-module