Skip to content

Commit

Permalink
Remove the dependency in podspec
Browse files Browse the repository at this point in the history
because `Logging` framework no longer supports CocoaPods.
See apple/swift-log#20.
  • Loading branch information
sushichop committed Oct 31, 2022
1 parent ffa4ce4 commit d4496d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- Remove and change the properties. [#60](https://github.com/sushichop/Puppy/pull/60)
- Change minimum platform versions. [#61](https://github.com/sushichop/Puppy/pull/61)
- Adopt `Sendable` and `Loggerable`. [#62](https://github.com/sushichop/Puppy/pull/62)
- Remove the dependency in podspec. [#66](https://github.com/sushichop/Puppy/pull/66)

## [0.5.1](https://github.com/sushichop/Puppy/releases/tag/0.5.1) (2022-09-24)

Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let package = Package(
.library(name: "Puppy", targets: ["Puppy"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-log.git", from: "1.4.4"),
.package(url: "https://github.com/apple/swift-log.git", .upToNextMinor(from: "1.4.4")),
],
targets: [
.target(name: "CPuppy",
Expand Down
7 changes: 1 addition & 6 deletions Puppy.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ Pod::Spec.new do |s|

s.source = { :git => "https://github.com/sushichop/Puppy.git", :tag => "#{s.version}" }

s.default_subspec = "Default"

s.subspec "Default" do |default|
default.dependency "Puppy/Core"
default.dependency "Logging", "~> 1.4"
end
s.default_subspec = "Core"

s.subspec "Core" do |core|
core.header_mappings_dir = "Sources/CPuppy/include"
Expand Down

0 comments on commit d4496d9

Please sign in to comment.