Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

DS6's avatar
DS6
Explorer | Level 4
8 years ago
Solved

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?

4 Replies

  • DS6's avatar
    DS6
    Explorer | Level 4
    8 years ago

    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 Community Moderator rankDropbox Community Moderator
    8 years ago

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

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    7 years ago

    SwiftyDropbox has been updated for Swift 4 as of v5.0.0.

About Dropbox API Support & Feedback

Node avatar for 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!