kean / PulseLogHandler

SwiftLog Extension for Pulse
MIT License
12 stars 11 forks source link

'PulseLogHandler' requires macos 12.0, but depends on the product 'Pulse' which requires macos 13.0; #9

Open FirstAM opened 1 week ago

FirstAM commented 1 week ago
test-swift-external user$ swift package resolve -v
Running resolver because the following dependencies were added: 'pulseloghandler' (https://github.com/kean/PulseLogHandler)
Fetching https://github.com/kean/PulseLogHandler from cache
Fetched https://github.com/kean/PulseLogHandler from cache (0.47s)
Computing version for https://github.com/kean/PulseLogHandler
Computed https://github.com/kean/PulseLogHandler at 5.0.0 (0.02s)
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/kean/pulse.git from cache
Fetched https://github.com/kean/pulse.git from cache (0.50s)
Fetched https://github.com/apple/swift-log.git from cache (0.50s)
Computing version for https://github.com/kean/pulse.git
Computed https://github.com/kean/pulse.git at 5.1.2 (0.02s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.01s)
Creating working copy for https://github.com/kean/PulseLogHandler
Working copy of https://github.com/kean/PulseLogHandler resolved at 5.0.0
Creating working copy for https://github.com/kean/pulse.git
Working copy of https://github.com/kean/pulse.git resolved at 5.1.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1

test-swift-external user$ swift build -v
warning: 'test-swift-external': dependency 'pulseloghandler' is not used by any target
error: the library 'PulseLogHandler' requires macos 12.0, but depends on the product 'Pulse' which requires macos 13.0; consider changing the library 'PulseLogHandler' to require macos 13.0 or later, or the product 'Pulse' to require macos 12.0 or earlier.
FirstAM commented 1 week ago

You have to use previous version pulse library. Because Pulse has .macOS(.v13) And PulseLogHandler .macOS(.v12)