react-native-builder-bob icon indicating copy to clipboard operation
react-native-builder-bob copied to clipboard

Add pods to react native module

Open Garciax opened this issue 4 years ago • 4 comments

Add pod in react native module

I'm trying to add pods to my module, but no dependency is found when building the project. How to correctly add pods to your module?

Снимок экрана 2020-12-19 в 14 06 50 Снимок экрана 2020-12-19 в 14 11 46

Garciax avatar Dec 19 '20 11:12 Garciax

same here

jonathanmachado avatar Dec 22 '20 21:12 jonathanmachado

@Garciax why are you not using <project>.podspec and adding the dependency there?

s.dependency "Alamofire", "~> 5.4.1"

crherman7 avatar Jan 29 '21 22:01 crherman7

as @crherman7 said, you only need to add the dependency inside the podspec. when the app the uses the packages issues pod install they dependency will get installed.

a-eid avatar May 30 '21 09:05 a-eid

@Garciax Any updates?

Lg0gs avatar Aug 04 '21 19:08 Lg0gs