Hey guys,
This feels like a very elementary problem but I can't find a soultion to this as it is only two lines.
After filling out the username and password fields I get this Thread 1: Signal SIGABRT on the return line.
func startPasswordAuthentication() -> AWSCognitoIdentityPasswordAuthentication { return self as! AWSCognitoIdentityPasswordAuthentication }
This error means exactly what it says: you have a value of one type (self
is of type SignInViewController
), you’re trying to convert it to another type (AWSCognitoIdentityPasswordAuthentication
), and that conversion has failed because the types are unrelated.
As to why this is happening, it’s hard to say without more details about your app. What makes you think you should be able to convert between these types?
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = "eskimo" + "1" + "@apple.com"