google-ar / arcore-ios-sdk

ARCore SDK for iOS
https://developers.google.com/ar/
Apache License 2.0
283 stars 84 forks source link

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

Open rohanbhatia56 opened 1 year ago

rohanbhatia56 commented 1 year ago

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

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 commented 1 year ago

any idea ?

15kingben commented 1 year ago

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

ilaka123 commented 1 year ago

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?