Forum Discussion

AppleGG's avatar
AppleGG
Helpful | Level 6
9 years ago

Getting Started with V2

I currently have v1 in my iOS apps. I can't even get started with V2. How do I get your Roulette sample to compile? I compiled the framework and included it in the Roulette "Include" sample and get nothing but complaints about ARC errors.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    It sounds like you're referring to the DBRoulette sample for the Official Objective-C SDK for the Dropbox API v2. There are three copies of the example project, one for each supported method of installation. To get started, you should pick the one for the installation method you prefer, and then follow the installation instructions to install the library, just as you would in your own app.

     

    Note that there's a known issue in that DBRoulette hasn't be updated for a change in version 2.0.6 of the SDK, so you may want to either use 2.0.5 for now, or change the instances of "DBError" to "DBRequestError".

     

    If you're still having trouble, please share the errors you're getting. (Screenshots may also be helpful.)

    • AppleGG's avatar
      AppleGG
      Helpful | Level 6

      Replaced DBError with DBRequestError in DBRoulette. At least it now compiles and I just get a SIGABRT, maybe because of no keys set yet.

      • AppleGG's avatar
        AppleGG
        Helpful | Level 6

        Now, it's saying "Library not loaded".