exyte / Macaw

Powerful and easy-to-use vector graphics Swift library with SVG support
MIT License
6k stars 552 forks source link

Swift Compiler Error on Xcode 13 - Macaw doesn't compile #774

Closed Sileo1024 closed 2 years ago

Sileo1024 commented 2 years ago

Issue

The pod doesn't compile on Xcode 13. The compiler returns 88 issues within Macaw.

Stack

What I already tried:

So far I deduced that the issue is most likely linked to the compiler change that Swift 5.5 shipped with Xcode 13.

Screenshot 2021-10-07 at 15 54 12
f3dm76 commented 2 years ago

Hey @Sileo1024, we launched Macaw on xcode 13 and it compiles ok except for SWXMLHash library - for which we just released a fix in version 0.9.8, please check it out. Do you get all these mistakes just trying to compile Macaw? Have a nice day

Sileo1024 commented 2 years ago

@f3dm76 I was using 0.9.8 version. It seems that you need to do a clean install of Xcode 13, and clean install of cocoapods, and this goes away. Thank you for your support. I'm closing this issue since I got this solved.