App Invite configuration failed Firebase iOS cocoapods

后端 未结 4 1885
清歌不尽
清歌不尽 2021-02-08 10:22

I got a build error with this in it while trying out the new version of firebase

*** Terminating app due to uncaught exception \'com.firebase.appinvite\', reason         


        
4条回答
  •  生来不讨喜
    2021-02-08 10:55

    The Invites pod does require setting up a couple of custom URL schemes, which is easy to skip over. You can do this in you Info.plist, or in the General tab of the target in Xcode. The two custom URL schemes are:

    1. Your bundle ID. e.g. "com.foo.bar"
    2. Your Google Sign In client ID with the components reversed. e.g. "com.googleusercontent.apps.12345678-xxxxxxxxx".

    The second one is trickier! In the GoogleService-Info.plist you downloaded there should be a key REVERSED_CLIENT_ID you can copy the value of. For what its worth, I find that the first build after I edit the custom URL types doesn't seem to register it properly, so if it doesn't work right away, just try again.

提交回复
热议问题