aschuch / QRCode

A QRCode generator written in Swift.
MIT License
739 stars 197 forks source link

swift4 support #55

Open mickychen0524 opened 6 years ago

mickychen0524 commented 6 years ago

any plan to update to swift 4?

niraj1991 commented 6 years ago

Also I am waiting for swift 4 update.

I am Getting Following error.

Module compiled with Swift 3.1 cannot be imported in Swift 4.0: /Volumes/DATA_D/Niraj/CrownId/Developments/CrownIDSVNX/CrownID/QRCode.framework/Modules/QRCode.swiftmodule/x86_64.swiftmodule

any Help ?

mickychen0524 commented 6 years ago

@niraj1991 you should set as swift 3.2 in library build settings -> swift language until it supports swift 4

davidbaez commented 6 years ago

Yes, please update to swift 4.0 🙏

ghecho commented 6 years ago

You can do it directly in Swift 4 without the library using CIFilter. Here's an example

gmotzespina commented 5 years ago

I have made the migration to swift 4.2 and is now a pending PR