Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Frank T.
11 years agoNew member | Level 1
editing DBRoulette-Infor.plist in ioS SDK example
In the instructions for editing the example project (DBRoulette) in the Dropbox iOS SDK :
https://www.dropbox.com/developers/core/sdks/ios
contains the instruction:
"Your app key is also needed in DBRoulette-Info.plist file so the app can register for the correct url scheme. To do this, find the file under the Resources group in the left pane, right-click it and select Open As → Source Code. Replace the text APP_KEY with your app's key."
Using Xcode version 6.1.1
Does not seem to offer a "right-click" option and the displayed file does not seem to have the words "APP_KEY" shown anywhere.
Any help would be appreciated.
3 Replies
Replies have been turned off for this discussion
- Frank T.11 years agoNew member | Level 1
Just to follow up on the above, without making any changes to the default Info.plist the application builds successfully but fails to launch properly in the simulator with the following error message to the console:
2014-12-25 16:24:24.927 DBRoulette[3708:245796] Application windows are expected to have a root view controller at the end of application launch
2014-12-25 16:24:37.026 DBRoulette[3708:245796] [ERROR] DropboxSDK: unable to link; app isn't registered for correct URL scheme (db-a1gl19aqwq24kzh)
kDBRootAppFolder - Frank T.11 years agoNew member | Level 1
Further follow up on this issue:
I was able to locate a different version (same version number - "1.0") of info.plist on github which did have a reference to APP_KEY
Using this version and editing it in a text editor program to replace APP_KEY with my app_key I was able to get the simulator to work and see photos in my application.
- Greg-DB11 years ago
Dropbox Community Moderator
Thanks for the report Frank. I also just checked this in Xcode 6.1.1 using the latest version of the SDK (currently 1.3.13) and following the instructions from https://www.dropbox.com/developers/core/sdks/ios and the DBRoulette-Info.plist file does seem to contain the db-APP_KEY placeholder as expected:
https://www.dropbox.com/s/vgag4zsi6ypshy7/Screenshot%202015-01-02%2015.29.08.png?dl=0
https://www.dropbox.com/s/9o9371cvyxatws4/Screenshot%202015-01-02%2015.29.15.png?dl=0Is this not what you saw? Were you using a different version of the SDK?
About 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!