Skip to content

Commit 3c2aeed

Browse files
authored
Merge pull request #3 from messeb/feature/swift-4.2-support
Updates project to Swift 4.2
2 parents 7cfcfa1 + 957c317 commit 3c2aeed

File tree

7 files changed

+50
-49
lines changed

7 files changed

+50
-49
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ ruby "~> 2.5.1"
22

33
source 'https://rubygems.org'
44
gem 'cocoapods', '~> 1.5.3'
5-
gem 'fastlane', '~> 2.101.1'
5+
gem 'fastlane', '~> 2.107.0'

Gemfile.lock

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ GEM
3636
fuzzy_match (~> 2.0.4)
3737
nap (~> 1.0)
3838
cocoapods-deintegrate (1.0.2)
39-
cocoapods-downloader (1.2.1)
39+
cocoapods-downloader (1.2.2)
4040
cocoapods-plugins (1.0.0)
4141
nap
4242
cocoapods-search (1.0.0)
4343
cocoapods-stats (1.0.0)
44-
cocoapods-trunk (1.3.0)
44+
cocoapods-trunk (1.3.1)
4545
nap (>= 0.8, < 2.0)
4646
netrc (~> 0.11)
4747
cocoapods-try (1.1.0)
@@ -58,15 +58,15 @@ GEM
5858
emoji_regex (0.1.1)
5959
escape (0.0.4)
6060
excon (0.62.0)
61-
faraday (0.15.2)
61+
faraday (0.15.3)
6262
multipart-post (>= 1.2, < 3)
6363
faraday-cookie_jar (0.0.6)
6464
faraday (>= 0.7.4)
6565
http-cookie (~> 1.0.0)
6666
faraday_middleware (0.12.2)
6767
faraday (>= 0.7.4, < 1.0)
68-
fastimage (2.1.3)
69-
fastlane (2.101.1)
68+
fastimage (2.1.4)
69+
fastlane (2.107.0)
7070
CFPropertyList (>= 2.3, < 4.0.0)
7171
addressable (>= 2.3, < 3.0.0)
7272
babosa (>= 1.0.2, < 2.0.0)
@@ -90,7 +90,7 @@ GEM
9090
multipart-post (~> 2.0.0)
9191
plist (>= 3.1.0, < 4.0.0)
9292
public_suffix (~> 2.0.0)
93-
rubyzip (>= 1.2.1, < 2.0.0)
93+
rubyzip (>= 1.2.2, < 2.0.0)
9494
security (= 0.1.3)
9595
simctl (~> 1.6.3)
9696
slack-notifier (>= 2.0.0, < 3.0.0)
@@ -99,23 +99,24 @@ GEM
9999
tty-screen (>= 0.6.3, < 1.0.0)
100100
tty-spinner (>= 0.8.0, < 1.0.0)
101101
word_wrap (~> 1.0.0)
102-
xcodeproj (>= 1.5.7, < 2.0.0)
103-
xcpretty (~> 0.2.8)
102+
xcodeproj (>= 1.6.0, < 2.0.0)
103+
xcpretty (~> 0.3.0)
104104
xcpretty-travis-formatter (>= 0.0.3)
105105
fourflusher (2.0.1)
106106
fuzzy_match (2.0.4)
107107
gh_inspector (1.1.3)
108-
google-api-client (0.23.4)
108+
google-api-client (0.23.9)
109109
addressable (~> 2.5, >= 2.5.1)
110110
googleauth (>= 0.5, < 0.7.0)
111111
httpclient (>= 2.8.1, < 3.0)
112112
mime-types (~> 3.0)
113113
representable (~> 3.0)
114114
retriable (>= 2.0, < 4.0)
115-
googleauth (0.6.4)
115+
signet (~> 0.9)
116+
googleauth (0.6.7)
116117
faraday (~> 0.12)
117118
jwt (>= 1.4, < 3.0)
118-
memoist (~> 0.12)
119+
memoist (~> 0.16)
119120
multi_json (~> 1.11)
120121
os (>= 0.9, < 2.0)
121122
signet (~> 0.7)
@@ -150,10 +151,10 @@ GEM
150151
uber (< 0.2.0)
151152
retriable (3.1.2)
152153
rouge (2.0.7)
153-
ruby-macho (1.2.0)
154-
rubyzip (1.2.1)
154+
ruby-macho (1.3.1)
155+
rubyzip (1.2.2)
155156
security (0.1.3)
156-
signet (0.8.1)
157+
signet (0.11.0)
157158
addressable (~> 2.3)
158159
faraday (~> 0.9)
159160
jwt (>= 1.5, < 3.0)
@@ -178,13 +179,13 @@ GEM
178179
unf_ext (0.0.7.5)
179180
unicode-display_width (1.4.0)
180181
word_wrap (1.0.0)
181-
xcodeproj (1.5.9)
182+
xcodeproj (1.7.0)
182183
CFPropertyList (>= 2.3.3, < 4.0)
183-
atomos (~> 0.1.2)
184+
atomos (~> 0.1.3)
184185
claide (>= 1.0.2, < 2.0)
185186
colored2 (~> 3.1)
186-
nanaimo (~> 0.2.5)
187-
xcpretty (0.2.8)
187+
nanaimo (~> 0.2.6)
188+
xcpretty (0.3.0)
188189
rouge (~> 2.0.7)
189190
xcpretty-travis-formatter (1.0.0)
190191
xcpretty (~> 0.2, >= 0.0.7)
@@ -194,10 +195,10 @@ PLATFORMS
194195

