firebase/codelab-friendlychat-ios

Getting 2 Errors on Step 4.

gojogo88 opened this issue · 2 comments

I'm copying the code listed but I'm getting these errors when I run it.

  1. Type 'AppDelegate' does not conform to protocol 'GIDSignInDelegate'
  2. Invalid redeclaration of 'sign(_:didSignInFor:withError:)'

You've defined the sign(_:didSignInFor:withError:) method twice. Remove one of them and your errors should go away.

In general, questions of this format should go on StackOverflow.

@morganchen12 Thanks! IT solved my redeclaration error.