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

Swissdoode's avatar
Swissdoode
Explorer | Level 3
2 years ago

iOS SDK (Obj-C) authorisation with dropbox app installed produces error (app needs to be updated)

Hi everybody!

 

I'm using the iOS SDK installed with cocoapods to authorise a user in order to upload files to DB.

This works, as long as the DB-App isn't installed on my device (the authorisation is then made via Safari).

 

As soon as I install the DB-App and try to allow my app to use DB (in the DB-App), I'm getting an error saying:

«myApp» needs to be updated. The developer needs to update this app so it works with this iOS-Version. (or something along these lines - had to translate the error from German).

 

I'm building the app with the latest XCode and SDKs, using a current signing-profile, etc.

The app works totally fine under the latest iOS version.

 

Any ideas what could cause this?

    • Swissdoode's avatar
      Swissdoode
      Explorer | Level 3

      Hi Greg.

      Thanks for getting back to me.

      I'm using ObjectiveDropboxOfficial (7.1.1)

      I attached a screenshot of the error message (it's in German, though).

       

      The error occurs when the DB-App is supposed to send me back to my App (StoryCatcher)

       

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

        Thanks! I'm trying this out now, but I can't seem to reproduce that error. From what I can tell though, it's actually coming from iOS itself and not directly from the Dropbox iOS app.

         

        Given that you mentioned it occurs when the Dropbox app would be sending you back to your app, it sounds like it would be related to the URL scheme functionality that the Dropbox app and SDK use to coordinate that. Can you check that you've implemented everything from the "Application .plist file" section of the documentation as shown there? That's the configuration that allows the SDK and app to work together for that flow.

         

        Otherwise, can you confirm which particular version number of iOS you're seeing this with? Have you tried any other versions and if so, which and do they work or not work?