Reputation: 31
Hi I am using the Twitter API for the first time and have little experience with APIs in general. I installed the fabric app and am following the documentation to integrate twitter using swift.
When I build my app and install the twitter option on fabric, it asks me to run my code.
When I do that I get a 'Signal SIGABRT' error on the line Fabric.with([Twitter()])
in the AppDelegate.swift
file.
Before this I had added the import TwitterKit line to the AppDelegate
.
I also tried to add these lines following the API documentation:
Twitter.sharedInstance().startWithConsumerKey("your_key", consumerSecret: "your_secret")
Fabric.with([Twitter.sharedInstance()])
and then the error comes in the Twitter.sharedInstance()
line.
I am adding these lines in the func Application method.
From the language I use, it is very evident that I am a newbie to programming and really need good help smiley
Thanks in advance.
Upvotes: 2
Views: 419
Reputation: 31
To fix the problem, I did the following:
Upvotes: 1