This new release of BarCodeKit fixes an issue with iOS-compatibility and several new warnings pointed out by Xcode 9.4.
- FIXED: Podspec didn’t specify that pod is iOS compatible
- FIXED: Some 9.4 warnings
- FIXED: The option to suppress quiet zones caused barcodes to be shifted out of the center of the generated images.
- CHANGED: Option to suppress quiet zones renamed to BCKCodeDrawingSuppressQuietZones
Apparently I broke iOS support when I added Mac support because I specified the platform OSX in the pod spec, not realising that this would remove compatibility with iOS. The correct way, pointed out via pull request by Christopher Streel was to instead specify platform-specific version numbers.
I also used the opportunity do eliminate a few new warnings by Xcode 9.4. And when looking at the demos I noticed that a bug had been introduced supporting suppression of quiet zones. So I fixed that as well.
The update is tagged on GitHub and available via Cocoapods.
Also published on Medium.