I have the following line in my Podfile:
pod 'Alamofire', '~> 4.7'
Problem is when I add the line 'pod SwiftyDropbox', there is an issue 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)
Besides there are warnings in both Alamofire as well as SwiftyDropbox framework. How do I get the latest version of SwiftyDropbox to run in XCode 9.3 and Swift 4?
s.dependency 'Alamofire', '~> 4.5.0', so you should use that Alamofire version. But it's strange that you get the 2.0.1 of SwifityDropbox and not the 4.6.0 one. You shouldn't be able to use different version of the same pod, you need to get a compromise on using the same one.