Set break on runtime assert


Carl Hoefs
 

Xcode 10.1

How can I break on this runtime assertion?

[Assert] Cannot be called with asCopy = NO on non-main thread.

-Carl


Alex Zavatone
 

On Jun 15, 2019, at 8:12 PM, Carl Hoefs <newslists@...> wrote:

[Assert] Cannot be called with asCopy = NO on non-main thread.


Carl Hoefs
 

I neglected to mention that this is occurring from within an iOS project.

libMainThreadChecker.dylib appears to be only applicable to macOS. 

-Carl


On Jun 15, 2019, at 6:55 PM, Alex Zavatone via Groups.Io <zav@...> wrote:

https://developer.apple.com/documentation/code_diagnostics/main_thread_checker

On Jun 15, 2019, at 8:12 PM, Carl Hoefs <newslists@...> wrote:

[Assert] Cannot be called with asCopy = NO on non-main thread.