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
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
podfileyou 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
:pathidentifier 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 installagain so the projectfile gets updated.