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
ShiminCai
8 years agoHelpful | Level 6
Alamofire compilation errors after installing the SwiftyDropbox in Xcode project with CocoaPods
Hi there, Since the Dropbox API V1 has been turned off, the file download and upload in all our apps are not working any more. I'm now migrating to the API V2 and using Xcode 8.3.3 and Swift. ...
- 8 years ago
Thanks! That looks like a bug in SwiftyDropbox v4.2.0 when using Xcode 8. We'll look into it. In the meantime, you can use v4.1.2, by specifying it in your Podfile like:
pod 'SwiftyDropbox' => '4.1.2'
Then, do a `pod update`.
ShiminCai
Helpful | Level 6
Hi Greg-DB,
Your reply helped figure out why I was getting old versions of SwityDropbox and Alamofire. It is the deployment platform specification in the Podfile. It was platform :ios, '8.0'. After changed it to platform :ios, '9.0', I now got the SwiftDropbox 4.2.0 and Alamofire 4.4.0, and all 267 Alamofire-related compilation errors are gone. Thank you.
However, I'm still getting a compilation error about SwiftyDropbox as shown below:
Cheers,
Shimin
Greg-DB
8 years agoDropbox Staff
Thanks! That looks like a bug in SwiftyDropbox v4.2.0 when using Xcode 8. We'll look into it. In the meantime, you can use v4.1.2, by specifying it in your Podfile like:
pod 'SwiftyDropbox' => '4.1.2'
Then, do a `pod update`.
- ShiminCai8 years agoHelpful | Level 6
Hi Greg-DB,
That resolved the SDK compilation error. Many thanks.
Now it's up to me to migrate my code to V2. Our Dropbox implementation is very basic: We put files in the Dropbox app folder. A list of those files is presented to users in the app and users tap a file to download it to the app. There is no interaction between users and Dropbox such as user sign-in, etc. I would appreciate it much if any guide regarding how to migrate this is available...
Cheers,
Shimin
- Greg-DB8 years agoDropbox Staff
ShiminCai We don't have a migration guide for moving between these SDKs in particular. I recommend just reading through the readme for SwiftyDropbox, which covers the different kinds of calls, to see how each piece should be implemented.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,911 PostsLatest Activity: 2 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!