Skip to content

Commit c7747b7

Browse files
authored
Merge pull request #17 from bcylin/feature/xcode-8.3
Xcode 8.3 with Swift 3.1
2 parents 3cbb08c + 75ee37e commit c7747b7

File tree

16 files changed

+126
-145
lines changed

16 files changed

+126
-145
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.1
1+
2.4.1

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.0
1+
3.1

.swiftlint-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: objective-c
2-
osx_image: xcode8.2
2+
osx_image: xcode8.3
33
cache:
44
bundler: true
55
directories:

Example.xcodeproj/project.pbxproj

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,12 @@
192192
TargetAttributes = {
193193
B548C5C11C8E91B0009D5AEE = {
194194
CreatedOnToolsVersion = 7.2.1;
195-
LastSwiftMigration = 0820;
195+
LastSwiftMigration = 0830;
196196
TestTargetID = B5E9F8FA1C8D3B6E00443DC7;
197197
};
198198
B5E9F8FA1C8D3B6E00443DC7 = {
199199
CreatedOnToolsVersion = 7.2.1;
200-
LastSwiftMigration = 0820;
200+
LastSwiftMigration = 0830;
201201
};
202202
};
203203
};
@@ -263,13 +263,16 @@
263263
files = (
264264
);
265265
inputPaths = (
266+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
267+
"${PODS_ROOT}/Manifest.lock",
266268
);
267269
name = "[CP] Check Pods Manifest.lock";
268270
outputPaths = (
271+
"$(DERIVED_FILE_DIR)/Pods-Example-checkManifestLockResult.txt",
269272
);
270273
runOnlyForDeploymentPostprocessing = 0;
271274
shellPath = /bin/sh;
272-
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
275+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
273276
showEnvVarsInLog = 0;
274277
};
275278
B5C50ADD1C917F4A0059032B /* Swift Lint */ = {
@@ -284,17 +287,20 @@
284287
);
285288
runOnlyForDeploymentPostprocessing = 0;
286289
shellPath = /bin/sh;
287-
shellScript = "sh ${SRCROOT}/scripts/swiftlint.sh";
290+
shellScript = "${PODS_ROOT}/SwiftLint/swiftlint";
288291
};
289292
CAB3B20531AAE2438C48D751 /* [CP] Embed Pods Frameworks */ = {
290293
isa = PBXShellScriptBuildPhase;
291294
buildActionMask = 2147483647;
292295
files = (
293296
);
294297
inputPaths = (
298+
"${SRCROOT}/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh",
299+
"${BUILT_PRODUCTS_DIR}/ICInputAccessory/ICInputAccessory.framework",
295300
);
296301
name = "[CP] Embed Pods Frameworks";
297302
outputPaths = (
303+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ICInputAccessory.framework",
298304
);
299305
runOnlyForDeploymentPostprocessing = 0;
300306
shellPath = /bin/sh;

Gemfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
source "http://rubygems.org"
2-
ruby "2.3.1"
32

4-
gem "cocoapods", "~> 1.1.0"
5-
gem "danger", "~> 4.0.0"
6-
gem "jazzy", "~> 0.7.0"
3+
gem "cocoapods"
4+
gem "danger"
5+
gem "jazzy", "~> 0.8.0"
76
gem "pry"
87
gem "rake"
98
gem "xcpretty"

Gemfile.lock

Lines changed: 51 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,39 @@ GEM
22
remote: http://rubygems.org/
33
specs:
44
CFPropertyList (2.3.5)
5-
activesupport (4.2.7.1)
5+
activesupport (4.2.9)
66
i18n (~> 0.7)
7-
json (~> 1.7, >= 1.7.7)
87
minitest (~> 5.1)
98
thread_safe (~> 0.3, >= 0.3.4)
109
tzinfo (~> 1.1)
11-
addressable (2.5.0)
10+
addressable (2.5.1)
1211
public_suffix (~> 2.0, >= 2.0.2)
13-
claide (1.0.1)
12+
claide (1.0.2)
1413
claide-plugins (0.9.2)
1514
cork
1615
nap
1716
open4 (~> 1.3)
18-
cocoapods (1.1.1)
17+
cocoapods (1.3.1)
1918
activesupport (>= 4.0.2, < 5)
20-
claide (>= 1.0.1, < 2.0)
21-
cocoapods-core (= 1.1.1)
19+
claide (>= 1.0.2, < 2.0)
20+
cocoapods-core (= 1.3.1)
2221
cocoapods-deintegrate (>= 1.0.1, < 2.0)
23-
cocoapods-downloader (>= 1.1.2, < 2.0)
22+
cocoapods-downloader (>= 1.1.3, < 2.0)
2423
cocoapods-plugins (>= 1.0.0, < 2.0)
2524
cocoapods-search (>= 1.0.0, < 2.0)
2625
cocoapods-stats (>= 1.0.0, < 2.0)
27-
cocoapods-trunk (>= 1.1.1, < 2.0)
26+
cocoapods-trunk (>= 1.2.0, < 2.0)
2827
cocoapods-try (>= 1.1.0, < 2.0)
29-
colored (~> 1.2)
28+
colored2 (~> 3.1)
3029
escape (~> 0.0.4)
3130
fourflusher (~> 2.0.1)
3231
gh_inspector (~> 1.0)
33-
molinillo (~> 0.5.1)
32+
molinillo (~> 0.5.7)
3433
nap (~> 1.0)
35-
xcodeproj (>= 1.3.3, < 2.0)
36-
cocoapods-core (1.1.1)
37-
activesupport (>= 4.0.2, < 5)
34+
ruby-macho (~> 1.1)
35+
xcodeproj (>= 1.5.1, < 2.0)
36+
cocoapods-core (1.3.1)
37+
activesupport (>= 4.0.2, < 6)
3838
fuzzy_match (~> 2.0.4)
3939
nap (~> 1.0)
4040
cocoapods-deintegrate (1.0.1)
@@ -43,36 +43,37 @@ GEM
4343
nap
4444
cocoapods-search (1.0.0)
4545
cocoapods-stats (1.0.0)
46-
cocoapods-trunk (1.1.2)
46+
cocoapods-trunk (1.2.0)
4747
nap (>= 0.8, < 2.0)
4848
netrc (= 0.7.8)
4949
cocoapods-try (1.1.0)
5050
coderay (1.1.1)
51-
colored (1.2)
52-
cork (0.2.0)
53-
colored (~> 1.2)
54-
danger (4.0.5)
51+
colored2 (3.1.2)
52+
cork (0.3.0)
53+
colored2 (~> 3.1)
54+
danger (5.3.4)
5555
claide (~> 1.0)
5656
claide-plugins (>= 0.9.2)
57-
colored (~> 1.2)
57+
colored2 (~> 3.1)
5858
cork (~> 0.1)
5959
faraday (~> 0.9)
6060
faraday-http-cache (~> 1.0)
6161
git (~> 1)
6262
kramdown (~> 1.5)
63-
octokit (~> 4.2)
63+
octokit (~> 4.7)
6464
terminal-table (~> 1)
6565
escape (0.0.4)
66-
faraday (0.11.0)
66+
faraday (0.13.0)
6767
multipart-post (>= 1.2, < 3)
6868
faraday-http-cache (1.3.1)
6969
faraday (~> 0.8)
70+
ffi (1.9.18)
7071
fourflusher (2.0.1)
7172
fuzzy_match (2.0.4)
7273
gh_inspector (1.0.3)
7374
git (1.3.0)
74-
i18n (0.7.0)
75-
jazzy (0.7.3)
75+
i18n (0.8.6)
76+
jazzy (0.8.3)
7677
cocoapods (~> 1.0)
7778
mustache (~> 0.99)
7879
open4
@@ -81,18 +82,17 @@ GEM
8182
sass (~> 3.4)
8283
sqlite3 (~> 1.3)
8384
xcinvoke (~> 0.3.0)
84-
json (1.8.6)
85-
kramdown (1.13.2)
85+
kramdown (1.14.0)
8686
liferaft (0.0.6)
8787
method_source (0.8.2)
88-
minitest (5.10.1)
89-
molinillo (0.5.5)
88+
minitest (5.10.3)
89+
molinillo (0.5.7)
9090
multipart-post (2.0.0)
9191
mustache (0.99.8)
9292
nanaimo (0.2.3)
9393
nap (1.1.0)
9494
netrc (0.7.8)
95-
octokit (4.6.2)
95+
octokit (4.7.0)
9696
sawyer (~> 0.8.0, >= 0.5.3)
9797
open4 (1.3.4)
9898
pry (0.10.4)
@@ -101,44 +101,48 @@ GEM
101101
slop (~> 3.4)
102102
public_suffix (2.0.5)
103103
rake (12.0.0)
104+
rb-fsevent (0.10.2)
105+
rb-inotify (0.9.10)
106+
ffi (>= 0.5.0, < 2)
104107
redcarpet (3.4.0)
105108
rouge (1.11.1)
106-
sass (3.4.23)
109+
ruby-macho (1.1.0)
110+
sass (3.5.1)
111+
sass-listen (~> 4.0.0)
112+
sass-listen (4.0.0)
113+
rb-fsevent (~> 0.9, >= 0.9.4)
114+
rb-inotify (~> 0.9, >= 0.9.7)
107115
sawyer (0.8.1)
108116
addressable (>= 2.3.5, < 2.6)
109117
faraday (~> 0.8, < 1.0)
110118
slop (3.6.0)
111119
sqlite3 (1.3.13)
112-
terminal-table (1.7.3)
113-
unicode-display_width (~> 1.1.1)
114-
thread_safe (0.3.5)
115-
tzinfo (1.2.2)
120+
terminal-table (1.8.0)
121+
unicode-display_width (~> 1.1, >= 1.1.1)
122+
thread_safe (0.3.6)
123+
tzinfo (1.2.3)
116124
thread_safe (~> 0.1)
117-
unicode-display_width (1.1.3)
125+
unicode-display_width (1.3.0)
118126
xcinvoke (0.3.0)
119127
liferaft (~> 0.0.6)
120-
xcodeproj (1.4.2)
128+
xcodeproj (1.5.1)
121129
CFPropertyList (~> 2.3.3)
122-
activesupport (>= 3)
123-
claide (>= 1.0.1, < 2.0)
124-
colored (~> 1.2)
130+
claide (>= 1.0.2, < 2.0)
131+
colored2 (~> 3.1)
125132
nanaimo (~> 0.2.3)
126-
xcpretty (0.2.4)
133+
xcpretty (0.2.6)
127134
rouge (~> 1.8)
128135

129136
PLATFORMS
130137
ruby
131138

132139
DEPENDENCIES
133-
cocoapods (~> 1.1.0)
134-
danger (~> 4.0.0)
135-
jazzy (~> 0.7.0)
140+
cocoapods
141+
danger
142+
jazzy (~> 0.8.0)
136143
pry
137144
rake
138145
xcpretty
139146

140-
RUBY VERSION
141-
ruby 2.3.1p112
142-
143147
BUNDLED WITH
144-
1.13.6
148+
1.15.3

ICInputAccessory.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
TargetAttributes = {
133133
B56BC4291C89A7EA00C20AD6 = {
134134
CreatedOnToolsVersion = 7.2.1;
135-
LastSwiftMigration = 0820;
135+
LastSwiftMigration = 0830;
136136
};
137137
};
138138
};

