- Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Hi, after upgrading to Xcode 26, I encountered a build error targeting watchOS:
.../SourcePackages/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImage.h:80:139: 'UITraitCollection' is unavailable: not available on watchOS This issue seems to be caused by references to UITraitCollection, which isn't available on watchOS. It builds fine on Xcode 16.4.
Reproduction:
Target platform: watchOS
Xcode version: Xcode 26 beta
Using Swift Package Manager
Suggestion:
Maybe wrap the relevant code in #if TARGET_OS_IOS || TARGET_OS_TV or similar platform availability checks?
Thanks for the awesome work on this project!
trapi
Metadata
Metadata
Assignees
Labels
No labels