-
Notifications
You must be signed in to change notification settings - Fork 439
Open
Description
Hi,
I've update Parchment(spm) version from 3.2.1 to 4.1.0 and it's crashing on PagingViewController.init line 317:
collectionViewLayout = createLayout(layout: options.menuLayoutClass.self)
This is the error message displaying on that line:
Thread 1: signal SIGABRT
An abort signal terminated the process. Such crashes often happen because of an uncaught exception or unrecoverable error or calling the abort() function.
And this is how I'm initializing PagingViewController:
lazy var pagingViewController: PagingViewController = {
let controller = PagingViewController()
controller.dataSource = self
controller.delegate = self
// other configurations
return controller
}()
override func viewDidLoad() {
super.viewDidLoad()
addChild(pagingViewController)
/// layout code
}
This crash only occurs on iPhone 5s with iOS version 12. Newer version works fine.
I'm suspecting this crash happens because of the MainActor attribute.
How can I figure out what's causing the crash?
Metadata
Metadata
Assignees
Labels
No labels