Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

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

ios - I keep getting the "unrecognized selector sent to instance" when i tap the login button that should open the Firebase Auth UI

I am very new to coding and app development and I am working on my first project. I have a navigation controller that links to a controller scene that is used for my "login" page. From there, after the authentication, I would like the user to be redirected to my tab bar controller scene.

I followed this video in helping me set up firebase authentication and followed exactly what was shown in the video, but yet when I click the login button on the simulator in redirects me back to Xcode under the "Show the debug navigator" tab and under "Thread 1" "12 Main" it shows my app delegate code with the error: Page with Error

I have tried everything I've seen online including re-writing the code, ensuring that there are not multiple segues connected to the button...

This is my code on my "FirstViewController.Swift

Could someone please tell me what I am doing wrong? And I am not sure what I missed out so if anyone needs more information to figure out what the issue is I can post it.

Also:

  • The "goHome" string on line 52 is the identifier for the storyboard segue after authentication is complete
  • The app is called "Statera"

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

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...