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

Crash report help needed #317

Closed
guillosaracco opened this issue Nov 16, 2016 · 1 comment
Closed

Crash report help needed #317

guillosaracco opened this issue Nov 16, 2016 · 1 comment
Labels

Comments

@guillosaracco
Copy link

guillosaracco commented Nov 16, 2016

Hi,

I use ActionSheetPicker-3.0 in an app and it's wonderful!

I have the issue where some users run into a bug that makes the app crash but I have not been able to replicate it.

When I see the crash reports, it is hard to understand what's failing (or where is it failing) with regards to ActionSheetPicker_3_0

I'm using Swift 2

Below is the crash report on the main thread, but as you can see, it doesn't say where in the code ActionSheetPicker_3_0 is crashing.

Please take a look and let me know if you have any input. Is there a particular symbol file that I need to read this error report?

screen shot 2016-11-16 at 1 58 44 pm

Thank you very much!

@guillosaracco
Copy link
Author

Found the error. And fixed it

My viewController was fetching a list from an api to display in the actionSheetPicker. However, in cases of poor network conectivity the list wasn't fully loaded when displaying the actionSheetPicker. Therefore the actionSheetPicker displayed no options and if a user pressed the done button the app crashed.

It would have been nice to see an index out of bounds error in the crash logs or something like that.

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

No branches or pull requests

2 participants