Skip to content

Commit f1af6c2

Browse files
committed
Fix the warning because of Apple's bug
1 parent dfb9ab4 commit f1af6c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

SDWebImageSwiftUI/Classes/SDAnimatedImageInterface.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
#import "SDAnimatedImageInterface.h"
1010
#if SD_WATCH
1111
#import <SDWebImage/SDWebImage.h>
12+
// ImageIO.modulemap does not contains this public header
13+
#pragma clang diagnostic push
14+
#pragma clang diagnostic ignored "-Wincomplete-umbrella"
1215
#import <ImageIO/CGImageAnimation.h>
16+
#pragma clang diagnostic pop
1317

1418
#pragma mark - SPI
1519

0 commit comments

Comments
 (0)