ferranabello/Viperit

Viperit: Unexpectedly found nil while implicitly unwrapping an Optional value

ahmedraad opened this issue · 3 comments

There's an issue that happens only when downloading the app from testflight, otherwise running from Xcode works fine and I don't use storyboard or xib files it's only code

Screen Shot 2021-07-11 at 11 34 37 AM

And here's the implementation

window = UIWindow(windowScene: scene)
let module = AppModules.splash.build()
module.router.show(inWindow: window, embedInNavController: false, setupData: nil, makeKeyAndVisible: true)

Hi @ahmedraad, how did you fix this crash?

Cheers

Hi @ahmedraad, how did you fix this crash?

Cheers

Hello @ferranabello

I've seen a closed issue about optimization level fix so i did the same by making Swift Compiler - optimization level to No optimization

Cool! Thanks 👍