Reputation: 435
I build a firebase iOS app. It works with Firestore and it works fine but the problem is the app doesn't show up when I click on dashboard (under analytics in the Firebase console). I have reinstalled firebase (multible times) and I have checked if analytics was enabled and it was. Does anyone know what I need to check or something?
I followed the instructions from firebase when adding firebase to the IOS project (if this was installed correctly firestore wouldn't work). The only difference that I didn't use cocoapods but Swift package dependencies. I followeded this instructions: https://firebase.google.com/docs/ios/swift-package-manager. The reason that I didn't use cocoapods is that I just can't get accesses to the iOS project. It keeps giving me zsh: permission denied. I have tried everything from chmod 777 to using sudo. I gave the terminal full disk acces but I keep getting permission denied. Anyway that's why I use swift package manager. I use the following dependencies:
Everything works fine apart from getting user data on the dashboard. Does anyone know what this problem could be? I don't know what code to give. I do use FirebaseApp.configure() in AppDelegate (otherwise Firestore wouldn't) work. But I do get this error in the logs:
app[74317:4168079] [] nw_protocol_get_quic_image_block_invoke dlopen libquic failed
Because of confusion in the comment section this edit. Firebase gives you automatically all kinds of information on the analytics page about your app. When enabled the only thing you need to do (according to the docs) is call FirebaseApp.configure() in AppDelegate. I have done this and it works because otherwise Firestore would not work. But the IOS app doesn't show up on the analytics page. I have reinstalled Firebase 6 times on my IOS app and still nothing. Does anyone know what could possible go wrong? Because this should all work automatically so I don't know what code to post.
Upvotes: 4
Views: 2632
Reputation: 435
I forgot to add -ObjC to my build settings. That fixed my problem. Link: https://firebase.google.com/docs/ios/swift-package-manager#analytics
Upvotes: 8