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:

  1. update pod source code
  2. update podspec version number (e.g. 0.8.4)
  3. commit , push
  4. tag commit 0.8.4
  5. in internal podspecs repo, create new folder called 0.8.4
  6. copy podspec pod soruce new folder.
  7. commit , push internal podspec.
  8. in project, update podfile pod 'myinternalpod', '~> 0.8.4'
  9. run pod install

pod setup

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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -