my code
func placeObjectAtImageTracking(object: ModelEntity, imageAnchor: ARImageAnchor) -> AnchorEntity {
let imageAnchorEntity = AnchorEntity(anchor: imageAnchor)
return imageAnchorEntity
}
in this code, AnchorEntity(anchor: imageAnchor) is occuring error when i changed xcode setting device.
It's fine when I set it to my real phone, but when I change it to the simulator, the following error appears.
No exact matches in call to initializer
how to solve it?