I am using the updated Xcode 8.0. How to install the alamofire 4.0 using cocoa pods. i am tried this one https://github.com/Alamofire/Alamofire. am getting an error when i convert the swift
相关问题
- “Zero out” sensitive String data in Swift
- SwiftUI: UIImage (QRCode) does not load after call
- Get the NSRange for the visible text after scroll
- UIPanGestureRecognizer is not working in iOS 13
- What does a Firebase observer actually do?
相关文章
- Using if let syntax in switch statement
- xcode 4 garbage collection removed?
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
- Enum with associated value conforming to CaseItera
- Swift - hide pickerView after value selected
- Is there a Github markdown language identifier for
- Popover segue to static cell UITableView causes co
Just follow these easy step >>>>>
1 Open Terminal and Type gem install cocoapods
2 Create Xcode project and set directory of project in terminal and and write pod init
3 A pod file will created, open it and write this -
4 Finally write pod install
For complete reference please refer Alamofire
try this:
Follow the steps to install a pod:
1) Open the terminal.
2) Type
pod
3) You should be able to see usage and commands...
if ( this is not the case ) {
Type:
gem install cocoapods
Follow from Step 4:
} else {
Follow from Step 4:
}
4) Navigate to the directory of the project in terminal.
5) Now type:
pod init
This will generate the pod file in your project directory with the respect to your project configuration...If you have enabled the tests, UITests...then the pod file will look differently.
6) You need to find these lines:
7) Now Type:
pod install
That's it!!!(pod will get installed and you can use the methods you want...!)