This turned out to be an erroneous handling in the
implementation of
func tabBarController(_ tabBarController: UITabBarController, shouldSelect viewController: UIViewController)
of UITabBarControllerDelegate.
Thus this all question can be ignored.
Apologies.
Post
Replies
Boosts
Views
Activity
Apple, please, prioritise this issue: It is slowing down the developing/debugging process.
Thanks!
I am experiencing exactly the same and I cannot find a valid solution to resolve this.
Similarly to d.jeon, this issue manifested with the iOS15 and Xcode 13.0.
Is it an iOS 15 bug?
And is it expected to get fixed by Apple?
Thank you for your response.
At the end I found out that the generated APNs certificate is invalid when Mac Catalyst is enabled for the app.
Completely frustrated by the fact that the APNs cert was invalid, I have tried to disable the Push Notifications for the app and that could not be done because the Mac Catalyst was enabled.
I then disabled the Mac Catalyst and tried to generate again a new APNs certificate with the result of getting a valid certificate.
Then there may be something broken on Apple side when generating an APNs certificate with the Mac Catalyst enabled.
I got a similar crash recently.
My case is a UIStackView contained in a UITableViewCell.
When binding data to the cell, since the content of the UIStackView is dynamic, I remove all the arrangedSubviews in the stack before populating it again with the new content.
For every arranged subview this following block is executed:
stack.removeArrangedSubview(subview)
subview.removeFromSuperview()
Crash is indicated to occur on the last of the above lines.
Note that this crash hit randomly, i.e. it cannot be systematically reproduced every time.
Attached is the crash log.
Hope this could help.
Crash log - https://developer.apple.com/forums/content/attachment/349040d7-6ef9-42b0-8899-3d5423815c91