Skip to content

Visualize dependencies in development pod #64

Open
@frouo

Description

@frouo

Hi, I would like to visualize dependencies in a swift pod. Is there a way?

I tried:

  1. pod lib create HelloLib, choose Swift
  2. cd HelloLib
  3. open Example/HelloLib.xcworkspace
  4. Add logic in Development Pod and use the lib in the demo app. For example, in Development Pod add:
  • public class HelloLib { let dummy = Dummy(); public func doNothing() { dummy.doNothing() }}
  • class Dummy { func doNothing() {}}
  • then, in AppDelegate, import HelloLib and call HelloLib().doNothing()
  • build the example app
  1. git clone https://github.com/PaulTaykalo/objc-dependency-visualizer.git
  2. cd objc-dependency-visualizer
  3. ./generate-objc-dependencies-to-json.rb -w -s "" > origin.js

Index.html shows (as expected) AppDelegate, ViewController and HelloLib but no sign of Dummy.

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions