From c751513c5b43c8298419389d117b16b9af24d77d Mon Sep 17 00:00:00 2001 From: Adam Hartford Date: Thu, 15 Sep 2016 10:26:55 -0400 Subject: [PATCH] Updates for Xcode 8 and Swift 3 --- SwiftR MacTests/SwiftR_MacTests.swift | 2 +- SwiftR iOSTests/SwiftR_iOSTests.swift | 2 +- SwiftR.xcodeproj/project.pbxproj | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/SwiftR MacTests/SwiftR_MacTests.swift b/SwiftR MacTests/SwiftR_MacTests.swift index 8495708..b371df3 100644 --- a/SwiftR MacTests/SwiftR_MacTests.swift +++ b/SwiftR MacTests/SwiftR_MacTests.swift @@ -28,7 +28,7 @@ class SwiftR_MacTests: XCTestCase { func testPerformanceExample() { // This is an example of a performance test case. - self.measureBlock() { + self.measure() { // Put the code you want to measure the time of here. } } diff --git a/SwiftR iOSTests/SwiftR_iOSTests.swift b/SwiftR iOSTests/SwiftR_iOSTests.swift index ad5d657..d8d0c86 100644 --- a/SwiftR iOSTests/SwiftR_iOSTests.swift +++ b/SwiftR iOSTests/SwiftR_iOSTests.swift @@ -28,7 +28,7 @@ class SwiftR_iOSTests: XCTestCase { func testPerformanceExample() { // This is an example of a performance test case. - self.measureBlock() { + self.measure() { // Put the code you want to measure the time of here. } } diff --git a/SwiftR.xcodeproj/project.pbxproj b/SwiftR.xcodeproj/project.pbxproj index 59db2ff..1ce62d7 100644 --- a/SwiftR.xcodeproj/project.pbxproj +++ b/SwiftR.xcodeproj/project.pbxproj @@ -517,6 +517,7 @@ }; 5B2F479E1ADFFE6800416A1A = { CreatedOnToolsVersion = 6.3; + LastSwiftMigration = 0800; }; 5B2F47B21ADFFE7300416A1A = { CreatedOnToolsVersion = 6.3; @@ -525,6 +526,7 @@ }; 5B2F47BC1ADFFE7300416A1A = { CreatedOnToolsVersion = 6.3; + LastSwiftMigration = 0800; }; 5B2F47CF1ADFFE8400416A1A = { CreatedOnToolsVersion = 6.3; @@ -902,6 +904,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "com.adamhartford.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; }; name = Debug; }; @@ -916,6 +919,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "com.adamhartford.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; }; name = Release; }; @@ -1003,6 +1007,7 @@ PRODUCT_BUNDLE_IDENTIFIER = "com.adamhartford.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = macosx; + SWIFT_VERSION = 3.0; }; name = Debug; }; @@ -1020,6 +1025,7 @@ PRODUCT_BUNDLE_IDENTIFIER = "com.adamhartford.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = macosx; + SWIFT_VERSION = 3.0; }; name = Release; };