I will explain by example.
I have two pods in cocoapods trunk called PodA
and PodB
. PodA
has PodB
as its dependency. Both are in same version 0.0.1
pod 'PodA'
So above podfile will install PodA
and PodB
of version 0.0.1
.
Now I have changed the PodB
spec and its version 0.0.2
.
On pod update
, what will be the PodB
version ?
Thanks:)
PodA always point to PodB's spec version. So if you change PodB's podspec's version, you will have PodB's version 0.0.2