I'm using the iOS SDK through Fabric for AWS and getting a crash. When running the app I get a crash on this line:
dataset = AWSCognito.defaultCognito().openOrCreateDataset("fabricExample")
The crash says:
fatal error: unexpectedly found nil while unwrapping an Optional value
This is the code I have, the same as from the Fabric SDK:
https://fabric.io/kits/ios/amazon/features
I made sure that I “Enable access to unauthenticated identities” in AWS. Not sure what I'm doing wrong. Does it have to do with the database?
Has anyone used Fabric to install AWS? Can't find any questions on that.
Thanks in advance.