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

How I can add my dependencies for my iOS project ? #32

Open ghost opened 7 years ago

ghost commented 7 years ago

How I can add my dependencies for my iOS project ?

All repositories is private github repo

maicki commented 6 years ago

There are different ways you can integrate a library after creating it via react-native-create-library:

  1. Use react-native link: https://facebook.github.io/react-native/docs/linking-libraries-ios.html#automatic-linking
  2. Manual link: https://facebook.github.io/react-native/docs/linking-libraries-ios.html#manual-linking
  3. Use CocoaPods: https://shift.infinite.red/beginner-s-guide-to-using-cocoapods-with-react-native-46cb4d372995
jasan-s commented 5 years ago

My native module has some cocoapods dependency due to this when i link in another project i get the error at import statement of SDK that can't find SDK which exists in the project s a Pod