diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 6cadb844..81160146 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -46,7 +46,7 @@ jobs: matrix: iosDestination: ["platform=iOS Simulator,name=iPhone 14 Pro"] tvOSDestination: ["platform=tvOS Simulator,name=Apple TV"] - watchOSDestination: ["platform=watchOS Simulator,name=Apple Watch Series 7 (45mm)"] + watchOSDestination: ["platform=watchOS Simulator,os=10.0,name=Apple Watch Series 7 (45mm)"] macOSDestination: ["platform=macOS"] macCatalystDestination: ["platform=macOS,variant=Mac Catalyst"] steps: diff --git a/Example/SDWebImageSwiftUI.xcodeproj/xcshareddata/xcschemes/SDWebImageSwiftUIDemo-watchOS WatchKit App.xcscheme b/Example/SDWebImageSwiftUI.xcodeproj/xcshareddata/xcschemes/SDWebImageSwiftUIDemo-watchOS WatchKit App.xcscheme index 58b52ed0..65df20bc 100644 --- a/Example/SDWebImageSwiftUI.xcodeproj/xcshareddata/xcschemes/SDWebImageSwiftUIDemo-watchOS WatchKit App.xcscheme +++ b/Example/SDWebImageSwiftUI.xcodeproj/xcshareddata/xcschemes/SDWebImageSwiftUIDemo-watchOS WatchKit App.xcscheme @@ -53,8 +53,7 @@ ignoresPersistentStateOnLaunch = "NO" debugDocumentVersioning = "YES" debugServiceExtension = "internal" - allowLocationSimulation = "YES" - notificationPayloadFile = "PushNotificationPayload.apns"> + allowLocationSimulation = "YES"> ['libdav1d'] end def all_test_pods diff --git a/README.md b/README.md index a5ab3279..899dac04 100644 --- a/README.md +++ b/README.md @@ -303,6 +303,7 @@ The best place to put these setup code for SwiftUI App, it's the `AppDelegate.sw func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Add WebP/SVG/PDF support SDImageCodersManager.shared.addCoder(SDImageWebPCoder.shared) + SDImageCodersManager.shared.addCoder(SDImageAVIFCoder.shared) SDImageCodersManager.shared.addCoder(SDImageSVGCoder.shared) SDImageCodersManager.shared.addCoder(SDImagePDFCoder.shared) @@ -478,6 +479,8 @@ struct MyApp: App { SDWebImageManager.defaultImageLoader = SDImageLoadersManager.shared // WebP support SDImageCodersManager.shared.addCoder(SDImageWebPCoder.shared) + // AVIF support + SDImageCodersManager.shared.addCoder(SDImageAVIFCoder.shared) } var body: some Scene { @@ -717,6 +720,7 @@ Which means, this project is one core use case and downstream dependency, which - [SDWebImage](https://github.com/SDWebImage/SDWebImage) - [libwebp](https://github.com/SDWebImage/libwebp-Xcode) +- [libavif](https://github.com/SDWebImage/libavif-Xcode) - [Kingfisher](https://github.com/onevcat/Kingfisher) - [SwiftUIX](https://github.com/SwiftUIX/SwiftUIX) - [Espera](https://github.com/JagCesar/Espera)