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:
- open xcode target
- go "build phases" tab
- click "copy bundle resources" section
- click add button
- add twitterkitresurce.bundle
Comments
Post a Comment