We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

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.