GithubHelp home page GithubHelp logo

Comments (2)

pauljohanneskraft avatar pauljohanneskraft commented on June 2, 2024

Hey @janakagamini - that is a cool way to modularize an app - I like it.

The error in question seems to be that you are creating a StrongRouter from an object that has already been deallocated for some reason, could that be? I found this article, I hope it might help a little with these kinds of errors: https://www.avanderlee.com/swift/exc-bad-access-crash/.

I'm also interested in how the different frameworks are built and linked together - could this be the root of the issue? For example: Is every framework correctly linked to one version of XCoordinator or do they all have their separate version (if that is even possible, I don't know)? And could it be that this is the first ever call to a XCoordinator method from one module to another? I.e. could it be that all XCoordinator methods are called from within module A, while strongRouter is the first call to XCoordinator on an object that was "created" by module B? That would explain, that the issue is that the StrongRouter initializer itself could not be found rather than self in your code example.

I'm afraid, I cannot think of a way to help you more without some more context though - would you be willing to share some more information for me to look into this? Especially a stack trace or some code that is related to the instantiation of the object in question and how it is referenced at runtime, would be helpful. If you cannot share code publicly, you can also share it in a private message in our Slack workspace (see README on the bottom for an invite link).

from xcoordinator.

janakagamini avatar janakagamini commented on June 2, 2024

Oh my god, silly mistake on my part, I was missing use_frameworks! from my Podfile 🤦 !

Thanks @pauljohanneskraft your response helped point me in the right direction. I am closing this issue.

from xcoordinator.

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.