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

App crashing on launch #15

Open
alessionossa opened this issue Sep 21, 2019 · 1 comment
Open

App crashing on launch #15

alessionossa opened this issue Sep 21, 2019 · 1 comment

Comments

@alessionossa
Copy link

I tried the app on several devices and on most of the the app crashes since the launch after I downloaded a video.

I tried debugging the code and I found out that the crash occurs inside this function

func createControllerWithFetchRequest<T>(_ fetchRequest: NSFetchRequest<T>, search: String?, isDownloaded: Bool?) -> NSFetchedResultsController<T> {

when it os called from this line
let streamUrls = coreDataController.fetchedVideosController.fetchedObjects?.flatMap({ $0.streamUrl }) ?? []

I especially tested this with iOS 13, but the crash often occurs also in iOS 12.

@alessionossa
Copy link
Author

#16 temporary solution: commented code that causes the crash

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

1 participant