google-ar / arcore-ios-sdk

ARCore SDK for iOS

Home Page:https://developers.google.com/ar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The ar camera won't turn on due to a firebase issue.

hina9 opened this issue · comments

commented

While using the arcore geospatial api service with ios
Due to the fix, the following error occurs when running again, and the camera does not turn on.

The default Firebase app has not yet been configured. Add FirebaseApp.configure() to your application initialization. This can be done in in the App Delegate's application(_:didFinishLaunchingWithOptions:) (or the @main struct's initializer in SwiftUI). Read more: https://goo.gl/ctyzm8.`

I have never used Firebase before, so I am using it as below in the pod file.

# Pods for remoshot_forest pod 'AFNetworking', '~> 4.0' pod 'ORStackView', '~> 3.0.1' pod 'SwiftyJSON', '~> 4.0' pod 'Kingfisher', '~> 7.0' pod 'CoreGPX' pod 'ARCore/Geospatial', '~> 1.33.0'

How do I resolve that error?

Firebase has nothing to do with the camera. Did you start an ARKit session and get the camera permission?

I believe you can safely ignore the warning message "The default Firebase app has not yet been configured."