Fabric(twitter api) setup issue. Using swift -


hi using twitter api first time , have little experience apis in general. installed fabric app , following documentation integrate twitter using swift.

when build app , install twitter option on fabric, asks me run code.

when 'signal sigabrt' error on line fabric.with([twitter()]) in appdelegate.swift file. before had added import twitterkit line appdelegate.

i tried add these lines following api documentation:

twitter.sharedinstance().startwithconsumerkey("your_key", consumersecret: "your_secret") fabric.with([twitter.sharedinstance()]) 

and error comes in twitter.sharedinstance() line. adding these lines in func application method.

from language use, evident newbie programming , need smiley

thanks in advance.

to fix problem, did following:

  1. open xcode target
  2. go "build phases" tab
  3. click "copy bundle resources" section
  4. click add button
  5. add twitterkitresurce.bundle

Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -