Code Monkey home page Code Monkey logo

Comments (4)

TheInkedEngineer avatar TheInkedEngineer commented on June 12, 2024 1

@danibachar that was just an example, in the actual project, the package in an external dependency. that being said, I will check those links out and get back to you later today, thanks.

from tuist.

danibachar avatar danibachar commented on June 12, 2024

You are consuming the internal swift package as a tuist project. This is not the way to consume swift packages with Tuist.
I suggest on following this guide on how to consume external dependencies.

You can also look in the fixtures folder for examples on how to setup a project that is structured like yours.

from tuist.

MouadBenjrinija avatar MouadBenjrinija commented on June 12, 2024

You are consuming the internal swift package as a tuist project. This is not the way to consume swift packages with Tuist. I suggest on following this guide on how to consume external dependencies.

You can also look in the fixtures folder for examples on how to setup a project that is structured like yours.

@danibachar
If the suggested approach is to use the Tuist's XcodeProj-based integration then it doesn't work for all external packages.. as some of them is not compatible with this method, (e.g. XMPPFramework , previously reported by someone here)
So only Xcode's default integration works for these packages.

from tuist.

pepicrft avatar pepicrft commented on June 12, 2024

I debugged this issue, and the problem is unrelated to Tuist. The fixture project is duplicated the symbols of FirebaseAnalytics (transitive static product) across various dynamic frameworks. I suggested as a proper setup:

  • Either use Tuist's default integration using Xcode primitives and changing the type of Firebase products to be dynamic.
  • Wrap Firebase static targets into a dynamic framework and use @_exported import FirebaseAnalytics so that symbols are only in a single dynamic framework.

from tuist.

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.