QRCode icon indicating copy to clipboard operation
QRCode copied to clipboard

swift4 support

Open alexhan021 opened this issue 8 years ago • 5 comments

any plan to update to swift 4?

alexhan021 avatar Sep 27 '17 17:09 alexhan021

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 ?

niraj1991 avatar Sep 28 '17 06:09 niraj1991

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

alexhan021 avatar Sep 28 '17 12:09 alexhan021

Yes, please update to swift 4.0 🙏

davidbaez avatar Oct 10 '17 15:10 davidbaez

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

ghecho avatar Jan 18 '18 17:01 ghecho

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

gmotzespina avatar Nov 05 '18 23:11 gmotzespina