Skip to content

πŸ’ŽA CocoaPods plugin which analyzes the dependencies of any cocoapods projects. Subspecs are properly handled.

License

Notifications You must be signed in to change notification settings

X140Yu/cocoapods-dependency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jan 23, 2020
6100886 Β· Jan 23, 2020

History

51 Commits
Aug 27, 2018
Jan 23, 2020
Oct 29, 2018
Sep 14, 2018
Aug 27, 2018
Aug 27, 2018
Aug 30, 2018
Aug 30, 2018
Aug 27, 2018
Oct 29, 2018
Aug 27, 2018
Oct 29, 2018
Aug 27, 2018
Sep 14, 2018
Oct 29, 2018

Repository files navigation

Cocoapods Dependency

Build Status Coverage Status Gem Version

A CocoaPods plugin which analyzes the dependencies of any cocoapods projects. Subspecs are properly handled.

Installation

$ gem install cocoapods-dependency

Usage

The command should be executed in directory that contains podfile.

# put the analyze result to console
$ pod dependency

# write te analyze result to a readable HTML
$ pod dependency --visual

Why this gem?

Suppose you have a project with a simple dependency,

target 'Test' do
  pod 'Texture', '2.7'
end

It seems like this project has just a single dependency, but behind this pod, it may depend on several other pods and these other pods may also depend on some other pods as well πŸ€¦πŸ»β€β™‚οΈ, it's hard to determine what the exactly dependency situation of the project with just a glance of the podfile. So I wrote this it to do this thing.

  • βœ… It can print all the dependencies
  • βœ… Each dependecy's dependencies can also be printed
  • βœ… Subspecs are properly handled, pod 'Texture', '2.7' and pod 'Texture', '2.7', subspecs: %w[PINRemoteImage IGListKit Yoga] will lead to different results

TODO

  • Lift it to a cocoapods-plugin
  • Pretty printed result

License

The gem is available as open source under the terms of the MIT License.

About

πŸ’ŽA CocoaPods plugin which analyzes the dependencies of any cocoapods projects. Subspecs are properly handled.

Resources

License

Stars

Watchers

Forks

Packages

No packages published