What is a development pod?

I am new to CocoaPod and IOS in general, I am trying to use a framework I built locally in my podfile as follows:

# Pods for Example
pod 'OsonWidget', :path => "../OsonWidget/"

when I run a pod install and open the .xcworkspace of the project, the framework gets saved under Pods/Development pods. So my question is what is Development pods

2 answers

  • answered 2019-12-05 16:36 livingtech

    I did some digging on cocoapods.org, and found this snippet:

    Development Pods are different from normal CocoaPods in that they are symlinked files, so making edits to them will change the original files, so you can work on your library from inside Xcode. Your demo & tests will need to include references to headers using the #import <MyLib/XYZ.h> format. https://guides.cocoapods.org/making/using-pod-lib-create

  • answered 2019-12-05 17:02 Honey

    Normally in podfile you point to the repo with its git name and your intended version.

    You’re not doing that. Instead you are pointing to the pod by the :path identifier in the podfile.

    Other than the two mentioned ways are other ways to point to a repo.


    Obviously you are locally pointing to a pod, ie the pod was not fetched from the actual repo, implying that you own the pod and you’re developing the pod, you want the to make changes to it and immediately see how your pod changes. Hence it’s named ‘development pods’.

    Any change you make will be reflected into the Example project. Though if you add a new file, then you need to run pod install again so the projectfile gets updated.