Giter Club home page Giter Club logo

Comments (4)

rockbruno avatar rockbruno commented on August 16, 2024

Hi there! It picks up the number of modules in your target, so anything where you have to do import .... I think it doesn't recognize static frameworks that are bundled inside your app (frameworks usable without the import keyword -- I forgot the proper name for them). Is this your case? I haven't considered this possibility before.

from swiftinfo.

rogerluan avatar rogerluan commented on August 16, 2024

@joeboyscout04 are you using static frameworks?

@rockbruno I'm also confused by your definition. Our project points out 7 dependencies, but we're easily importing over 40 dependencies (from Pods) as well as many from native libs (e.g. AVFoundation) 🤔

from swiftinfo.

rockbruno avatar rockbruno commented on August 16, 2024

I see. Are these pods dependencies pre-compiled? I think it only catches things that your compile since this provider works by searching for --module-name compilations

from swiftinfo.

rogerluan avatar rogerluan commented on August 16, 2024

They're mostly precompiled, yes! We use https://github.com/leavez/cocoapods-binary, which precompiles all pods upon installing them.

If we exclude all the precompiled ones (which probably include the native ones - right?), I think the count is correct 👍 Sounds like this opens an opportunity for a future improvement (such as counting how how many static libs and/or precompiled libs we're using). Maybe it's worth rephrasing the docs of the current Target Counter while there's no "generic" dependency counter?

from swiftinfo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.