When developing my project and a pod together, point the pod to the project folder to test if it works (or breaks).
In my project’s Podfile, if I want to use a specific branch:
pod 'MyLibrary', :git => 'firstname.lastname@example.org:vinamelody/MyLibrary.git', :branch => "feature-x"
If you want to use a local folder, for example, this is located just above my project’s folder.
pod 'MyLibrary', :path => '../MyLibrary/'