The GPUImage library redefines the "UIImageOrientation" definition when compiled on MacOS, since MacOS applications aren't built with UIKit. Unfortunately GPUImage did not make the naming changes that affected the UIImageOrientation enum (e.g. UIImageOrientation.up -> UIImage.Orientation.Up).
Since the training app is built on MacOS, the recent change to update the SwiftOCR library to Swift 4.2 broke it. I have put in a few ifdef statements to account for this.
The GPUImage library redefines the "UIImageOrientation" definition when compiled on MacOS, since MacOS applications aren't built with UIKit. Unfortunately GPUImage did not make the naming changes that affected the UIImageOrientation enum (e.g. UIImageOrientation.up -> UIImage.Orientation.Up).
Since the training app is built on MacOS, the recent change to update the SwiftOCR library to Swift 4.2 broke it. I have put in a few ifdef statements to account for this.
Fixes #153