0

I am new to flutter. I am trying to create IOS build using VS Code and getting below 2 errors:

  1. ARC Semantic Issue (Xcode): No visible @interface for 'UIImage' declares the selector 'imageByPreparingForDisplay'
  2. ARC Semantic Issue (Xcode): No visible @interface for 'UIImage' declares the selector 'imageByPreparingThumbnailOfSize:'

Please help me to fix this. Thanks

arun
  • 35
  • 10

2 Answers2

1

Solution is presented in this link.

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))

  pod 'SDWebImage', '5.12.6'
end
John Moses
  • 11
  • 2
0

May be if you are using file_picker or any other flutter dependencies related to UIImage then you can update those to latest version

Shahanur
  • 1
  • 1