ampirator / EANBarcodeGenerator

CIFilter generator EAN-13, UPC-A barcodes
MIT License
23 stars 6 forks source link

'init(source:)' was deprecated in iOS 12.0: Core Image Kernel Language API deprecated. #6

Closed miniapps-ios closed 2 years ago

miniapps-ios commented 4 years ago

After updating to Xcode 12, I got this warning when building

'init(source:)' was deprecated in iOS 12.0: Core Image Kernel Language API deprecated.

Is there any way to fix the warning?

thank

ampirator commented 4 years ago

Hi, as describing in DOC "Define CI_SILENCE_GL_DEPRECATION to silence these warnings" But in general CIFilter should be reimplemeted via Metal Shading Language