The problem is solved.
I changed requestAlwaysAuthorization() tp requestWhenInUseAuthorization() and added NSLocationWhenInUseUsageDescription to info.plist. Once the prompt showed up everything started to work including the SpatialAnchors lib. Thanks for helping me!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: