Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARWorldTrackingSessionConfiguration cannot be found #1

Open
dannliu opened this issue Oct 17, 2017 · 3 comments
Open

ARWorldTrackingSessionConfiguration cannot be found #1

dannliu opened this issue Oct 17, 2017 · 3 comments

Comments

@dannliu
Copy link

dannliu commented Oct 17, 2017

In the ViewController.swift fileprivate lazy var sessionConfiguration = ARWorldTrackingConfiguration()
raise a compile error.

@hoonahn
Copy link

hoonahn commented Dec 4, 2017

ARWorldTrackingConfiguration() worked for me.
However the app failed to run on my device because of some other error.

@ankitjaiswal1994
Copy link

Replace it with AROrientationTrackingConfiguration works for me.
For reference : https://stackoverflow.com/questions/46320198/arsessionconfiguration-unresolved-in-xcode-9-gm

@ad-okshaj
Copy link

Replace the line:

fileprivate lazy var sessionConfiguration = ARWorldTrackingSessionConfiguration()

with:

fileprivate lazy var sessionConfiguration = ARWorldTrackingConfiguration()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants