Skip to content

Commit 0968968

Browse files
author
Kirk Beitz
committed
updates for building in Xcode 8.3
- NOZSwiftTests.swift was flagged with a suggested change to use String(describing:) for a optiona String? - update lastVersionCheck/lastVersionUpgrade to 0830
1 parent 7e16682 commit 0968968

File tree

5 files changed

+6
-16
lines changed

5 files changed

+6
-16
lines changed

ZipUtilities.xcodeproj/project.pbxproj

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,7 +1407,7 @@
14071407
attributes = {
14081408
CLASSPREFIX = NOZ;
14091409
LastSwiftUpdateCheck = 0700;
1410-
LastUpgradeCheck = 0820;
1410+
LastUpgradeCheck = 0830;
14111411
ORGANIZATIONNAME = NSProgrammer;
14121412
TargetAttributes = {
14131413
1C6BF76F1B74086000969629 = {
@@ -1932,7 +1932,6 @@
19321932
MTL_ENABLE_DEBUG_INFO = YES;
19331933
ONLY_ACTIVE_ARCH = YES;
19341934
SDKROOT = iphoneos;
1935-
SWIFT_VERSION = 3.0;
19361935
};
19371936
name = Debug;
19381937
};
@@ -1987,7 +1986,6 @@
19871986
MTL_ENABLE_DEBUG_INFO = NO;
19881987
SDKROOT = iphoneos;
19891988
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
1990-
SWIFT_VERSION = 3.0;
19911989
VALIDATE_PRODUCT = YES;
19921990
};
19931991
name = Release;
@@ -2003,7 +2001,6 @@
20032001
PRODUCT_NAME = "$(TARGET_NAME)";
20042002
PUBLIC_HEADERS_FOLDER_PATH = include/ZipUtilities;
20052003
SKIP_INSTALL = YES;
2006-
SWIFT_VERSION = 3.0;
20072004
};
20082005
name = Debug;
20092006
};
@@ -2018,7 +2015,6 @@
20182015
PRODUCT_NAME = "$(TARGET_NAME)";
20192016
PUBLIC_HEADERS_FOLDER_PATH = include/ZipUtilities;
20202017
SKIP_INSTALL = YES;
2021-
SWIFT_VERSION = 3.0;
20222018
};
20232019
name = Release;
20242020
};
@@ -2037,7 +2033,6 @@
20372033
OTHER_LDFLAGS = "-ObjC";
20382034
PRODUCT_BUNDLE_IDENTIFIER = "com.NSProgrammer.$(PRODUCT_NAME:rfc1034identifier)";
20392035
PRODUCT_NAME = "$(TARGET_NAME)";
2040-
SWIFT_VERSION = 3.0;
20412036
};
20422037
name = Debug;
20432038
};
@@ -2052,7 +2047,6 @@
20522047
OTHER_LDFLAGS = "-ObjC";
20532048
PRODUCT_BUNDLE_IDENTIFIER = "com.NSProgrammer.$(PRODUCT_NAME:rfc1034identifier)";
20542049
PRODUCT_NAME = "$(TARGET_NAME)";
2055-
SWIFT_VERSION = 3.0;
20562050
};
20572051
name = Release;
20582052
};
@@ -2077,7 +2071,6 @@
20772071
PRODUCT_BUNDLE_IDENTIFIER = "com.NSProgrammer.$(PRODUCT_NAME:rfc1034identifier)";
20782072
PRODUCT_NAME = "$(TARGET_NAME)";
20792073
SKIP_INSTALL = YES;
2080-
SWIFT_VERSION = 3.0;
20812074
VERSIONING_SYSTEM = "apple-generic";
20822075
VERSION_INFO_PREFIX = "";
20832076
};
@@ -2100,7 +2093,6 @@
21002093
PRODUCT_BUNDLE_IDENTIFIER = "com.NSProgrammer.$(PRODUCT_NAME:rfc1034identifier)";
21012094
PRODUCT_NAME = "$(TARGET_NAME)";
21022095
SKIP_INSTALL = YES;
2103-
SWIFT_VERSION = 3.0;
21042096
VERSIONING_SYSTEM = "apple-generic";
21052097
VERSION_INFO_PREFIX = "";
21062098
};
@@ -2166,7 +2158,6 @@
21662158
PRODUCT_NAME = ZipUtilities;
21672159
SDKROOT = macosx;
21682160
SKIP_INSTALL = YES;
2169-
SWIFT_VERSION = 3.0;
21702161
VERSIONING_SYSTEM = "apple-generic";
21712162
VERSION_INFO_PREFIX = "";
21722163
};
@@ -2190,7 +2181,6 @@
21902181
PRODUCT_NAME = ZipUtilities;
21912182
SDKROOT = macosx;
21922183
SKIP_INSTALL = YES;
2193-
SWIFT_VERSION = 3.0;
21942184
VERSIONING_SYSTEM = "apple-generic";
21952185
VERSION_INFO_PREFIX = "";
21962186
};

ZipUtilities.xcodeproj/xcshareddata/xcschemes/ZipUtilities Framework.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0820"
3+
LastUpgradeVersion = "0830"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

ZipUtilities.xcodeproj/xcshareddata/xcschemes/ZipUtilities OSX Framework.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0820"
3+
LastUpgradeVersion = "0830"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

ZipUtilities.xcodeproj/xcshareddata/xcschemes/ZipUtilities.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0820"
3+
LastUpgradeVersion = "0830"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

ZipUtilitiesTests/NOZSwiftTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func TearDownZipQueue()
102102

103103
func compressOperation(_ op: NOZCompressOperation, didCompleteWith result: NOZCompressResult)
104104
{
105-
XCTAssertTrue(result.didSucceed, "Failed to compress! \(result.operationError)")
105+
XCTAssertTrue(result.didSucceed, "Failed to compress! \(String(describing: result.operationError))")
106106
if (result.didSucceed) {
107107
NSLog("Compression Ratio: \(result.compressionRatio())")
108108
}
@@ -199,7 +199,7 @@ func TearDownZipQueue()
199199

200200
func decompressOperation(_ op: NOZDecompressOperation, didCompleteWith result: NOZDecompressResult)
201201
{
202-
XCTAssertTrue(result.didSucceed, "Failed to decompress! \(result.operationError)")
202+
XCTAssertTrue(result.didSucceed, "Failed to decompress! \(String(describing: result.operationError))")
203203
if (result.didSucceed) {
204204
NSLog("Compression ratio: \(result.compressionRatio())")
205205
}

0 commit comments

Comments
 (0)