When using cocoapods dependency libary in your iOS projects, you may often encounter with the following issue -
Analyzing dependencies
[!] Unable to satisfy the following requirements:
- `Alamofire (= 4.4.0)` required by `Podfile`
Specs satisfying the `Alamofire (= 4.4.0)` dependency were found, but they required a higher minimum deployment target.
Please check you podfile in your project folder and edit it
open -a Xcode Podfile
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
In the above line, please make sure you remove # sign (uncomment for platform :iOS, '9.0'.
Now, you run, pod install, you will be successful.
If you want more details about how cocoapods can be used and finer details of cocoapods, please visit -
https://www.raywenderlich.com/156971/cocoapods-tutorial-swift-getting-started
No comments:
Post a Comment