Skip to content

Commit

Permalink
feat: Add visionOS support to the Cocoapods podspec, bump min version
Browse files Browse the repository at this point in the history
  • Loading branch information
liam-i committed May 9, 2024
1 parent aa5f0c8 commit 6389251
Show file tree
Hide file tree
Showing 10 changed files with 50 additions and 39 deletions.
9 changes: 8 additions & 1 deletion FlyHUD.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'FlyHUD'
s.version = '1.5.11'
s.version = '1.5.12'
s.summary = 'A lightweight and easy-to-use HUD for iOS and tvOS apps.'
s.description = <<-DESC
FlyHUD is a lightweight and easy-to-use HUD designed to display
Expand All @@ -11,6 +11,13 @@ Pod::Spec.new do |s|
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Liam' => '[email protected]' }
s.source = { :git => 'https://github.com/liam-i/FlyHUD.git', :tag => s.version.to_s }
s.documentation_url = 'https://liam-i.github.io/FlyHUD/main/documentation/flyhud'
s.screenshots = 'https://raw.githubusercontent.com/wiki/liam-i/FlyHUD/Screenshots/1-6.png'
s.social_media_url = "https://liam-i.github.io"

# 1.12.0: Ensure developers won't hit CocoaPods/CocoaPods#11402 with the resource bundle for the privacy manifest.
# 1.13.0: visionOS is recognized as a platform.
s.cocoapods_version = '>= 1.13.0'

s.ios.deployment_target = '12.0'
s.tvos.deployment_target = '12.0'
Expand Down
16 changes: 8 additions & 8 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
PODS:
- FlyHUD (1.5.11):
- FlyHUD/FlyHUD (= 1.5.11)
- FlyHUD/FlyIndicatorHUD (= 1.5.11)
- FlyHUD/FlyProgressHUD (= 1.5.11)
- FlyHUD/FlyHUD (1.5.11)
- FlyHUD/FlyIndicatorHUD (1.5.11):
- FlyHUD (1.5.12):
- FlyHUD/FlyHUD (= 1.5.12)
- FlyHUD/FlyIndicatorHUD (= 1.5.12)
- FlyHUD/FlyProgressHUD (= 1.5.12)
- FlyHUD/FlyHUD (1.5.12)
- FlyHUD/FlyIndicatorHUD (1.5.12):
- FlyHUD/FlyHUD
- FlyHUD/FlyProgressHUD (1.5.11):
- FlyHUD/FlyProgressHUD (1.5.12):
- FlyHUD/FlyHUD

DEPENDENCIES:
Expand All @@ -17,7 +17,7 @@ EXTERNAL SOURCES:
:path: "./"

SPEC CHECKSUMS:
FlyHUD: 210b8f244d7e96f70c72dc1809a31b527e4fecda
FlyHUD: 7ed695841b75d17a5293f16dc9260c647a8a828e

PODFILE CHECKSUM: aca68f86287ad51468143d28c84c5162697fb912

