From fc73a01877cee21e25e6866936665cc6b64c5bf2 Mon Sep 17 00:00:00 2001 From: Paul Zabelin Date: Thu, 4 Jan 2018 06:20:35 -0800 Subject: [PATCH] set deployment target to iOS11 --- .../project.pbxproj | 4 +-- .../PerspectiveTransform/AppDelegate.swift | 32 ------------------- Example/Podfile | 4 ++- Example/Podfile.lock | 4 +-- 4 files changed, 7 insertions(+), 37 deletions(-) diff --git a/Example/PerspectiveTransform.xcodeproj/project.pbxproj b/Example/PerspectiveTransform.xcodeproj/project.pbxproj index ae7b09f..94d8731 100644 --- a/Example/PerspectiveTransform.xcodeproj/project.pbxproj +++ b/Example/PerspectiveTransform.xcodeproj/project.pbxproj @@ -506,7 +506,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -551,7 +551,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.3; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; diff --git a/Example/PerspectiveTransform/AppDelegate.swift b/Example/PerspectiveTransform/AppDelegate.swift index 91c2490..a988466 100644 --- a/Example/PerspectiveTransform/AppDelegate.swift +++ b/Example/PerspectiveTransform/AppDelegate.swift @@ -10,37 +10,5 @@ import UIKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { - var window: UIWindow? - - - func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { - // Override point for customization after application launch. - return true - } - - func applicationWillResignActive(application: UIApplication) { - // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. - // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. - } - - func applicationDidEnterBackground(application: UIApplication) { - // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. - // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. - } - - func applicationWillEnterForeground(application: UIApplication) { - // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. - } - - func applicationDidBecomeActive(application: UIApplication) { - // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. - } - - func applicationWillTerminate(application: UIApplication) { - // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. - } - - } - diff --git a/Example/Podfile b/Example/Podfile index 4458706..aaf8422 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -1,5 +1,7 @@ source 'https://github.com/CocoaPods/Specs.git' use_frameworks! +platform :ios, '11.0' +inhibit_all_warnings! target 'Example' do pod 'PerspectiveTransform', :path => '../' @@ -10,5 +12,5 @@ target 'Tests' do pod 'Quick' pod 'Nimble' - pod 'Nimble-Snapshots' + pod 'Nimble-Snapshots', :inhibit_warnings => true end diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 2d461a5..5c64e0a 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -24,12 +24,12 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - FBSnapshotTestCase: 094f9f314decbabe373b87cc339bea235a63e07a + FBSnapshotTestCase: '094f9f314decbabe373b87cc339bea235a63e07a' Nimble: 7f5a9c447a33002645a071bddafbfb24ea70e0ac Nimble-Snapshots: f5459b5b091678dc942d03ec4741cacb58ba4a52 PerspectiveTransform: 228d918e462bd85feabd7559031fe63f2971e2fe Quick: 58d203b1c5e27fff7229c4c1ae445ad7069a7a08 -PODFILE CHECKSUM: 9a270d5c3d811374adaf98a9b56d30259d0a1c63 +PODFILE CHECKSUM: b790bcb0c0b95de622078e49688f1f4dd6894fe0 COCOAPODS: 1.0.1