Unable to connect Firebase to my Xcode swift app?

旧巷老猫 提交于 2019-12-13 02:14:38

问题


I followed all kinds of tutorials and tried different things, but no help. I successfully installed cocoaPods via Terminal and initialised a pod file. After figuring out how to solve "import Firebase error", now I have difficulties with simple operations like trying to write data into database. Xcode error when trying to write data

My pod file


回答1:


The new Firebase SDK 3.2.0 has several breaking changes compared to the old version 2.x, therefore the old Quick Start guide is completely obsolete. All classes have been renamed, and the integration process is different. So use new pod file. It will help you. You can also do it by adding them directly which is also mentioned on there original web site.

You must follow the new guide on firebase.google.com instead.



来源:https://stackoverflow.com/questions/37347572/unable-to-connect-firebase-to-my-xcode-swift-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!