Skip to content

Commit ffc74c9

Browse files
committed
Project update
* Swift 5 in podspec * Swift 5 for project file * fix warnings
1 parent 6adcf97 commit ffc74c9

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

Cache.podspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ Pod::Spec.new do |s|
1919

2020
s.frameworks = 'Foundation'
2121

22-
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.2' }
22+
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }
23+
s.swift_version = '5.0'
2324
end

Cache.xcodeproj/project.pbxproj

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@
667667
isa = PBXProject;
668668
attributes = {
669669
LastSwiftUpdateCheck = 0800;
670-
LastUpgradeCheck = 0930;
670+
LastUpgradeCheck = 1030;
671671
ORGANIZATIONNAME = "Hyper Interaktiv AS";
672672
TargetAttributes = {
673673
BDEDD3551DBCE5B1007416A6 = {
@@ -697,10 +697,11 @@
697697
};
698698
buildConfigurationList = D5DC59DA1C20593E003BD79B /* Build configuration list for PBXProject "Cache" */;
699699
compatibilityVersion = "Xcode 3.2";
700-
developmentRegion = English;
700+
developmentRegion = en;
701701
hasScannedForEncodings = 0;
702702
knownRegions = (
703703
en,
704+
Base,
704705
);
705706
mainGroup = D5DC59D61C20593E003BD79B;
706707
productRefGroup = D5DC59E11C20593E003BD79B /* Products */;
@@ -1170,6 +1171,7 @@
11701171
isa = XCBuildConfiguration;
11711172
buildSettings = {
11721173
ALWAYS_SEARCH_USER_PATHS = NO;
1174+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
11731175
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
11741176
CLANG_CXX_LIBRARY = "libc++";
11751177
CLANG_ENABLE_MODULES = YES;
@@ -1218,7 +1220,7 @@
12181220
ONLY_ACTIVE_ARCH = YES;
12191221
SDKROOT = iphoneos;
12201222
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
1221-
SWIFT_VERSION = 4.2;
1223+
SWIFT_VERSION = 5.0;
12221224
TARGETED_DEVICE_FAMILY = "1,2";
12231225
VERSIONING_SYSTEM = "apple-generic";
12241226
VERSION_INFO_PREFIX = "";
@@ -1229,6 +1231,7 @@
12291231
isa = XCBuildConfiguration;
12301232
buildSettings = {
12311233
ALWAYS_SEARCH_USER_PATHS = NO;
1234+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
12321235
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
12331236
CLANG_CXX_LIBRARY = "libc++";
12341237
CLANG_ENABLE_MODULES = YES;
@@ -1270,7 +1273,7 @@
12701273
MTL_ENABLE_DEBUG_INFO = NO;
12711274
SDKROOT = iphoneos;
12721275
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
1273-
SWIFT_VERSION = 4.2;
1276+
SWIFT_VERSION = 5.0;
12741277
TARGETED_DEVICE_FAMILY = "1,2";
12751278
VALIDATE_PRODUCT = YES;
12761279
VERSIONING_SYSTEM = "apple-generic";

Cache.xcodeproj/xcshareddata/xcschemes/Cache-iOS.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 = "0930"
3+
LastUpgradeVersion = "1030"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Cache.xcodeproj/xcshareddata/xcschemes/Cache-macOS.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 = "0930"
3+
LastUpgradeVersion = "1030"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Cache.xcodeproj/xcshareddata/xcschemes/Cache-tvOS.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 = "0930"
3+
LastUpgradeVersion = "1030"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

0 commit comments

Comments
 (0)