Fluffcorn / ios-sticker-packs-app

Customizable sticker iMessage App including tabbed category switcher and sticker size slider.
https://www.facebook.com/fluffcorn
MIT License
50 stars 24 forks source link

ALAssetsLibrary In WAStickers is deprecated #6

Closed Murdo-C closed 2 years ago

Murdo-C commented 3 years ago

The ALAssetsLibrary has been replaced by the new Photos framework - the app doesn’t compile in the latest Xcode as a result.

ansonl commented 3 years ago

I will refactor the code in the next Fluffcorn Stickers app update.

ansonl commented 2 years ago

@CaptainMurdo ALAssetsLibrary is being used by YYImageCode which is part of the WhatsApp stickers (WAStickers) code which was imported from https://github.com/WhatsApp/stickers/blob/main/iOS/WAStickersThirdParty/YYImageCoder.m The latest version of WAStickers code from WhatsApp still uses ALAssetsLibrary and updates to the WAStickers code will be imported from the official WhatsApp stickers repository when fixed by WhatsApp.

I can still successfully compile the current project in Xcode even though it warns about the deprecated code. If you don't need WhatsApp integration, you could remove the WhatsApp code files and compile without them.