Been following the Firebase setup guide. The setup process worked, but my project doesn't recognize the Analytics
type:
Analytics.logEvent // use of unresolved identifier 'Analytics'
Xcode autocomplete shows AnalyticsConfiguration
, but nothing else. As a sanity check, here's what I did to set up my project:
- Use cocoapods to fetch
Firebase/Core
- Ensure I'm using the
.xcworkspace
file - Added the
GoogleService-Info.plist
for my project - In my app delegate, import
Firebase
and callFirebaseApp.configure()