rundfunk47 / stinsen

Coordinators in SwiftUI. Simple, powerful and elegant.
MIT License
907 stars 95 forks source link

Crash When Set Linker Other Flags With -ObjC #92

Closed freakandstein closed 1 year ago

freakandstein commented 2 years ago

For time being, I am integrating Firebase Crashlytic and as we know that we should set Linker Other Flags with ObjC. Before I set it, my app run well, but after setting it with -ObjC, my app is crash in the first time loaded

Could not cast value of type 'Stinsen.Transition<FeatureMain.MainCoordinator, Stinsen.RootSwitch, (), Stinsen.NavigationViewCoordinator<FeatureMain.AuthenticatedCoordinator>>' (0x1db05f130) to 'Stinsen.NavigationOutputable' (0x12d03b9f8). 2022-08-27 12:47:18.223983+0700 Geolancer[4242:4805384] Could not cast value of type 'Stinsen.Transition<FeatureMain.MainCoordinator, Stinsen.RootSwitch, (), Stinsen.NavigationViewCoordinator<FeatureMain.AuthenticatedCoordinator>>' (0x1db05f130) to 'Stinsen.NavigationOutputable' (0x12d03b9f8).

Screen Shot 2022-08-27 at 13 30 13

There is the log that I found.

freakandstein commented 2 years ago

Sorry, I have removed your Stinsen as my library in my app. I don't need Stinsen anymore and ever.