Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Migrating my Mac OS app to the V2 API, using the Dropbox SDK for Objective-C.
Making good progress but having this issue:
1. Run app in XCode
2. Trigger authentication process
3. Safari appears and I'm prompted "<myAppName> would like access to the files and folders in your Dropbox." so I click Allow
4. Then I'm prompted "Do you want to allow this page to open <myAppName>?" and again I click Allow
5. A NEW INSTANCE of my app starts up, rather than the one I'm debugging.
Does anyone happen to know why this would happen?
Thanks for the reply. I did have my plist set up correctly. However you were right - I had another binary on my machine that was registered for that same callback (an earlier production version of my app). After deleting that copy, the redirect is now coming back to the instance I'm running in XCode.
Problem fixed.
The redirect back to your app should be controlled by the CFBundleURLSchemes registered using your app key in your plist in this step of the configuration.
I'm not sure off hand what may cause this issue, so can you share your plist so we can look into it?
Do you have multiple binaries for your app saved that each have that URL scheme registered? You should be able to right click on the different instances in the dock and click "Show in Finder" to see if they are using the same binary.
Thanks for the reply. I did have my plist set up correctly. However you were right - I had another binary on my machine that was registered for that same callback (an earlier production version of my app). After deleting that copy, the redirect is now coming back to the instance I'm running in XCode.
Problem fixed.
Hi there!
If you need more help you can view your support options (expected response time for a 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!