HamzaGhazouani/HGPlaceholders

library not work with xcode 12

AmrSaied opened this issue · 9 comments

library not work with xcode 12

XCode 12 conflicted frameworks;
HGPlaceholders
Material

'CollectionView' has different definitions in different modules; first difference is definition in module 'HGPlaceholders.Swift' found property name 'collectionViewLayout'

Hey Guys, I pushed a new version using Xcode 12, please can you let me know if it's working?

i did pod update
Installing HGPlaceholders 0.5.0 (was 0.4.0)
then build again. seems not compiled error again.

Screen Shot 2020-10-12 at 1 11 08 PM

Thanks @kamokaizen for checking, do you have this with the Example project?

No this screenshot from my project. I have been using a long time this framework in my project.

Example project is working with xcode 12. Now tested. But other problem continues.
Screen Shot 2020-10-12 at 1 22 23 PM

I think your issue is related to this one #63 you should add the context: HGPlaceholder.CollectionView instead of CollectionView

fixed with like that..
class HGCollectionView: HGPlaceholders.CollectionView {

Thanks @HamzaGhazouani appreciate

Great! you are welcome :)