195196
DEPENDENCIES
196197
cocoapods (~> 1.5.3)
197-
fastlane (~> 2.101.1)
198+
fastlane (~> 2.107.0)
198199

199200
RUBY VERSION
200201
ruby 2.5.1p57
201202

202203
BUNDLED WITH
203-
1.16.3
204+
1.16.6

Podfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ platform :ios, '11.0'
33
use_frameworks!
44

55
target 'iOSProjectSetup' do
6-
pod 'Alamofire', '~> 4.7'
7-
pod 'RxSwift', '~> 4.0'
8-
pod 'RxCocoa', '~> 4.0'
6+
pod 'Alamofire', '4.7.3'
7+
pod 'RxSwift', '4.3.1'
8+
pod 'RxCocoa', '4.3.1'
99
end
1010

1111
target 'iOSProjectSetupTests' do
12-
pod 'RxSwift', '~> 4.0'
13-
pod 'RxCocoa', '~> 4.0'
14-
pod 'RxBlocking', '~> 4.0'
15-
pod 'RxTest', '~> 4.0'
12+
pod 'RxSwift', '4.3.1'
13+
pod 'RxCocoa', '4.3.1'
14+
pod 'RxBlocking', '4.3.1'
15+
pod 'RxTest', '4.3.1'
1616
end
1717

1818
post_install do |installer|
1919
installer.pods_project.targets.each do |target|
2020
target.build_configurations.each do |config|
2121

22-
config.build_settings['SWIFT_VERSION'] = '4.1.2'
22+
config.build_settings['SWIFT_VERSION'] = '4.2'
2323
config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = '$(inherited)'
2424

2525
config.build_settings['PROVISIONING_PROFILE_SPECIFIER'] = ''

Podfile.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
PODS:
22
- Alamofire (4.7.3)
3-
- RxBlocking (4.2.0):
3+
- RxBlocking (4.3.1):
44
- RxSwift (~> 4.0)
5-
- RxCocoa (4.2.0):
5+
- RxCocoa (4.3.1):
66
- RxSwift (~> 4.0)
7-
- RxSwift (4.2.0)
8-
- RxTest (4.2.0):
7+
- RxSwift (4.3.1)
8+
- RxTest (4.3.1):
99
- RxSwift (~> 4.0)
1010

