Post

Replies

Boosts

Views

Activity

Reply to Crash on MacOS(M1 series): uncaught exception 'NSInternalInconsistencyException', reason:Invalid parameter not satisfying: <SPRoundedWindow: 0x139fbbab0>. "frame=!CGRectIsNull(frame)
Hi, Disabling auto-correction on SwiftUI TextFields by using .disableAutocorrection(true) did not affect the occurence of this bug for me. I am experiencing this bug at an alarmingly regular basis, specifically on macOS Monterey. This bug did not occur for me on previous versions of macOS. Notably, the bug seems to be caused mainly when SwiftUI .sheet() or .alert() views are dismissed. I am indeed building a Mac Catalyst app that uses a WKWebView, similarly to others above. I think that this is a bug from Apple's side, introduced in macOS Monterey, and that Apple needs to fix. I have been unable to meaningfully diagnose this bug but I am certain that nothing in my code can reasonably be assigned the blame. I would very much appreciate insight into how to fix this bug once and for all. It's making my Mac Catalyst app borderline unusable on macOS Monterey.
Feb ’22