Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualize dependencies in development pod #64

Open
frouo opened this issue Mar 11, 2020 · 0 comments
Open

Visualize dependencies in development pod #64

frouo opened this issue Mar 11, 2020 · 0 comments

Comments

@frouo
Copy link

frouo commented Mar 11, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant