Skip to content

Commit 8c42c57

Browse files
committed
Use Swift 4.2
1 parent 31f444c commit 8c42c57

File tree

2 files changed

+2
-42
lines changed

2 files changed

+2
-42
lines changed

Cache.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = "Cache"
33
s.summary = "Nothing but cache."
4-
s.version = "5.1.1"
4+
s.version = "5.2.0"
55
s.homepage = "https://github.com/hyperoslo/Cache"
66
s.license = 'MIT'
77
s.author = { "Hyper Interaktiv AS" => "ios@hyper.no" }

Cache.xcodeproj/project.pbxproj

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,6 @@
614614
D5291D5C1C283B5300B702C9 /* Frameworks */,
615615
D5291D5D1C283B5300B702C9 /* Headers */,
616616
D5291D5E1C283B5300B702C9 /* Resources */,
617-
BD58C3AE1CF2EA04003F7141 /* SwiftLint */,
618617
);
619618
buildRules = (
620619
);
@@ -651,7 +650,6 @@
651650
D5DC59DC1C20593E003BD79B /* Frameworks */,
652651
D5DC59DD1C20593E003BD79B /* Headers */,
653652
D5DC59DE1C20593E003BD79B /* Resources */,
654-
BD58C3AD1CF2E9FD003F7141 /* SwiftLint */,
655653
);
656654
buildRules = (
657655
);
@@ -765,34 +763,6 @@
765763
/* End PBXResourcesBuildPhase section */
766764

767765
/* Begin PBXShellScriptBuildPhase section */
768-
BD58C3AD1CF2E9FD003F7141 /* SwiftLint */ = {
769-
isa = PBXShellScriptBuildPhase;
770-
buildActionMask = 2147483647;
771-
files = (
772-
);
773-
inputPaths = (
774-
);
775-
name = SwiftLint;
776-
outputPaths = (
777-
);
778-
runOnlyForDeploymentPostprocessing = 0;
779-
shellPath = /bin/sh;
780-
shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
781-
};
782-
BD58C3AE1CF2EA04003F7141 /* SwiftLint */ = {
783-
isa = PBXShellScriptBuildPhase;
784-
buildActionMask = 2147483647;
785-
files = (
786-
);
787-
inputPaths = (
788-
);
789-
name = SwiftLint;
790-
outputPaths = (
791-
);
792-
runOnlyForDeploymentPostprocessing = 0;
793-
shellPath = /bin/sh;
794-
shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
795-
};
796766
BDEDD3731DBCE616007416A6 /* ShellScript */ = {
797767
isa = PBXShellScriptBuildPhase;
798768
buildActionMask = 2147483647;
@@ -804,7 +774,7 @@
804774
);
805775
runOnlyForDeploymentPostprocessing = 0;
806776
shellPath = /bin/sh;
807-
shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
777+
shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
808778
};
809779
/* End PBXShellScriptBuildPhase section */
810780

@@ -1029,7 +999,6 @@
1029999
SDKROOT = appletvos;
10301000
SKIP_INSTALL = YES;
10311001
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
1032-
SWIFT_VERSION = 4.2;
10331002
TARGETED_DEVICE_FAMILY = 3;
10341003
TVOS_DEPLOYMENT_TARGET = 9.2;
10351004
};
@@ -1055,7 +1024,6 @@
10551024
PRODUCT_NAME = Cache;
10561025
SDKROOT = appletvos;
10571026
SKIP_INSTALL = YES;
1058-
SWIFT_VERSION = 4.2;
10591027
TARGETED_DEVICE_FAMILY = 3;
10601028
TVOS_DEPLOYMENT_TARGET = 9.2;
10611029
};
@@ -1077,7 +1045,6 @@
10771045
SDKROOT = appletvos;
10781046
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
10791047
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
1080-
SWIFT_VERSION = 3.0;
10811048
TVOS_DEPLOYMENT_TARGET = 10.0;
10821049
};
10831050
name = Debug;
@@ -1096,7 +1063,6 @@
10961063
PRODUCT_BUNDLE_IDENTIFIER = "no.hyper.Cache-tvOS-Tests";
10971064
PRODUCT_NAME = "$(TARGET_NAME)";
10981065
SDKROOT = appletvos;
1099-
SWIFT_VERSION = 3.0;
11001066
TVOS_DEPLOYMENT_TARGET = 10.0;
11011067
};
11021068
name = Release;
@@ -1111,7 +1077,6 @@
11111077
PRODUCT_BUNDLE_IDENTIFIER = "no.hyper.Cache-iOS-Tests";
11121078
PRODUCT_NAME = "$(TARGET_NAME)";
11131079
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
1114-
SWIFT_VERSION = 4.2;
11151080
};
11161081
name = Debug;
11171082
};
@@ -1124,7 +1089,6 @@
11241089
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
11251090
PRODUCT_BUNDLE_IDENTIFIER = "no.hyper.Cache-iOS-Tests";
11261091
PRODUCT_NAME = "$(TARGET_NAME)";
1127-
SWIFT_VERSION = 4.2;
11281092
};
11291093
name = Release;
11301094
};
@@ -1147,7 +1111,6 @@
11471111
PRODUCT_NAME = Cache;
11481112
SDKROOT = macosx;
11491113
SKIP_INSTALL = YES;
1150-
SWIFT_VERSION = 4.2;
11511114
};
11521115
name = Debug;
11531116
};
@@ -1170,7 +1133,6 @@
11701133
PRODUCT_NAME = Cache;
11711134
SDKROOT = macosx;
11721135
SKIP_INSTALL = YES;
1173-
SWIFT_VERSION = 4.2;
11741136
};
11751137
name = Release;
11761138
};
@@ -1332,7 +1294,6 @@
13321294
PRODUCT_BUNDLE_IDENTIFIER = no.hyper.Cache;
13331295
PRODUCT_NAME = Cache;
13341296
SKIP_INSTALL = YES;
1335-
SWIFT_VERSION = 4.2;
13361297
};
13371298
name = Debug;
13381299
};
@@ -1352,7 +1313,6 @@
13521313
PRODUCT_BUNDLE_IDENTIFIER = no.hyper.Cache;
13531314
PRODUCT_NAME = Cache;
13541315
SKIP_INSTALL = YES;
1355-
SWIFT_VERSION = 4.2;
13561316
};
13571317
name = Release;
13581318
};

0 commit comments

Comments
 (0)