Makefile

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
install: brew-install bundle-install pod-install
1+
bootstrap:
2+
gem install bundler
3+
bundle install
4+
bundle exec pod install
5+
6+
install: bundle-install pod-install
27

38
brew-install:
49
brew tap homebrew/bundle
@@ -8,14 +13,7 @@ bundle-install:
813
bundle install --without development --deployment --jobs=3 --retry=3
914

1015
pod-install:
11-
bundle exec pod install --no-repo-update
12-
13-
bootstrap:
14-
brew tap homebrew/bundle
15-
brew bundle
16-
gem install bundler
17-
bundle install
18-
bundle exec pod install --no-repo-update
16+
bundle exec pod install
1917

2018
carthage:
2119
set -o pipefail && carthage build --no-skip-current --verbose | bundle exec xcpretty

Podfile

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,10 @@ platform :ios, "8.0"
22
use_frameworks!
33

44
workspace "ICInputAccessory"
5-
project "ICInputAccessory"
65
project "Example"
76

87
target "Example" do
98
pod "ICInputAccessory/KeyboardDismissTextField", path: "./"
109
pod "ICInputAccessory/TokenField", path: "./"
11-
end
12-
13-
post_install do |installer|
14-
installer.pods_project.targets.each do |target|
15-
target.build_configurations.each do |config|
16-
config.build_settings["SWIFT_VERSION"] = "3.0"
17-
config.build_settings['CONFIGURATION_BUILD_DIR'] = '$PODS_CONFIGURATION_BUILD_DIR'
18-
end
19-
end
10+
pod "SwiftLint", "0.19.0"
2011
end

0 commit comments

Comments
 (0)