Skip to content

Commit 61377ea

Browse files
authored
Merge pull request #4 from uhooi/hotfix/fix_cocoapods
Hotfix/fix cocoapods
2 parents ad84b5e + a781a87 commit 61377ea

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![CI](https://github.com/uhooi/swift-http-client/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/uhooi/swift-http-client/actions/workflows/main.yml)
44
[![Release](https://img.shields.io/github/v/release/uhooi/swift-http-client)](https://github.com/uhooi/swift-http-client/releases/latest)
5+
[![CocoaPods Version](https://img.shields.io/cocoapods/v/UHIHTTPClient.svg)](https://cocoapods.org/pods/UHIHTTPClient)
56
[![License](https://img.shields.io/github/license/uhooi/swift-http-client)](https://github.com/uhooi/swift-http-client/blob/main/LICENSE)
67
[![Twitter](https://img.shields.io/twitter/follow/the_uhooi?style=social)](https://twitter.com/the_uhooi)
78

@@ -24,7 +25,7 @@ You can add this package to `Package.swift`, include it in your target dependenc
2425
```swift
2526
let package = Package(
2627
dependencies: [
27-
.package(url: "https://github.com/uhooi/swift-http-client", .upToNextMajor(from: "0.1.1")),
28+
.package(url: "https://github.com/uhooi/swift-http-client", .upToNextMajor(from: "0.2.1")),
2829
],
2930
targets: [
3031
.target(
@@ -41,7 +42,11 @@ See [documentation](https://developer.apple.com/documentation/swift_packages/add
4142

4243
### CocoaPods
4344

44-
TBD
45+
This library is available through [CocoaPods](https://cocoapods.org). To install it, simply add the following line to your `Podfile`:
46+
47+
```ruby
48+
pod 'UHIHTTPClient', '~> 0.2.1'
49+
```
4550

4651
### Carthage
4752

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |spec|
2-
spec.name = 'HTTPClient'
3-
spec.version = '0.1.1'
2+
spec.name = 'UHIHTTPClient'
3+
spec.version = '0.2.1'
44
spec.license = { :type => 'MIT', :file => 'LICENSE' }
55
spec.summary = 'Communicate via HTTP easily in Swift.'
66
spec.homepage = 'https://github.com/uhooi/swift-http-client'

0 commit comments

Comments
 (0)