maxxfrazer / FocusEntity

Bringing the scanning box from SceneKit to RealityKit

Home Page:https://maxxfrazer.github.io/FocusEntity/documentation/focusentity/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Value of type 'FocusEntity' has no member 'position'

Momeks opened this issue · comments

Hi, added the source files directly to the project, and when I try to compile my project and select iOS simulator I am getting this error:

Value of type 'FocusEntity' has no member 'position'

This error will be gone if I select a real device. AR is just a part of my app, so I need to compile the project on the simulator too. How can I resolve this issue?

I fixed this by adding #if !targetEnvironment(simulator) to the class