1111
DEPENDENCIES:
12-
- Alamofire (~> 4.7)
13-
- RxBlocking (~> 4.0)
14-
- RxCocoa (~> 4.0)
15-
- RxSwift (~> 4.0)
16-
- RxTest (~> 4.0)
12+
- Alamofire (= 4.7.3)
13+
- RxBlocking (= 4.3.1)
14+
- RxCocoa (= 4.3.1)
15+
- RxSwift (= 4.3.1)
16+
- RxTest (= 4.3.1)
1717

1818
SPEC REPOS:
1919
https://github.com/cocoapods/specs.git:
@@ -25,11 +25,11 @@ SPEC REPOS:
2525

2626
SPEC CHECKSUMS:
2727
Alamofire: c7287b6e5d7da964a70935e5db17046b7fde6568
28-
RxBlocking: e339d8a6e752e25ade95ff858466c55436668f59
29-
RxCocoa: 0b54909c902e1e581212a03e690bbd94032d8baa
30-
RxSwift: 99e10317ddfcc7fbe01356aafd118fde4a0be104
31-
RxTest: 8da864c0ee47534f586ff18fb0c7e5b2f1fe5023
28+
RxBlocking: 64c051285261ca2339481e91b5f70eb06b03660a
29+
RxCocoa: 78763c7b07d02455598d9fc3c1ad091a28b73635
30+
RxSwift: fe0fd770a43acdb7d0a53da411c9b892e69bb6e4
31+
RxTest: ea97a208826906f3904c0debdd09575ebcbfe216
3232

33-
PODFILE CHECKSUM: 8cf7999a2a6d268a427e62f68a46dd671863948a
33+
PODFILE CHECKSUM: 634bc9d5f8be7415a77d19fe007af7ab1708d87a
3434

3535
COCOAPODS: 1.5.3

iOSProjectSetup.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@
665665
);
666666
PRODUCT_BUNDLE_IDENTIFIER = com.example.iOSProjectSetup;
667667
PRODUCT_NAME = "$(TARGET_NAME)";
668-
SWIFT_VERSION = 4.0;
668+
SWIFT_VERSION = 4.2;
669669
TARGETED_DEVICE_FAMILY = "1,2";
670670
};
671671
name = Debug;
@@ -687,7 +687,7 @@
687687
);
688688
PRODUCT_BUNDLE_IDENTIFIER = com.example.iOSProjectSetup;
689689
PRODUCT_NAME = "$(TARGET_NAME)";
690-
SWIFT_VERSION = 4.0;
690+
SWIFT_VERSION = 4.2;
691691
TARGETED_DEVICE_FAMILY = "1,2";
692692
};
693693
name = Release;
@@ -710,7 +710,7 @@
710710
);
711711
PRODUCT_BUNDLE_IDENTIFIER = com.example.iOSProjectSetupTests;
712712
PRODUCT_NAME = "$(TARGET_NAME)";
713-
SWIFT_VERSION = 4.0;
713+
SWIFT_VERSION = 4.2;
714714
TARGETED_DEVICE_FAMILY = "1,2";
715715
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/iOSProjectSetup.app/iOSProjectSetup";
716716
};
@@ -734,7 +734,7 @@
734734
);
735735
PRODUCT_BUNDLE_IDENTIFIER = com.example.iOSProjectSetupTests;
736736
PRODUCT_NAME = "$(TARGET_NAME)";
737-
SWIFT_VERSION = 4.0;
737+
SWIFT_VERSION = 4.2;
738738
TARGETED_DEVICE_FAMILY = "1,2";
739739
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/iOSProjectSetup.app/iOSProjectSetup";
740740
};

iOSProjectSetup/AppDelegate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
66
var window: UIWindow? = UIWindow(frame: UIScreen.main.bounds)
77
var project = IOSProjectSetup()
88

9-
func application(_ application: UIApplication,
10-
didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
9+
private func application(_ application: UIApplication,
10+
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
1111
guard let window = window else {
1212
fatalError("Window is nil");
1313
}

0 commit comments

Comments
 (0)