git - Is there an better way to get code from an internal cocoapod into a project? -
we mange our internal code shared between projects using cocoapods. current process getting change in pod project using tedious:
- update pod source code
- update podspec version number (e.g. 0.8.4)
- commit , push
- tag commit 0.8.4
- in internal podspecs repo, create new folder called 0.8.4
- copy podspec pod soruce new folder.
- commit , push internal podspec.
- in project, update podfile pod
'myinternalpod', '~> 0.8.4'
- run
pod install
is there better way?
normally when targeting internal pod being developed @ same time project i'm using target :head
version (docs). lets use newest commit other library without particularly updating it. need run pod update
whenever push new commit , you're set. note assumes you're not changing file structure of pod in way breaks includes in last podspec created it.
Comments
Post a Comment