From 52bf690fc7716f46853e85a20f6c153b07846c5f Mon Sep 17 00:00:00 2001 From: Paul Zabelin Date: Thu, 4 Jan 2018 07:24:16 -0800 Subject: [PATCH] update version fix warnings --- Example/PerspectiveTransform.xcodeproj/project.pbxproj | 6 ++++-- Example/PerspectiveTransform/PanViewController.swift | 1 - Example/Podfile.lock | 4 ++-- Example/Tests/MatrixSpec.swift | 2 +- PerspectiveTransform.podspec | 4 ++-- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Example/PerspectiveTransform.xcodeproj/project.pbxproj b/Example/PerspectiveTransform.xcodeproj/project.pbxproj index 25c9560..fb7f6b2 100644 --- a/Example/PerspectiveTransform.xcodeproj/project.pbxproj +++ b/Example/PerspectiveTransform.xcodeproj/project.pbxproj @@ -571,7 +571,6 @@ MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_SWIFT3_OBJC_INFERENCE = On; SWIFT_VERSION = 4.0; }; name = Debug; @@ -587,7 +586,6 @@ MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_SWIFT3_OBJC_INFERENCE = On; SWIFT_VERSION = 4.0; }; name = Release; @@ -598,6 +596,8 @@ buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_IDENTITY = ""; + COPY_PHASE_STRIP = NO; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", @@ -616,6 +616,8 @@ buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_IDENTITY = ""; + COPY_PHASE_STRIP = NO; INFOPLIST_FILE = Tests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; diff --git a/Example/PerspectiveTransform/PanViewController.swift b/Example/PerspectiveTransform/PanViewController.swift index be09bcc..e08821d 100644 --- a/Example/PerspectiveTransform/PanViewController.swift +++ b/Example/PerspectiveTransform/PanViewController.swift @@ -11,7 +11,6 @@ import QuartzCore import PerspectiveTransform -@objc class PanViewController: UIViewController { // MARK: - Outlets diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 5c64e0a..063695c 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -10,7 +10,7 @@ PODS: - Nimble-Snapshots/Core (6.3.0): - FBSnapshotTestCase (~> 2.0) - Nimble (~> 7.0) - - PerspectiveTransform (0.1.0) + - PerspectiveTransform (0.2.0) - Quick (1.2.0) DEPENDENCIES: @@ -27,7 +27,7 @@ SPEC CHECKSUMS: FBSnapshotTestCase: '094f9f314decbabe373b87cc339bea235a63e07a' Nimble: 7f5a9c447a33002645a071bddafbfb24ea70e0ac Nimble-Snapshots: f5459b5b091678dc942d03ec4741cacb58ba4a52 - PerspectiveTransform: 228d918e462bd85feabd7559031fe63f2971e2fe + PerspectiveTransform: f9fe74071aaebd9d48f91ed1866585bf68a689b7 Quick: 58d203b1c5e27fff7229c4c1ae445ad7069a7a08 PODFILE CHECKSUM: b790bcb0c0b95de622078e49688f1f4dd6894fe0 diff --git a/Example/Tests/MatrixSpec.swift b/Example/Tests/MatrixSpec.swift index 731a05f..bec30b6 100644 --- a/Example/Tests/MatrixSpec.swift +++ b/Example/Tests/MatrixSpec.swift @@ -47,7 +47,7 @@ class MatrixSpec: QuickSpec { } context("determinant") { it("should match expected") { - expect(matrix_determinant(m.cmatrix)) == -1 + expect(m.determinant) == -1 } } } diff --git a/PerspectiveTransform.podspec b/PerspectiveTransform.podspec index 63a731b..364a575 100644 --- a/PerspectiveTransform.podspec +++ b/PerspectiveTransform.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "PerspectiveTransform" - s.version = "0.1.0" + s.version = "0.2.0" s.summary = "Perspective Transform calculates CATransform3D" s.description = <<-DESC Calculates CATransform3D to transform rectangular frame to convex quadrilateral @@ -14,7 +14,7 @@ Pod::Spec.new do |s| s.source = { :git => "https://github.com/paulz/PerspectiveTransform.git", :tag => s.version.to_s } s.social_media_url = 'https://twitter.com/iospaulz' - s.platform = :ios, '8.0' + s.platform = :ios, '10.0' s.requires_arc = true s.source_files = 'Pod/Classes/**/*'