I installed everything like they say in this tutorial:
And this is the output i get from xcode, when i try to sign in using the iPhone 6s simulator.
2016-02-06 22:05:42.592 DBDemo[16063:892330] -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)"
2016-02-06 22:06:05.257 DBDemo[16063:892330] -[DBDemo.ViewController handleDidLinkNotification:]: unrecognized selector sent to instance 0x7f90a2e29f10
2016-02-06 22:06:05.258 DBDemo[16063:892330] *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSInvalidArgumentException> -[DBDemo.ViewController handleDidLinkNotification:]: unrecognized selector sent to instance 0x7f90a2e29f10
2016-02-06 22:06:05.260 DBDemo[16063:892330] [WARNING] DropboxSDK: error loading DBConnectController - Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo={NSUnderlyingError=0x7f90a2f2ce70 {Error Domain=kCFErrorDomainCFNetwork Code=-1002 "unsupported URL" UserInfo={NSErrorFailingURLStringKey=db-8koa47slz0cgnns://1/connect?oauth_token_secret=<redacted>&state=6B034EB3-102A-42D0-9578-BE165BAA26D1&oauth_token=<redacted>&uid=<redacted>, NSLocalizedDescription=unsupported URL, NSErrorFailingURLKey=db-8koa47slz0cgnns://1/connect?oauth_token_secret=<redacted>&state=6B034EB3-102A-42D0-9578-BE165BAA26D1&oauth_token=<redacted>&uid=<redacted>}}, NSErrorFailingURLStringKey=db-8koa47slz0cgnns://1/connect?oauth_token_secret=<redacted>&state=6B034EB3-102A-42D0-9578-BE165BAA26D1&oauth_token=<redacted>&uid=<redacted>, NSErrorFailingURLKey=db-8koa47slz0cgnns://1/connect?oauth_token_secret=<redacted>&state=6B034EB3-102A-42D0-9578-BE165BAA26D1&oauth_token=<redacted>&uid=<redacted>, NSLocalizedDescription=unsupported URL}
Please help me understand what i am supposed to do about this? I have written the key and the secret in like im supposed to (I think) And the info.plist file also has the LSApplicationQueriesSchemes and the dbapi-2, like its supposed to.