ios - How to test my podspec file without having to commit my changes all the time? -
i writing library pod (used pod lib create
) , trying figure out how structure files since have mix of static libraries, non-arc files , arc files. thus, making several changes , run pod spec lint name.podspec
in order pass validation.
i haven't specified remote yet (that should fine now, right?) podspec looks that:
s.source = { :git => "/volumes/development/pods/pod_name", :commit => "aaf6d439349bf05a7399db3cd3b0fe3980eef1f7" }
but means every time make change, need commit changes , replace new commit sha-1 in podspec, save, , lint again.
but doesn't seem correct way it, right? workflow wrong here?
you can specify :head
in podfile
if you're testing way (docs)
otherwise can leave :commit
key out of source hash , should pull newest source. leave :git
key.
Comments
Post a Comment