Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
249 views
in Technique[技术] by (71.8m points)

Firebase registration error in iOS by react native

I'm trying to figure an error out with Firebase, bit it didn't work well. Is there anyone to help me?

What I'm doing is :

  1. building iOS app by react-native library
  2. attaching Firebase on this native app

and it worked well in the first place until I CHANGED bundle identifier of my iOS app.

What I did is :

  • changed bundle identifier on info.plist
  • renamed folder structure
  • renamed scheme
  • renamed project and workspace name

and it turns out that everything works fine except the execution app on simulator.. :(

After succeeding build, when I try to execute app on simulator, error message comes out like the following :

7.1.0 - [Firebase/Performance][I-PRF100005] FIRInstallations error: Error Domain=com.firebase.installations Code=0 "Underlying error: ??? ??? ? ????. SecItemCopyMatching (-34018)" UserInfo={NSLocalizedFailureReason=Underlying error: ??? ??? ? ????. SecItemCopyMatching (-34018), NSUnderlyingError=0x6000018be0a0 {Error Domain=com.gul.keychain.ErrorDomain Code=0 "SecItemCopyMatching (-34018)" UserInfo={NSLocalizedFailureReason=SecItemCopyMatching (-34018)}}}

7.1.0 - [Firebase/Performance][I-PRF710001] Unable to fetch configurations.

where the meaning of Korean word in the error message is "CANNOT FINISH THE JOB."

it says "firebase installations error occurs." because it cannot fetch configurations.

What should I do to get rid of this error? please help.. I'm struggling with this about a week.

Thanks in advance.

question from:https://stackoverflow.com/questions/65903814/firebase-registration-error-in-ios-by-react-native

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

You should not modify the GoogleServices-info.plist yourself.

If you changed the bundle ID for your app, define a new app in your Firebase project, download the updated plist and use that to replace the previous one.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...