EhsanR
EhsanR

Reputation: 467

Terminating app due to uncaught exception 'No Firebase namespace specified.'

In response to the following Firebase Objective-C/Xcode code:

Firebase *myRootRef = [[Firebase alloc] initWithUrl:@"https://home.FirebaseTest.firebaseio.com"];

note: home.FirebaseTest is my Firebase app name (see link below) https://www.firebase.com/docs/ios/quickstart.html

I receive the following exception/error:

Terminating app due to uncaught exception 'No Firebase namespace specified.', reason: 'No Firebase namespace found for input: '

How can I resolve this problem?

Upvotes: 2

Views: 1402

Answers (1)

adolfosrs
adolfosrs

Reputation: 9389

I'm pretty sure that your problem relies on your URL.

Didn't get how you named your project home.FirebaseTest and what this home. stands for.

But you can get the proper url going to firebase console and on "Database" tab you should be able to see your firebaseio.com url.

For example in an app called "myfirebasetest" it would be

https://myfirebasetest.firebaseio.com

enter image description here

On legacy UI it is the url you use to access the console.

enter image description here

Upvotes: 3

Related Questions