I'm creating my first cocoapod. It has a dependency on RMStore
, so I added s.dependency "RMStore"
to the podspec file. However, when I'm working on my framework, I always get errors saying that RMStore
isn't available. So how do I handle this?
Asked
Active
Viewed 97 times
2

user4992124
- 1,574
- 1
- 17
- 35
-
Did you add the pod RMStore in the podfile of the project where you are developping your own pod? – Larme Oct 16 '16 at 10:39
1 Answers
0
After adding s.dependency
, you do indeed need to run pod install
against your project so that the pods download and the pods project correctly references everything. Assuming you have an Example/Tester project with a Podfile that points to "your pod", this will download RMStore and configure everything for you.
I prepared an example of how to do dependencies in developed pods and it's available here:

EricWasTaken
- 1,654
- 14
- 19