arcore-ios-sdk icon indicating copy to clipboard operation
arcore-ios-sdk copied to clipboard

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

Open rohanbhatia56 opened this issue 2 years ago • 3 comments

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 avatar Jun 30 '23 09:06 rohanbhatia56

any idea ?

rohanbhatia56 avatar Jul 05 '23 08:07 rohanbhatia56

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

15kingben avatar Jul 13 '23 21:07 15kingben

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?

ilaka123 avatar Nov 12 '23 13:11 ilaka123