Skip to content


repeat install dependency even though it not be changed #907

Whirlwind opened this Issue · 0 comments

2 participants


I found that my project always install a dependency though its version not be changed when I use 'pod install'. Other dependencies is output "Using xxx".

I debug the cocoapods and output log, and I found that the 'pod_changed?' method return true:

      puts "pod_changed? #{pod.inspect} #{resolved_spec_names(pod)} VS #{sandbox_spec_names(pod)}"
      return true if resolved_spec_names(pod) != sandbox_spec_names(pod)

I get the log:

     pod_changed? "BHPassportSDK" ["BHPassportSDK/Basic", "BHPassportSDK"] VS ["BHPassportSDK", "BHPassportSDK/Basic"]

I think some dependencies need BHPassportSDK, but other need BHPassportSDK/Basic.
How should I do?

@alloy alloy closed this in ae33f82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.