Just as the title says, app freezes up when trying to cancel out of the Upload flow when an Apple Event is added.
Steps to Reproduce:
- Select any app to set policy's to and add any choice to the
Apple Events section.
- Select the
Upload option
- Once that new window pops up, hit
Cancel and the app should freeze.
I've noticed that all of the buttons and text boxes inside the window still work and you can type inside of them but the Upload and Cancel buttons no longer work and you can't get out of the window to get back to the main screen of the app.
When running in Xcode, the app throws this error message:
FAULT: NSInternalInconsistencyException: dismissViewController:: Error: maybe this view controller was not presented?; { NSAssertFile = "NSViewController.m"; NSAssertLine = 870; }
I've attached a video of me recreating the issue below.
https://github.com/user-attachments/assets/b02ce823-a58f-4d8a-b996-c76c4e50383d
What's weird is the other buttons and their windows work as intended, it's just this specific scenario where an Apple Event is added into the policy and the user tries to upload but then tries to cancel out of the window.