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.
Post
Replies
Boosts
Views
Activity
would be nice if you provided some code so we could see what's the problem
Hey! I'm not sure if I know how to fix your problem but I know that SF Symbols refers to icons that already are in Xcode.
You can use your bug.fill image without even importing it to the project
Try
let image = UIImage(systemName: "bug.fill")
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)
New Build System
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
I think this could help you. https://developer.apple.com/forums/thread/667088
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