Thread sanitizer with ARKit or Reality Kit

is there any way to detect data races using ARKit? it only runs on simulator

thank you!

Replies

As you have noted, you can only use the Thread Sanitizer in the Simulator.

You could consider adopting actors, which can help you identify certain race conditions at compile-time, or you can carefully, and manually, analyze the mutable state in your app to determine if there might be a data race.