TwitterKit with Fabric: App crashes on launch

fabric
twitterkit

#1

Hi, I’ve used a Podfile to setup my iOS9 project to login into Twitter. So far, all I’ve attempted to do is, in AppDelegate.swift (:

Fabric.with([Twitter.sharedInstance()])

This crashes on start-up.

Exception:

2016-01-02 00:10:45.049 xxx[77939:4793569] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: '-[Twitter initWithCoder:]: unrecognized selector sent to instance

Any thoughts or ideas?

Thanks!


#2

@acc_playground Did you also add your Twitter Consumer key and secret? Here’s a link to the instructions or you can use them from Fabric.app.


#3

Well, I’m using them from Fabric.app at the moment.

I tried again on a new project where it works OK, so I’m porting the rest of my code over – so far, seems OK.

Thanks for the help.


#4