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

Commit 5a6343e

Browse files
authored
Update to Swift 4.2 / Xcode 10 (#25)
Update to Swift 4.2 / Xcode 10
1 parent f6b6107 commit 5a6343e

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: objective-c
2-
osx_image: xcode9.4
2+
osx_image: xcode10
33

44
env:
55
- ACTION=test PLATFORM=Mac DESTINATION='platform=OS X'
@@ -15,4 +15,4 @@ before_install:
1515
script:
1616
- set -o pipefail
1717
- xcodebuild -scheme UserDefaultsStore -destination "$DESTINATION" $ACTION | xcpretty -f `xcpretty-json-formatter`
18-
- bash <(curl -s https://codecov.io/bash)
18+
- bash <(curl -s https://codecov.io/bash)

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.1</string>
18+
<string>1.2</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

UserDefaultsStore.podspec

Lines changed: 3 additions & 3 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.1"
3+
s.version = "1.2"
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.
@@ -17,9 +17,9 @@ Pod::Spec.new do |s|
1717
s.source_files = "Sources/**/*.swift"
1818
s.swift_version = "4.1"
1919
s.requires_arc = true
20-
20+
2121
s.ios.deployment_target = "8.0"
2222
s.osx.deployment_target = "10.10"
2323
s.tvos.deployment_target = "9.0"
2424
s.watchos.deployment_target = "2.0"
25-
end
25+
end

UserDefaultsStore.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
PRODUCT_NAME = UserDefaultsStore;
316316
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos watchsimulator watchos appletvsimulator appletvos macosx";
317317
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
318-
SWIFT_VERSION = 4.0;
318+
SWIFT_VERSION = 4.2;
319319
TARGETED_DEVICE_FAMILY = "1,2,3,4";
320320
TVOS_DEPLOYMENT_TARGET = 9.0;
321321
VERSIONING_SYSTEM = "apple-generic";
@@ -372,7 +372,7 @@
372372
PRODUCT_NAME = UserDefaultsStore;
373373
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos watchsimulator watchos appletvsimulator appletvos macosx";
374374
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
375-
SWIFT_VERSION = 4.0;
375+
SWIFT_VERSION = 4.2;
376376
TARGETED_DEVICE_FAMILY = "1,2,3,4";
377377
TVOS_DEPLOYMENT_TARGET = 9.0;
378378
VALIDATE_PRODUCT = YES;
@@ -401,7 +401,7 @@
401401
PRODUCT_NAME = "$(TARGET_NAME)";
402402
PROVISIONING_PROFILE_SPECIFIER = "";
403403
SKIP_INSTALL = YES;
404-
SWIFT_VERSION = 4.0;
404+
SWIFT_VERSION = 4.2;
405405
};
406406
name = Debug;
407407
};
@@ -424,7 +424,7 @@
424424
PRODUCT_NAME = "$(TARGET_NAME)";
425425
PROVISIONING_PROFILE_SPECIFIER = "";
426426
SKIP_INSTALL = YES;
427-
SWIFT_VERSION = 4.0;
427+
SWIFT_VERSION = 4.2;
428428
};
429429
name = Release;
430430
};
@@ -444,7 +444,7 @@
444444
PRODUCT_NAME = "$(TARGET_NAME)";
445445
PROVISIONING_PROFILE_SPECIFIER = "";
446446
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
447-
SWIFT_VERSION = 4.0;
447+
SWIFT_VERSION = 4.2;
448448
};
449449
name = Debug;
450450
};
@@ -463,7 +463,7 @@
463463
PRODUCT_BUNDLE_IDENTIFIER = com.omaralbeik.UserDefaultsStoreTests;
464464
PRODUCT_NAME = "$(TARGET_NAME)";
465465
PROVISIONING_PROFILE_SPECIFIER = "";
466-
SWIFT_VERSION = 4.0;
466+
SWIFT_VERSION = 4.2;
467467
};
468468
name = Release;
469469
};

0 commit comments

Comments
 (0)