Skip to content
This repository was archived by the owner on Aug 26, 2022. It is now read-only.

Commit 9399dcc

Browse files
authored
Merge pull request #35 from omaralbeik/swift5
Update Project to Swift 5.0
2 parents e471406 + 42d8357 commit 9399dcc

File tree

5 files changed

+17
-14
lines changed

5 files changed

+17
-14
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
language: objective-c
2-
osx_image: xcode10
1+
os: osx
2+
language: swift
3+
osx_image: xcode10.2
34

45
env:
56
- ACTION=test PLATFORM=Mac DESTINATION='platform=OS X'

Sources/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.3</string>
18+
<string>1.4</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

UserDefaultsStore.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "UserDefaultsStore"
3-
s.version = "1.3"
3+
s.version = "1.4"
44
s.summary = "Why not use UserDefaults to store Codable objects 😉"
55
s.description = <<-DESC
66
You love Swift"s Codable protocol and use it everywhere, here is an easy and very light way to store - reasonable amount 😅 - of Codable objects, in a couple lines of code.
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
1515
s.module_name = "UserDefaultsStore"
1616
s.source = { :git => "https://github.com/omaralbeik/UserDefaultsStore.git", :tag => s.version }
1717
s.source_files = "Sources/**/*.swift"
18-
s.swift_version = "4.2"
18+
s.swift_version = "5.0"
1919
s.requires_arc = true
2020

2121
s.ios.deployment_target = "8.0"

UserDefaultsStore.xcodeproj/project.pbxproj

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -148,24 +148,24 @@
148148
isa = PBXProject;
149149
attributes = {
150150
LastSwiftUpdateCheck = 0730;
151-
LastUpgradeCheck = 0940;
151+
LastUpgradeCheck = 1020;
152152
ORGANIZATIONNAME = Postmates;
153153
TargetAttributes = {
154154
9E7DDF201C18F2B500EA43AD = {
155155
CreatedOnToolsVersion = 7.2;
156-
LastSwiftMigration = 0920;
156+
LastSwiftMigration = 1020;
157157
ProvisioningStyle = Automatic;
158158
};
159159
9E7DDF2A1C18F2B600EA43AD = {
160160
CreatedOnToolsVersion = 7.2;
161-
LastSwiftMigration = 0930;
161+
LastSwiftMigration = 1020;
162162
ProvisioningStyle = Automatic;
163163
};
164164
};
165165
};
166166
buildConfigurationList = 9E7DDF1B1C18F2B500EA43AD /* Build configuration list for PBXProject "UserDefaultsStore" */;
167167
compatibilityVersion = "Xcode 3.2";
168-
developmentRegion = English;
168+
developmentRegion = en;
169169
hasScannedForEncodings = 0;
170170
knownRegions = (
171171
en,
@@ -264,6 +264,7 @@
264264
isa = XCBuildConfiguration;
265265
buildSettings = {
266266
ALWAYS_SEARCH_USER_PATHS = NO;
267+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
267268
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
268269
CLANG_CXX_LIBRARY = "libc++";
269270
CLANG_ENABLE_MODULES = YES;
@@ -328,6 +329,7 @@
328329
isa = XCBuildConfiguration;
329330
buildSettings = {
330331
ALWAYS_SEARCH_USER_PATHS = NO;
332+
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
331333
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
332334
CLANG_CXX_LIBRARY = "libc++";
333335
CLANG_ENABLE_MODULES = YES;
@@ -401,7 +403,7 @@
401403
PRODUCT_NAME = "$(TARGET_NAME)";
402404
PROVISIONING_PROFILE_SPECIFIER = "";
403405
SKIP_INSTALL = YES;
404-
SWIFT_VERSION = 4.2;
406+
SWIFT_VERSION = 5.0;
405407
};
406408
name = Debug;
407409
};
@@ -424,7 +426,7 @@
424426
PRODUCT_NAME = "$(TARGET_NAME)";
425427
PROVISIONING_PROFILE_SPECIFIER = "";
426428
SKIP_INSTALL = YES;
427-
SWIFT_VERSION = 4.2;
429+
SWIFT_VERSION = 5.0;
428430
};
429431
name = Release;
430432
};
@@ -444,7 +446,7 @@
444446
PRODUCT_NAME = "$(TARGET_NAME)";
445447
PROVISIONING_PROFILE_SPECIFIER = "";
446448
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
447-
SWIFT_VERSION = 4.2;
449+
SWIFT_VERSION = 5.0;
448450
};
449451
name = Debug;
450452
};
@@ -463,7 +465,7 @@
463465
PRODUCT_BUNDLE_IDENTIFIER = com.omaralbeik.UserDefaultsStoreTests;
464466
PRODUCT_NAME = "$(TARGET_NAME)";
465467
PROVISIONING_PROFILE_SPECIFIER = "";
466-
SWIFT_VERSION = 4.2;
468+
SWIFT_VERSION = 5.0;
467469
};
468470
name = Release;
469471
};

UserDefaultsStore.xcodeproj/xcshareddata/xcschemes/UserDefaultsStore.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 = "0940"
3+
LastUpgradeVersion = "1020"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

0 commit comments

Comments
 (0)