Comments (2)
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.
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)
- Question: the animation only for the last screen in the deepLink flow HOT 1
- SwiftUI navigation solution HOT 1
- RxSwift 6+ Compatibility Not Released to Cocoapods HOT 3
- Why nothing happens in you demo?
- Hometab navigation doesn't seem to work HOT 2
- Is it possible to hide Status Bar for modal presentation? HOT 1
- More documentation about RedirectionRouter needed HOT 4
- SPM installation without Rx? HOT 2
- Documentation link is broken HOT 1
- Logging of triggered Routes HOT 1
- Crashing push on XCode 14 beta HOT 17
- Route with Generics HOT 6
- Is there a way to dismiss a specific Presentable? HOT 1
- Present fail on UIActivityViewController HOT 1
- looks really good HOT 1
- Is there any way to define Router object in single instance? HOT 1
- Problem presenting a modal and using a coordinator as a child HOT 4
- Screen flashes black while opening with TabBarCoordinator
- DeepLink chain not executed as expected
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcoordinator.