exyte / Macaw

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

Module compiled with Swift 5.1.3 cannot be imported by the Swift 5.2 compiler #677

Closed usman-whizpool closed 4 years ago

usman-whizpool commented 4 years ago

Please prepare a build with new xcode 11.4

xkanxjyeqbn commented 4 years ago

I find this in xcode_11_4_release_notes

A method override can no longer have a generic signature with requirements not imposed by the base method. For example, the below code produces an error. (23626260) (FB5382462)

protocol P {}

class Base { func foo(arg: T) {} }

class Derived: Base { // generates an error because of the added requirement override func foo(arg: T) {} }

ystrot commented 4 years ago

Just released 0.9.6 with Swift 5.2 support.