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

Unknown type name 'GARSession'; did you mean 'ARSession'? #85

Open
rohanbhatia56 opened this issue Jun 30, 2023 · 3 comments
Open

Unknown type name 'GARSession'; did you mean 'ARSession'? #85

rohanbhatia56 opened this issue Jun 30, 2023 · 3 comments

Comments

@rohanbhatia56
Copy link

Hi, tried to build the sample app from ARcore Geospatial for iOS SDK but I am getting the following error in viewController

  • Unknown type name 'GARSession'; did you mean 'ARSession'?
  • Unknown type name 'GARFrame'; did you mean 'ARFrame'?

It seems like it cannot compile the ARCore library when trying to build xcworkspace, therefore, all the classes starting with "GAR" are not found. I have followed the exact steps as mentioned in the quick start for ios geospatial
https://developers.google.com/ar/develop/ios/geospatial/quickstart

Please help me out with this thanks.
Screenshot 2023-06-30 at 3 23 27 PM

@rohanbhatia56
Copy link
Author

any idea ?

@15kingben
Copy link

Are you using Cocoapods or Swift Package Manger to build the app? It looks like the ARCore libraries have not been imported correctly

@ilaka123
Copy link

I am also facing the same problem. I am using cocoapods, they are all up to date. How can I check if my ARCore libraries were imported correctly?

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

3 participants