You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Robert S.138's avatar
Robert S.138
Helpful | Level 7
8 years ago

Obj-C Dropbox Library crashes in iOS8.4

I just released my iOS app updated to Dropbox API v2 using the Obj-C library through CoCoPods.  I works fine in iOS9.  But now I am getting calls that it crashes on start-up under iOS8.x.  Then I ran an iOS simulator with iOS 8.4 and it does indeed crash on start-up with 

 

dyld: Symbol not found: _NSURLSessionTaskPriorityHigh

 

A search of the source code shows this appears in only one place, in the Dropbox file  DBTransportClient.m.  The Obj-C library was supposed to be compatible with iOS8 and above.  What should I do?

 

By the way, I commented out the offending line in DBTransportClient.m and my app started up without errors.

 

-Robert Scott

 Hopkins, MN

  • Greg-DB's avatar
    Greg-DB
    8 years ago
    The contents of the "Podfile.lock" file should tell you what you currently have installed.

    You can control what version you get installed using the contents of your "Podfile" file. You can use this line to just request the latest version:

    pod 'ObjectiveDropboxOfficial'

    Run `pod update` to update the pods installed in your project.
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    Hi Robert, what version of the SDK do you have installed? This sounds like a bug that was fixed in version 1.1.1. Please make sure you're using the latest version, currently 2.0.6.
    • Robert S.138's avatar
      Robert S.138
      Helpful | Level 7

      How can I check and how do I update?  (I am very new to CoCoPods).

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff
        The contents of the "Podfile.lock" file should tell you what you currently have installed.

        You can control what version you get installed using the contents of your "Podfile" file. You can use this line to just request the latest version:

        pod 'ObjectiveDropboxOfficial'

        Run `pod update` to update the pods installed in your project.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,909 PostsLatest Activity: 2 hours ago
333 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!