Expand Down
8 changes: 6 additions & 2 deletions Pods/Local Podspecs/FlyHUD.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Pods/Target Support Files/FlyHUD-iOS/FlyHUD-iOS-Info.plist

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ This is a lightweight and easy-to-use HUD designed to display the progress and s
If you are using the [Swift Package Manager](https://www.swift.org/documentation/package-manager), add a dependency to your `Package.swift` file and import the HUD library into the desired targets:
```swift
dependencies: [
.package(url: "https://github.com/liam-i/FlyHUD.git", from: "1.5.11")
.package(url: "https://github.com/liam-i/FlyHUD.git", from: "1.5.12")
],
targets: [
.target(
Expand All @@ -56,7 +56,7 @@ If you are using Xcode, then you should:

- File > Swift Packages > Add Package Dependency
- Add `https://github.com/liam-i/FlyHUD.git`
- Select "Up to Next Minor" with "1.5.11"
- Select "Up to Next Minor" with "1.5.12"

> [!TIP]
> For detailed tutorials, see: [Apple Docs](https://developer.apple.com/documentation/xcode/adding-package-dependencies-to-your-app)
Expand All @@ -74,30 +74,30 @@ use_frameworks!

target 'MyApp' do
# Use the FlyHUD, FlyIndicatorHUD and FlyProgressHUD components.
pod 'FlyHUD', '~> 1.5.11'
pod 'FlyHUD', '~> 1.5.12'

# Or, just use the FlyHUD component.
pod 'FlyHUD', '~> 1.5.11', :subspecs => ['FlyHUD']
pod 'FlyHUD', '~> 1.5.12', :subspecs => ['FlyHUD']

# Or, just use the FlyHUD and FlyIndicatorHUD components.
pod 'FlyHUD', '~> 1.5.11', :subspecs => ['FlyIndicatorHUD']
pod 'FlyHUD', '~> 1.5.12', :subspecs => ['FlyIndicatorHUD']

# Or, just use the FlyHUD and FlyProgressHUD components.
pod 'FlyHUD', '~> 1.5.11', :subspecs => ['FlyProgressHUD']
pod 'FlyHUD', '~> 1.5.12', :subspecs => ['FlyProgressHUD']
end
```

And run `pod install`.

> [!IMPORTANT]
> CocoaPods 1.14.3 or newer is required.
> CocoaPods 1.13.0 or newer is required.
### Carthage

If you're using [Carthage](https://github.com/Carthage/Carthage), add this to your `Cartfile`:

```ruby
github "liam-i/FlyHUD" ~> 1.5.11
github "liam-i/FlyHUD" ~> 1.5.12
```

And run `carthage update --platform iOS --use-xcframeworks`.
Expand Down
16 changes: 8 additions & 8 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

```swift
dependencies: [
.package(url: "https://github.com/liam-i/FlyHUD.git", from: "1.5.11")
.package(url: "https://github.com/liam-i/FlyHUD.git", from: "1.5.12")
],
targets: [
.target(
Expand All @@ -57,7 +57,7 @@ targets: [

- File > Swift Packages > Add Package Dependency
- Add `https://github.com/liam-i/FlyHUD.git`
- Select "Up to Next Minor" with "1.5.11"
- Select "Up to Next Minor" with "1.5.12"

> [!TIP]
> 相关详细教程,请查看:[Apple Docs](https://developer.apple.com/documentation/xcode/adding-package-dependencies-to-your-app)
Expand All @@ -75,30 +75,30 @@ use_frameworks!

target 'MyApp' do
# 使用 FlyHUD、FlyIndicatorHUD 和 FlyProgressHUD 组件。
pod 'FlyHUD', '~> 1.5.11'
pod 'FlyHUD', '~> 1.5.12'

# 或者,只使用 FlyHUD 组件。
pod 'FlyHUD', '~> 1.5.11', :subspecs => ['FlyHUD']
pod 'FlyHUD', '~> 1.5.12', :subspecs => ['FlyHUD']

# 或者,只使用 FlyHUD 和 FlyIndicatorHUD 组件。
pod 'FlyHUD', '~> 1.5.11', :subspecs => ['FlyIndicatorHUD']
pod 'FlyHUD', '~> 1.5.12', :subspecs => ['FlyIndicatorHUD']

# 或者,只使用 FlyHUD 和 FlyProgressHUD 组件。
pod 'FlyHUD', '~> 1.5.11', :subspecs => ['FlyProgressHUD']
pod 'FlyHUD', '~> 1.5.12', :subspecs => ['FlyProgressHUD']
end
```

并运行 `pod install`

> [!IMPORTANT]
> 需要 CocoaPods 1.14.3 或更高版本。
> 需要 CocoaPods 1.13.0 或更高版本。
### Carthage

如果你使用 [Carthage](https://github.com/Carthage/Carthage), 可将以下内容添加到你的 `Cartfile` 中:

```ruby
github "liam-i/FlyHUD" ~> 1.5.11
github "liam-i/FlyHUD" ~> 1.5.12
```

并运行 `carthage update --platform iOS --use-xcframeworks`
Expand Down

0 comments on commit 6389251

Please sign in to comment.