New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cocoapods-dependency

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cocoapods-dependency

  • 0.2.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 29 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc