If you define a pod via :path
it will be added as a development pod, which won't get changed/updated after initial pod install
, not even during pod update
. You can safely edit the files in its folder, and commit as you please.
The way I develop on a pod is to have a separate project which has this in the podfile:
pod 'MyNewPod', :path => '~/Code/MyNewPod'
Obviously the MyNewPod
folder has to contain your podspec so that the installation can be performed properly.