Tag: firebase

Firebase Refresh Token

Using the method [FIRInstanceID tokenWithAuthorizedEntity:scope:options:handler] Im not quite sure what the parameters are calling for? What is the authorized entity and action? Also do I pass in the APNS token from apple to that method?

Upload Facebook image URL to Firebase Storage

I am trying to upload the users facebook profile picture to Firebase Storage. let dictionary = result as? NSDictionary let data = dictionary?.objectForKey(“data”) let urlPic = (data?.objectForKey(“url”))! as! String print(urlPic) //Direct link to facebook profile picture print(“Down Casting to a string”) print(“\(urlPic)”) The code above gives me the url to the facebook picture. So that […]

How to handle lifetime in firebase dynamic links ? (iOS)

I have a question about dynamic links on iOS. We use them in our applications, and it seems that their expiration time is really short (about 5 minutes). From the appstore, its not working because the download last more than this time From xcode build, if we open directly the app its working. If we […]

Firebase Query not Executing Properly

I am trying to execute a Firebase query and it doesn’t seem to be working properly. I am trying to access the name of a School I have in the Firebase Database. The database looks like this: Schools { Random School Name { schoolLocation: Random Location uid: random UUID } } If I use the […]

Firebase erroneously shows deleted data / Swift 3 / Xcode 8.2

I am new to coding and just started using Firebase, and I am running the below function which is basically trying to create 2 nodes, “Tournaments” and “Daily Games” (if they don’t exist already). The database tree should look like this: -London -City Game -Date(stringDate) // getting this from another function, returns 2016-16-12 -Tournaments -Daily […]

Undefined symbols for architecture x86_64: for Firebase in Xcode 8.3.2

I installed firebase by manually to my Xcode for storage data purpose. I followed README from DOCS and integrated. But, the issue is, after everything setup, I am getting following compiler errors. Undefined symbols for architecture x86_64: “_kFIRAppDiagnosticsErrorKey”, referenced from: +[FIRDiagnostics logDiagnostics:] in FirebaseCoreDiagnostics(FIRDiagnostics_0c03a82afb19aa444c2f4902b5217b60.o) “_kFIRAppDiagnosticsSDKNameKey”, referenced from: +[FIRDiagnostics logDiagnostics:] in FirebaseCoreDiagnostics(FIRDiagnostics_0c03a82afb19aa444c2f4902b5217b60.o) “_kFIRAppDiagnosticsSDKVersionKey”, referenced from: +[FIRDiagnostics […]

Error setting up Firebase in Xcode

I have tried to set up Firebase to work on Xcode using both the quick setup instructions and the manual alternate instructions on Firebase website. When I used CocoaPods and followed the instructions on the quick setup page, I was able to import Firebase, but I was not able to reference Firebase inside the class. […]

Unable to read/write values to Nest Firebase with newest Firebase Framework

I have been trying to integrate nest into my iOS application, following all the instructions regarding user authentication and then making calls to the nest API. I used Nest’s iOS example app as a reference: https://github.com/nestlabs/iOS-NestDK I confirmed that their project is working. Here is some code that comes from their project which I modified […]

Firebase causing “Thread 1: signal SIGABRT”

I started a blank Xcode project and all I did was add the Firebase framework via Cocoapods and import in the Appdelegate and viewcontroller. When I add FIRApp.configure() to didFinishLoadingWithOptions I get that error. If I remove that line but still have the framework imported it runs with no errors. This happens on a blank […]

Undefined symbols for architecture x86_64 in Xcode after Firebase update

I updated FirebaseUI to the newest version, and that updated TwitterCore 3.0.0 (was 2.8.0), ever since I get this compiler error in Xcode: Undefined symbols for architecture x86_64: “_TWTRIdentifierForAdvertising”, referenced from: +[TWTRCardConfiguration deviceID] in TwitterKit(TWTRCardConfiguration.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see […]