You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To install AlamofireLogging with CocoaPods, add the following lines to your `Podfile`.
18
+
To install Alamofire+Logging with CocoaPods, add the following lines to your `Podfile`.
17
19
18
20
```ruby
19
21
source 'https://github.com/CocoaPods/Specs.git'
20
-
platform :ios, '8.0'# or platform :osx, '10.10' if your target is OS X.
22
+
platform :ios, '9.0'
21
23
use_frameworks!
22
24
23
25
pod 'AlamofireLogging'
24
26
```
25
27
28
+
### Carthage
29
+
30
+
[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
31
+
32
+
You can install Carthage with [Homebrew](http://brew.sh/) using the following command:
33
+
34
+
```bash
35
+
$ brew update
36
+
$ brew install carthage
37
+
```
38
+
39
+
To integrate Alamofire+Logging into your Xcode project using Carthage, specify it in your `Cartfile`:
40
+
41
+
```
42
+
github 'Digipolitan/alamofire-logging' ~> 1.0
43
+
```
44
+
45
+
Run `carthage update` to build the framework and drag the built `AlamofireLogging.framework` into your Xcode project.
46
+
47
+
### Swift Package Manager
48
+
49
+
The [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler.
50
+
51
+
Once you have your Swift package set up, adding Alamofire+Logging as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.
0 commit comments