-
Notifications
You must be signed in to change notification settings - Fork 107
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
RedBear Duo App crashes with iOS v11 #35
Comments
Doesn’t work for me on iOS 11.2.6 |
I'm not that adept in Swift (just C#) but I tried to clone the project and see where the exception occurs, and I got "Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value" around line 666 (number may be greater than actual because of my comments) of the DuoWifiProvisioningViewController file at this call "alert.addAction(self.passAlertAction!)" The self.passAlertAction is null and I tried to follow https://stackoverflow.com/questions/32170456/what-does-fatal-error-unexpectedly-found-nil-while-unwrapping-an-optional-valu but I have no idea what he's saying Not a 100% sure what I can do about it, any ideas @Cheong2K @OhHeyAlan @XuGuohui or @ChiHung ? |
It looks like the issue is that |
Made the pull request. Let's hope it gets merged! @saamerm I would appreciate if you could test it to make sure my theory is correct. |
Verified! @Danappelxx 's PR fixes the crash.
|
I cloned the repo but I'm getting an error with the link to Pods_RedBear_Duo.framework . Do I need to build the pods framework separately first? If so how? I do see the pods folder in the iOS project folder but it's just a bunch of nested frameworks inside another project. I suspect the SparkSetup error I'm getting is related to this missing framework? Thanks for any help you guys can provide. I'm also on iOS 11 and the app store app is crashing on me. |
@wywarren Hey Warren |
@wywarren you need to download cocoapods ( |
I ended up opening the DuoApp xcode project and then dragging the Pods excode project file into the DuoApp's project and everything built as expected. I also ran the cocoapods as @Danappelxx suggested. Not sure if that helped it as well. But it got rid of the SparkSetup error as the source code was actually in the project now. Time to continue tinkering. Thanks for the help guys. |
Just a note: The commenting on DuoBLEProvisionTableViewController.swift should have the filename fixed on line #3 But yes after updating the Wifi and BLE swift files everything seems to build and not crash now. |
On iOS version 11, using the RedBear Duo App, when I try associating the Duo to a Wi-Fi Access Point/Router, the App crashed.
It works fine on iOS 10.
The text was updated successfully, but these errors were encountered: