'Type 'AnchoringComponent.Target' has no member 'image'

I created an anchor entity this way and everything worked just fine at first

private let imageAnchor = AnchorEntity(.image(group: "AR Resources",
                                                  name: "image"))

But then I got an error: Type 'AnchoringComponent.Target' has no member 'image'

Xcode Version 13.3.1;
MacOS 12.3.1

Can't find any questions related. Any ideas about what is going on?



Solution 1:[1]

cleaning Derived Data and Build Folder fixed the issue

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Yuliia Sorokopud