I am using Xcode 6.4 Swift and have just integrated Fabric and the TwitterKit. I have added:
Twitter.sharedInstance().startWithConsumerKey(“key assigned to app in dashboard”, consumerSecret: “secret assigned to app in dashboard”)
Fabric.with([Twitter.sharedInstance()])
to my AppDelegate (didFinishLaunchingWithOptions) and receive the following error:
[Fabric] Unable to locate application icon
Failed to load tweets: Request failed: bad request (400)
I am using the tableView sample from the docs and the failure to load tweets comes from the “Twitter.sharedInstance().APIClient.loadTweetsWithIDs(tweetIDs)…” call.
If I comment out the lines in AppDelegate and use the default key and secret, I get past the “Unable to locate application icon” issue but then crash with a fatal error on the loadTweetsWithIDs call:
fatal error: unexpectedly found nil while unwrapping an Optional value
Any ideas?