Reputation: 3519
When I run pod install cocoapods installs several pods not listed in the current projects Podfile:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'PodUser' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for PodUser
pod "PodTest"
end
My pod install output:
pod install
Analyzing dependencies
Downloading dependencies
Using AFNetworking (3.1.0)
Using FirebaseAnalytics (3.9.0)
Using FirebaseCore (3.6.0)
Using FirebaseInstanceID (1.0.10)
Using Google (3.1.0)
Using GoogleAnalytics (3.17.0)
Using GoogleToolboxForMac (2.1.1)
Using PodTest (0.0.1)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 8 total pods installed.
Upvotes: 2
Views: 1579
Reputation: 29592
CocoaPods installs the specified pods and all of those pods' dependencies.
If you look at PodTest.podspec and its dependencies and recursively follow the podspec's for those dependencies, it should match the pods that get installed.
See also the file Podfile.lock that gets created alongside the Podfile to see a list of the relevant pods and their dependencies.
Upvotes: 4