cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We are doing a little maintenance on the Dropbox Community at the moment, so please bear with us. Apologies for any inconvenience caused.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Obj-C Dropbox Library crashes in iOS8.4

Obj-C Dropbox Library crashes in iOS8.4

Robert S.138
Helpful | Level 7

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

1 Accepted Solution

Accepted Solutions

Re: Obj-C Dropbox Library crashes in iOS8.4

Greg-DB
Dropboxer
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.

View solution in original post

4 Replies 4

Re: Obj-C Dropbox Library crashes in iOS8.4

Greg-DB
Dropboxer
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.

Re: Obj-C Dropbox Library crashes in iOS8.4

Robert S.138
Helpful | Level 7

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

Re: Obj-C Dropbox Library crashes in iOS8.4

Greg-DB
Dropboxer
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.

View solution in original post

Re: Obj-C Dropbox Library crashes in iOS8.4

Robert S.138
Helpful | Level 7

Thanks.  I figured it out too.  I just ran

pod update

and it is updating from 1.0.11 to 2.0.6.

Who's talking

Top contributors to this post

  • User avatar
    Robert S.138 Helpful | Level 7
  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?