Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

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

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
    9 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.

4 Replies

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    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
    9 years ago

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

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 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.
  • Robert S.138's avatar
    Robert S.138
    Helpful | Level 7
    9 years ago

    Thanks.  I figured it out too.  I just ran

    pod update

    and it is updating from 1.0.11 to 2.0.6.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!