Post

Replies

Boosts

Views

Activity

Reply to Xcode 13 crashes unexpectedly on opening xcworkspace
Okay I have think cause of that : UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[__NSCFBoolean mutableCopyWithZone:]: unrecognized selector sent This says that the selector provided for mutableCopyWithZone is not known. because usually this is the system call: I believe your problem is that you deleted your Xcode 12 incorrectly. or haven’t At all. try deleting your Xcode 12 with some sort of app uninstaller . That should work
Sep ’21
Reply to tvOS 15 - Cell registration inside a diffable data source cell provider exception
Well registrating a cell only when you need it seems like a bad practice. I don't know how many different cell types you have on the same collection view but I would suggest registrating all needed cells in viewDidLoad() method seems like when you are using the same cell again it registers again but its already registered so it crashes your app. If you can't provide registrating all cells at once -> decompose your collection view to maybe different types of needs and depending on that need register cells you require. If your cells registeration requires collectionView data - its bad practice
Sep ’21
Reply to Why iOS App is crashing on iOS 15?
Okay I'm not sure but if there's a stackTrace you could provide that would be great. I'm seeing that your error is SIGBUS, KERN_PROTECTION_FAILURE with message: (Data Abort) byte write Permission fault Usually that means that you are trying to execute or use a region of memory that is read only. Seems like its too deep to dive in I hope your can solve your issue reading this https://developer.apple.com/documentation/xcode/investigating-memory-access-crashes (search for: KERN_PROTECTION_FAILURE)
Sep ’21
Reply to [tvOS 15.0] transportBarCustomMenuItems don't handle taps
Okay I managed to detect what's the problem here. Sorry for inconvenience. I have added UITapGestureRecognizer for AVPlayerViewController's view and it caught my presses when I was focused on button. But according to Responder Chain its not supposed to work that way. I'm having focus on collectionView cell (collection of customMenuItems) and tapping one of them. I believe that my press on cell should be prioritised, but my press is handled by my custom UITapGestureRecognizer instead.
Sep ’21