Skip to content

Commit

Permalink
swift version fix
Browse files Browse the repository at this point in the history
  • Loading branch information
evermeer committed Oct 10, 2018
1 parent a820ac7 commit ef23713
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion PassportScanner.podspec
Expand Up @@ -8,7 +8,7 @@ Pod::Spec.new do |s|
#

s.name = "PassportScanner"
s.version = "2.2.0"
s.version = "3.0.1"
s.summary = "Scan the MRZ code on a passport"

s.description = "Scan the MRZ code on a passport and it's data'"
Expand Down
4 changes: 2 additions & 2 deletions PassportScanner.xcodeproj/project.pbxproj
Expand Up @@ -405,7 +405,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "PassportScanner/PassportScanner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0;
SWIFT_VERSION = 4.2;
};
name = Debug;
};
Expand All @@ -427,7 +427,7 @@
PRODUCT_BUNDLE_IDENTIFIER = nl.evict.PassportScanner;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "PassportScanner/PassportScanner-Bridging-Header.h";
SWIFT_VERSION = 3.0;
SWIFT_VERSION = 4.2;
};
name = Release;
};
Expand Down
2 changes: 1 addition & 1 deletion PassportScanner/AppDelegate.swift
Expand Up @@ -13,7 +13,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

var window: UIWindow?

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool {
private func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
return true
}
}
Expand Down
2 changes: 1 addition & 1 deletion Pod/PassportScannerController.swift
Expand Up @@ -124,7 +124,7 @@ open class PassportScannerController: UIViewController, MGTesseractDelegate {
super.viewDidAppear(animated)
do {
// Initialize the camera
camera = try Camera(sessionPreset: AVCaptureSessionPreset1920x1080)
camera = try Camera(sessionPreset: AVCaptureSession.Preset.hd1920x1080.rawValue)
camera.location = PhysicalCameraLocation.backFacing

// Chain the filter to the render view
Expand Down

0 comments on commit ef23713

Please sign in to comment.