Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)

Hello,
I have seen that these forums are a source of great help and I wanted to see if someone could help m. Everytime I open my app I get the same error on my appDelegate from the debug area. I do not understand why it is happening because I am just getting the code from Google (the code for Google Sign In), and it suddenly started to happen. Previously it was working, but now it is not. I will give a pastebin file with my code.
Thanks so much,
From Armaan Gupta



S
Could you kindly provide the output you receive in the console for the error.
It’s hard to say based on the info you’ve provided. Please do the following:
  1. Run your app outside of Xcode so that the crash generates a crash report.

  2. Work through the techniques described in Diagnosing Issues Using Crash Reports and Device Logs to see if they reveal anything interesting about the crash.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
 
 
Q