-
Hi, I'm needing to make a react-native native module that imports and re-exposes methods from an iOS cocoapods package. I then need to publish this module as a react-native npm package, and also do it in such a way that it will contain the needed pod dependencies. Are there any guides around how to do this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You'll need to specify it in the podspec with s.dependency 'Your-Pod-Name', '1.2.3' |
Beta Was this translation helpful? Give feedback.
-
@satya164 Thanks; I have one additional question; it seems the iOS build for the example project doesn't work. I get this error:
Has this been seen before? This occurred before I even tried installing any additional pods |
Beta Was this translation helpful? Give feedback.
You'll need to specify it in the podspec with
s.dependency
: