Skip to content

Commit f1822dd

Browse files
committed
Upgrade to Xcode 10 and support swift 4.2
1 parent 1e2c862 commit f1822dd

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- Alamofire (4.7.2)
2+
- Alamofire (4.7.3)
33

44
DEPENDENCIES:
55
- Alamofire
@@ -9,7 +9,7 @@ SPEC REPOS:
99
- Alamofire
1010

1111
SPEC CHECKSUMS:
12-
Alamofire: e4fa87002c137ba2d8d634d2c51fabcda0d5c223
12+
Alamofire: c7287b6e5d7da964a70935e5db17046b7fde6568
1313

1414
PODFILE CHECKSUM: 8c5d5d4f811ce36fa921b4d5cad56c9fda10835d
1515

WebServiceExample.xcodeproj/project.pbxproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,12 +334,12 @@
334334
TargetAttributes = {
335335
501D2ABC1F4E8DD0000E3FA3 = {
336336
CreatedOnToolsVersion = 8.3.3;
337-
LastSwiftMigration = 0920;
337+
LastSwiftMigration = 1000;
338338
ProvisioningStyle = Manual;
339339
};
340340
501D2AD61F4E8DF5000E3FA3 = {
341341
CreatedOnToolsVersion = 8.3.3;
342-
LastSwiftMigration = 0920;
342+
LastSwiftMigration = 1000;
343343
ProvisioningStyle = Manual;
344344
};
345345
};
@@ -638,6 +638,7 @@
638638
PRODUCT_BUNDLE_IDENTIFIER = ru.provir.WebServiceExample;
639639
PRODUCT_NAME = "$(TARGET_NAME)";
640640
PROVISIONING_PROFILE_SPECIFIER = "";
641+
SWIFT_VERSION = 4.2;
641642
};
642643
name = Debug;
643644
};
@@ -653,6 +654,7 @@
653654
PRODUCT_BUNDLE_IDENTIFIER = ru.provir.WebServiceExample;
654655
PRODUCT_NAME = "$(TARGET_NAME)";
655656
PROVISIONING_PROFILE_SPECIFIER = "";
657+
SWIFT_VERSION = 4.2;
656658
};
657659
name = Release;
658660
};
@@ -677,6 +679,7 @@
677679
PROVISIONING_PROFILE_SPECIFIER = "";
678680
SKIP_INSTALL = YES;
679681
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
682+
SWIFT_VERSION = 4.2;
680683
VERSIONING_SYSTEM = "apple-generic";
681684
VERSION_INFO_PREFIX = "";
682685
};
@@ -702,6 +705,7 @@
702705
PRODUCT_NAME = "$(TARGET_NAME)";
703706
PROVISIONING_PROFILE_SPECIFIER = "";
704707
SKIP_INSTALL = YES;
708+
SWIFT_VERSION = 4.2;
705709
VERSIONING_SYSTEM = "apple-generic";
706710
VERSION_INFO_PREFIX = "";
707711
};

WebServiceExample/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1414
var window: UIWindow?
1515

1616

17-
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
17+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
1818
// Override point for customization after application launch.
1919
return true
2020
}

WebServiceSwift.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 = "WebServiceSwift"
3-
s.version = "3.0.0"
3+
s.version = "3.0.1"
44
s.summary = "Network layer as Service."
55
s.description = <<-DESC
66
Written in Swift.
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
1414
s.author = { "ViR (Vitaliy Korotkiy)" => "[email protected]" }
1515
s.source = { :git => "https://github.com/ProVir/WebServiceSwift.git", :tag => "#{s.version}" }
1616

17-
s.swift_version = '4'
17+
s.swift_version = '4.2'
1818
s.ios.deployment_target = '8.0'
1919
s.osx.deployment_target = '10.10'
2020
s.tvos.deployment_target = '9.0'

0 commit comments

Comments
 (0)