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
2 years agoExplorer | Level 3
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?
- Greg-DBDropbox Staff
[Cross-linking for reference: https://stackoverflow.com/questions/76847429/dropbox-ios-sdk-obj-c-authorisation-with-dropbox-app-installed-produces-error ]
First, for reference, can you share the version number of the Dropbox SDK that got installed by Cocoapods, and also share a screenshot of the screen with the error message so we can check on this specifically? Thanks in advance!
- SwissdoodeExplorer | 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-DBDropbox 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?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,878 PostsLatest Activity: 7 hours agoIf 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!