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

DS6's avatar
DS6
Explorer | Level 4
7 years ago

SwiftyDropbox with Alamofire issue

I have Alamofire ~>4.7 setting in pod file and when adding line 'pod SwiftyDropbox', there is an issue I see when I run pod update:

 

     

Analyzing dependencies

[!] CocoaPods could not find compatible versions for pod "Alamofire":

  In Podfile:

    Alamofire (~> 4.7)

 

    SwiftyDropbox was resolved to 2.0.1, which depends on

      Alamofire (~> 2.0.2)

 

How do I get the latest version of Swiftydropbox to run?

    • DS6's avatar
      DS6
      Explorer | Level 4

      pod repo update didn't help. The only way to fix it was to downgrade Alamofire version to 4.5.1. But this version gives 1 warning and SwiftyDropbox has 3 warnings:

       

           " Using '!' in this location is deprecated and will be removed in a future release; consider changing this to '?' instead"

         "'characters' is deprecated: Please use String or Substring directly"

      Is there a clean version that uses Swift 4?

       

       

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

        SwiftyDropbox hasn't been updated for Swift 4, but I'll pass this along as a request to the team. 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,917 PostsLatest Activity: 11 days ago
334 Following

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 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!