I've just 'upgraded' to the latest Big Sur – 11.0 Beta (20A5395g) – and Xcode betas – 12.2 beta 3 (12B5035g). When I try to run any SwiftUI based Mac App the program stops with a Thread 1: signal SIGCONT
message. Sometimes I am able to continue (Ctrl Command Y), but others the program stops with the message Message from debugger: Terminated due to signal 19
.
The Stack trace suggests the problem is in the ImageLoader.
I've tried reinstalling Xcode and clearing out it's cache's. The problem even manifests with a brand new project - i.e. it isn't related to my code,
Any ideas how I might trouble shoot this?
The Xcode 12.2 beta release supports on-device debugging for iOS 9 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 12.2 beta requires a Mac with Apple silicon running macOS Big Sur 11 or later, or an Intel-based Mac running macOS Catalina 10.15.4 or later.
The latest Xcode beta for macOS Big Sur includes support for unreleased operating systems likely to be used in the upcoming "iPhone 12" and Macs with Apple Silicon. Apple released the Xcode 12.2 beta on Thursday alongside the latest macOS Big Sur developer beta.
Xcode 12.3 supports on-device debugging for iOS 9 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 12.3 requires an Intel-base Mac running macOS Mojave 10.15.4 or later, or Apple silicon running macOS Big Sur 11 or later.
Now SwiftUI has complete new life cycle management API for apps built with SwiftUI. So, now you can share life cycle code across all Apple platforms. All new widgets are built on SwiftUI.
You can workaround the issue using a symbolic breakpoint.
Add a symbolic breakpoint with the following settings:
Symbol: _main
Module: dyld
Action: Debugger Command with the command process handle -n false -s false SIGCONT
Options: Check Automatically continue after evaluating actions
Workaround by choosing "Debug Process as Root" in Schema "Run" -> "Info"
Apple Forum discussion
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With