Add SwiftPM traits for optional image loading dependencies - #445
Open
AndyChangTW wants to merge 2 commits into
Open
Add SwiftPM traits for optional image loading dependencies#445AndyChangTW wants to merge 2 commits into
AndyChangTW wants to merge 2 commits into
Conversation
- 升級 Package.swift 至 Swift tools 6.1 並改用 swiftLanguageModes - 透過 package traits 條件化 Alamofire、SDWebImage、Kingfisher 產品依賴 - 排除核心 target 的可選 input source,並加上對應條件編譯
AndyChangTW
marked this pull request as draft
August 21, 2026 00:47
AndyChangTW
marked this pull request as ready for review
August 21, 2026 00:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This updates the Swift Package manifest to support SwiftPM traits for the optional image loading integrations, and raises the minimum supported iOS deployment target from iOS 10 to iOS 12.
Changes
Package.swiftto Swift tools version 6.1..iOS(.v10)to.iOS(.v12).Alamofire,SDWebImage, andKingfisher.ImageSlideshowtarget..swiftpm/workspace metadata.Validation
swift package dump-package.