Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viperit: Unexpectedly found nil while implicitly unwrapping an Optional value #128

Closed
ahmedraad opened this issue Jul 11, 2021 · 3 comments

Comments

@ahmedraad
Copy link

ahmedraad commented Jul 11, 2021

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)
@ferranabello
Copy link
Owner

Hi @ahmedraad, how did you fix this crash?

Cheers

@ahmedraad
Copy link
Author

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

@ferranabello
Copy link
Owner

Cool! Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants