Help Fix 2 Crashes in iOS App in XCode (Swift)
Budget: $30 – $250 USD
Hi there. I have 2 annoying crashes that I need help fixing and I think they're both related to the same thing, which is init or traits. I can't share this source code, but I can give you AnyDesk or Zoom access.
This is the error I'm getting:
2023-02-26 14:31:25.949887-0600 IHP[16965:5209508] Could not load the "_IBBrokenImage_" image referenced from a nib in the bundle with identifier "com.thinapp.Leafchatter"
2023-02-26 14:31:25.965809-0600 IHP[16965:5209508] *** Assertion failure in UITraitCollection *UIViewControllerMissingInitialTraitCollection(UIViewController *__strong)(), UIViewController.m:2585
2023-02-26 14:31:25.968121-0600 IHP[16965:5209508] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UIViewController is missing its initial trait collection populated during initialization. This is a serious bug, likely caused by accessing properties or methods on the view controller before calling a UIViewController initializer. View controller: <CarbonTabSwipeNavigation: 0x131f75780>'
*** First throw call stack:
This is the error I'm getting:
2023-02-26 14:31:25.949887-0600 IHP[16965:5209508] Could not load the "_IBBrokenImage_" image referenced from a nib in the bundle with identifier "com.thinapp.Leafchatter"
2023-02-26 14:31:25.965809-0600 IHP[16965:5209508] *** Assertion failure in UITraitCollection *UIViewControllerMissingInitialTraitCollection(UIViewController *__strong)(), UIViewController.m:2585
2023-02-26 14:31:25.968121-0600 IHP[16965:5209508] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UIViewController is missing its initial trait collection populated during initialization. This is a serious bug, likely caused by accessing properties or methods on the view controller before calling a UIViewController initializer. View controller: <CarbonTabSwipeNavigation: 0x131f75780>'
*** First throw call stack: