Error: Value of type 'FocusEntity' has no member 'position'
Momeks opened this issue · comments
Mohammad Komeili commented
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?
Mohammad Komeili commented
I fixed this by adding #if !targetEnvironment(simulator)
to the class