ios – Flutter Xcode Build Failure: no visible @interface for ‘UIImage’ declares the selector ‘imageByPreparingForDisplay’

0
165

[ad_1]

ARC Semantic Issue: no visible @interface for 'UIImage' declares the selector 'imageByPreparingForDisplay'

So I have been going through the difficult task of getting my client’s Flutter app over to IOS and built.
I have been documenting a long thread here: What is a podfile target, and how to I specify Flutter modules for IOS version? after I was having a ton of difficulty getting all of my packages imported and the pods working.

Well I got those imported, and any pod warning fixed, but now the fatal error is coming from a pod package itself. This snippet is taken right from the error log:

/Users/prime/Desktop/ticket_board-master/ticket_board-master/ios/Pods/SDWebImage/SDWebImage/Core/SDImageCoderHelper.m:31:40: error: no visible @interface for 'UIImage' declares the selector 'imageByPreparingForDisplay'
        UIImage *decodedImage = [image imageByPreparingForDisplay];

Note that this app builds for Android, so I don’t think its an issue with my existing code, but rather the package itself? Maybe I need to change something between IOS and Android?
I tried just googling the error and searching here with no luck.
I found another thread here: Can’t build on iOS – SDWebImage: ARC Semantic Issue
That seems to be the same issue as mine, and nobody has answered it, aside from the last ditch effort of completely deleting and recreating the entire IOS folder.
I’ve actually seen several threads on this that go left unanswered.
I’ll keep this updated if I find anything, but its not looking good. I really don’t want to have to nuke everything, especially after the journey I’ve went through.

[ad_2]