Skip to content

Commit 2992453

Browse files
authored
Merge pull request #239 from layoutBox/update_xcode_13
Update project to iOS 15.2 and Xcode 13.2
2 parents b4c8f7c + a5996bc commit 2992453

File tree

10 files changed

+100
-80
lines changed

10 files changed

+100
-80
lines changed

.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: xcode12.5
2+
osx_image: xcode13.2
33

44
cache:
55
- bundler

Example/PinLayoutSample.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@
528528
isa = PBXProject;
529529
attributes = {
530530
LastSwiftUpdateCheck = 0900;
531-
LastUpgradeCheck = 1220;
531+
LastUpgradeCheck = 1300;
532532
ORGANIZATIONNAME = layoutbox;
533533
TargetAttributes = {
534534
249EFE3E1E64FAFE00165E39 = {

Example/PinLayoutSample.xcodeproj/xcshareddata/xcschemes/PinLayoutSample.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 = "1220"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Gemfile.lock

Lines changed: 62 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,69 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (3.0.1)
5-
activesupport (4.2.11.1)
6-
i18n (~> 0.7)
7-
minitest (~> 5.1)
8-
thread_safe (~> 0.3, >= 0.3.4)
9-
tzinfo (~> 1.1)
4+
CFPropertyList (3.0.5)
5+
rexml
6+
activesupport (6.1.4.4)
7+
concurrent-ruby (~> 1.0, >= 1.0.2)
8+
i18n (>= 1.6, < 2)
9+
minitest (>= 5.1)
10+
tzinfo (~> 2.0)
11+
zeitwerk (~> 2.3)
12+
addressable (2.8.0)
13+
public_suffix (>= 2.0.2, < 5.0)
14+
algoliasearch (1.27.5)
15+
httpclient (~> 2.8, >= 2.8.3)
16+
json (>= 1.5.1)
1017
atomos (0.1.3)
11-
claide (1.0.3)
12-
cocoapods (1.7.5)
13-
activesupport (>= 4.0.2, < 5)
18+
claide (1.1.0)
19+
cocoapods (1.11.2)
20+
addressable (~> 2.8)
1421
claide (>= 1.0.2, < 2.0)
15-
cocoapods-core (= 1.7.5)
22+
cocoapods-core (= 1.11.2)
1623
cocoapods-deintegrate (>= 1.0.3, < 2.0)
17-
cocoapods-downloader (>= 1.2.2, < 2.0)
24+
cocoapods-downloader (>= 1.4.0, < 2.0)
1825
cocoapods-plugins (>= 1.0.0, < 2.0)
1926
cocoapods-search (>= 1.0.0, < 2.0)
20-
cocoapods-stats (>= 1.0.0, < 2.0)
21-
cocoapods-trunk (>= 1.3.1, < 2.0)
27+
cocoapods-trunk (>= 1.4.0, < 2.0)
2228
cocoapods-try (>= 1.1.0, < 2.0)
2329
colored2 (~> 3.1)
2430
escape (~> 0.0.4)
2531
fourflusher (>= 2.3.0, < 3.0)
2632
gh_inspector (~> 1.0)
27-
molinillo (~> 0.6.6)
33+
molinillo (~> 0.8.0)
2834
nap (~> 1.0)
29-
ruby-macho (~> 1.4)
30-
xcodeproj (>= 1.10.0, < 2.0)
31-
cocoapods-core (1.7.5)
32-
activesupport (>= 4.0.2, < 6)
35+
ruby-macho (>= 1.0, < 3.0)
36+
xcodeproj (>= 1.21.0, < 2.0)
37+
cocoapods-core (1.11.2)
38+
activesupport (>= 5.0, < 7)
39+
addressable (~> 2.8)
40+
algoliasearch (~> 1.0)
41+
concurrent-ruby (~> 1.1)
3342
fuzzy_match (~> 2.0.4)
3443
nap (~> 1.0)
35-
cocoapods-deintegrate (1.0.4)
36-
cocoapods-downloader (1.2.2)
44+
netrc (~> 0.11)
45+
public_suffix (~> 4.0)
46+
typhoeus (~> 1.0)
47+
cocoapods-deintegrate (1.0.5)
48+
cocoapods-downloader (1.5.1)
3749
cocoapods-plugins (1.0.0)
3850
nap
39-
cocoapods-search (1.0.0)
40-
cocoapods-stats (1.1.0)
41-
cocoapods-trunk (1.4.0)
51+
cocoapods-search (1.0.1)
52+
cocoapods-trunk (1.6.0)
4253
nap (>= 0.8, < 2.0)
4354
netrc (~> 0.11)
44-
cocoapods-try (1.1.0)
55+
cocoapods-try (1.2.0)
4556
colored2 (3.1.2)
46-
concurrent-ruby (1.1.5)
57+
concurrent-ruby (1.1.9)
4758
escape (0.0.4)
48-
ffi (1.11.1)
59+
ethon (0.15.0)
60+
ffi (>= 1.15.0)
61+
ffi (1.15.5)
4962
fourflusher (2.3.1)
5063
fuzzy_match (2.0.4)
5164
gh_inspector (1.1.3)
52-
i18n (0.9.5)
65+
httpclient (2.8.3)
66+
i18n (1.9.1)
5367
concurrent-ruby (~> 1.0)
5468
jazzy (0.9.0)
5569
cocoapods (~> 1.0)
@@ -60,49 +74,55 @@ GEM
6074
sass (~> 3.4)
6175
sqlite3 (~> 1.3)
6276
xcinvoke (~> 0.3.0)
77+
json (2.6.1)
6378
liferaft (0.0.6)
64-
minitest (5.11.3)
65-
molinillo (0.6.6)
79+
minitest (5.15.0)
80+
molinillo (0.8.0)
6681
mustache (0.99.8)
67-
nanaimo (0.2.6)
82+
nanaimo (0.3.0)
6883
nap (1.1.0)
6984
netrc (0.11.0)
7085
open4 (1.3.4)
71-
rb-fsevent (0.10.3)
72-
rb-inotify (0.10.0)
86+
public_suffix (4.0.6)
87+
rb-fsevent (0.11.0)
88+
rb-inotify (0.10.1)
7389
ffi (~> 1.0)
7490
redcarpet (3.5.1)
91+
rexml (3.2.5)
7592
rouge (1.11.1)
76-
ruby-macho (1.4.0)
93+
ruby-macho (2.5.1)
7794
sass (3.7.4)
7895
sass-listen (~> 4.0.0)
7996
sass-listen (4.0.0)
8097
rb-fsevent (~> 0.9, >= 0.9.4)
8198
rb-inotify (~> 0.9, >= 0.9.7)
82-
sqlite3 (1.4.1)
83-
thread_safe (0.3.6)
84-
tzinfo (1.2.5)
85-
thread_safe (~> 0.1)
99+
sqlite3 (1.4.2)
100+
typhoeus (1.4.0)
101+
ethon (>= 0.9.0)
102+
tzinfo (2.0.4)
103+
concurrent-ruby (~> 1.0)
86104
xcinvoke (0.3.0)
87105
liferaft (~> 0.0.6)
88-
xcodeproj (1.12.0)
106+
xcodeproj (1.21.0)
89107
CFPropertyList (>= 2.3.3, < 4.0)
90108
atomos (~> 0.1.3)
91109
claide (>= 1.0.2, < 2.0)
92110
colored2 (~> 3.1)
93-
nanaimo (~> 0.2.6)
111+
nanaimo (~> 0.3.0)
112+
rexml (~> 3.2.4)
94113
xcpretty (0.2.6)
95114
rouge (~> 1.8)
96-
xcpretty-travis-formatter (1.0.0)
115+
xcpretty-travis-formatter (1.0.1)
97116
xcpretty (~> 0.2, >= 0.0.7)
117+
zeitwerk (2.5.4)
98118

99119
PLATFORMS
100-
ruby
120+
universal-darwin-21
101121

102122
DEPENDENCIES
103123
cocoapods (~> 1.7)
104124
jazzy (= 0.9)
105125
xcpretty-travis-formatter
106126

107127
BUNDLED WITH
108-
2.1.2
128+
2.2.33

PinLayout.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@
647647
isa = PBXProject;
648648
attributes = {
649649
LastSwiftUpdateCheck = 0930;
650-
LastUpgradeCheck = 1220;
650+
LastUpgradeCheck = 1300;
651651
ORGANIZATIONNAME = mcswiftlayyout.mirego.com;
652652
TargetAttributes = {
653653
244DF2F71EF46C500090508B = {
@@ -1174,7 +1174,7 @@
11741174
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
11751175
GCC_WARN_UNUSED_FUNCTION = YES;
11761176
GCC_WARN_UNUSED_VARIABLE = YES;
1177-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1177+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
11781178
MACOSX_DEPLOYMENT_TARGET = 10.9;
11791179
MTL_ENABLE_DEBUG_INFO = YES;
11801180
ONLY_ACTIVE_ARCH = YES;
@@ -1235,7 +1235,7 @@
12351235
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
12361236
GCC_WARN_UNUSED_FUNCTION = YES;
12371237
GCC_WARN_UNUSED_VARIABLE = YES;
1238-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1238+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
12391239
MACOSX_DEPLOYMENT_TARGET = 10.9;
12401240
MTL_ENABLE_DEBUG_INFO = NO;
12411241
SDKROOT = iphoneos;

PinLayout.xcodeproj/xcshareddata/xcschemes/PinLayout-iOS.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 = "1220"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

PinLayout.xcodeproj/xcshareddata/xcschemes/PinLayout-macOS.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 = "1220"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

PinLayout.xcodeproj/xcshareddata/xcschemes/PinLayout-tvOS.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 = "1220"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Podfile.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
PODS:
2-
- Nimble (9.2.0)
3-
- PinLayout (1.9.4)
2+
- Nimble (9.2.1)
3+
- PinLayout (1.10.0)
44
- Quick (4.0.0)
5-
- SwiftLint (0.43.1)
5+
- SwiftLint (0.46.2)
66

77
DEPENDENCIES:
88
- Nimble
@@ -11,7 +11,7 @@ DEPENDENCIES:
1111
- SwiftLint
1212

1313
SPEC REPOS:
14-
https://cdn.cocoapods.org/:
14+
trunk:
1515
- Nimble
1616
- Quick
1717
- SwiftLint
@@ -21,11 +21,11 @@ EXTERNAL SOURCES:
2121
:path: "./"
2222

2323
SPEC CHECKSUMS:
24-
Nimble: 4f4a345c80b503b3ea13606a4f98405974ee4d0b
25-
PinLayout: 0d73cf5bea456b8112429c984de377839b9ec34c
24+
Nimble: e7e615c0335ee4bf5b0d786685451e62746117d5
25+
PinLayout: e50e9a748b632905fca6e67043ea4b05d6c92186
2626
Quick: 6473349e43b9271a8d43839d9ba1c442ed1b7ac4
27-
SwiftLint: 99f82d07b837b942dd563c668de129a03fc3fb52
27+
SwiftLint: 6bc52a21f0fd44cab9aa2dc8e534fb9f5e3ec507
2828

2929
PODFILE CHECKSUM: 0e4023ca11a146f618714ee6235a6f3a757959e4
3030

31-
COCOAPODS: 1.7.5
31+
COCOAPODS: 1.11.2

build-ci.sh

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ echo "===============================" &&
99
echo "PinLayout-iOS" &&
1010
echo "===============================" &&
1111
time xcodebuild build -project PinLayout.xcodeproj -scheme PinLayout-iOS \
12-
-derivedDataPath $DERIVED_DATA -sdk iphonesimulator14.5 \
13-
-destination 'platform=iOS Simulator,name=iPhone 8,OS=14.5' \
12+
-derivedDataPath $DERIVED_DATA -sdk iphonesimulator15.2 \
13+
-destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' \
1414
| xcpretty &&
1515

1616
echo "===============================" &&
1717
echo "PinLayout-tvOS" &&
1818
echo "===============================" &&
1919
time xcodebuild build -project PinLayout.xcodeproj -scheme PinLayout-tvOS \
20-
-derivedDataPath $DERIVED_DATA -sdk appletvsimulator14.5 \
21-
-destination 'platform=tvOS Simulator,name=Apple TV 4K (2nd generation),OS=14.5' \
20+
-derivedDataPath $DERIVED_DATA -sdk appletvsimulator15.2 \
21+
-destination 'platform=tvOS Simulator,name=Apple TV 4K (2nd generation),OS=15.2' \
2222
| xcpretty &&
2323

2424
echo "===============================" &&
@@ -32,39 +32,39 @@ echo "===============================" &&
3232
echo "PinLayoutSample" &&
3333
echo "===============================" &&
3434
time xcodebuild build -workspace PinLayout.xcworkspace -scheme PinLayoutSample \
35-
-derivedDataPath $DERIVED_DATA -sdk iphonesimulator14.5 \
36-
-destination 'platform=iOS Simulator,name=iPhone 8,OS=14.5' \
35+
-derivedDataPath $DERIVED_DATA -sdk iphonesimulator15.2 \
36+
-destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' \
3737
| xcpretty &&
3838

3939
time xcodebuild build -workspace PinLayout.xcworkspace -scheme PinLayoutSample \
40-
-derivedDataPath $DERIVED_DATA -sdk iphonesimulator14.5 \
40+
-derivedDataPath $DERIVED_DATA -sdk iphonesimulator15.2 \
4141
-destination 'platform=iOS Simulator,name=iPhone 7,OS=11.4' \
4242
| xcpretty &&
4343

4444
echo "===============================" &&
4545
echo "iOS unit test" &&
4646
echo "===============================" &&
4747
time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-iOS \
48-
-derivedDataPath $DERIVED_DATA -sdk iphonesimulator14.5 \
48+
-derivedDataPath $DERIVED_DATA -sdk iphonesimulator15.2 \
4949
-destination 'platform=iOS Simulator,name=iPhone 7,OS=11.4' \
5050
| xcpretty &&
5151

5252
time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-iOS \
53-
-derivedDataPath $DERIVED_DATA -sdk iphonesimulator14.5 \
53+
-derivedDataPath $DERIVED_DATA -sdk iphonesimulator15.2 \
5454
-destination 'platform=iOS Simulator,name=iPhone 8,OS=13.5' \
5555
| xcpretty &&
5656

5757
time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-iOS \
58-
-derivedDataPath $DERIVED_DATA -sdk iphonesimulator14.5 \
59-
-destination 'platform=iOS Simulator,name=iPhone 8,OS=14.5' \
58+
-derivedDataPath $DERIVED_DATA -sdk iphonesimulator15.2 \
59+
-destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' \
6060
| xcpretty &&
6161

6262
# echo "==============================="
6363
# echo "tvOS unit test"
6464
# echo "==============================="
6565
# time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-tvOS \
66-
# -derivedDataPath $DERIVED_DATA -sdk appletvos14.5 \
67-
# -destination 'platform=tvOS Simulator,name=Apple TV 4K (2nd generation),OS=14.5' \
66+
# -derivedDataPath $DERIVED_DATA -sdk appletvos15.2 \
67+
# -destination 'platform=tvOS Simulator,name=Apple TV 4K (2nd generation),OS=15.2' \
6868
# | xcpretty
6969

7070

@@ -82,8 +82,8 @@ cd TestProjects/cocoapods/ios &&
8282
rm -rf $DERIVED_DATA &&
8383
pod install &&
8484
time xcodebuild clean build -workspace PinLayout-iOS.xcworkspace -scheme PinLayout-iOS \
85-
-sdk iphonesimulator14.5 -derivedDataPath $DERIVED_DATA \
86-
-destination 'platform=iOS Simulator,name=iPhone 8,OS=14.5' \
85+
-sdk iphonesimulator15.2 -derivedDataPath $DERIVED_DATA \
86+
-destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' \
8787
| xcpretty &&
8888
cd ../../.. &&
8989

@@ -108,8 +108,8 @@ cd TestProjects/cocoapods/tvos &&
108108
rm -rf $DERIVED_DATA &&
109109
pod install &&
110110
time xcodebuild clean build -workspace PinLayout-tvOS.xcworkspace -scheme PinLayout-tvOS \
111-
-sdk appletvsimulator14.5 -derivedDataPath $DERIVED_DATA \
112-
-destination 'platform=tvOS Simulator,name=Apple TV 4K (2nd generation),OS=14.5' \
111+
-sdk appletvsimulator15.2 -derivedDataPath $DERIVED_DATA \
112+
-destination 'platform=tvOS Simulator,name=Apple TV 4K (2nd generation),OS=15.2' \
113113
| xcpretty &&
114114
rm -rf $DERIVED_DATA &&
115115
cd ../../.. &&
@@ -124,9 +124,9 @@ rm Cartfile &&
124124
echo "git \"file:///$BASEDIR\"" > Cartfile &&
125125
carthage update --use-ssh --platform iOS --use-xcframeworks &&
126126
time xcodebuild clean build -project PinLayout-Carthage-iOS.xcodeproj \
127-
-scheme PinLayout-Carthage-iOS -sdk iphonesimulator14.5 \
127+
-scheme PinLayout-Carthage-iOS -sdk iphonesimulator15.2 \
128128
-derivedDataPath $DERIVED_DATA \
129-
-destination 'platform=iOS Simulator,name=iPhone 8,OS=14.5' \
129+
-destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' \
130130
| xcpretty &&
131131
rm -rf $DERIVED_DATA &&
132132
rm Cartfile.resolved &&
@@ -139,8 +139,8 @@ echo "=========================================="
139139
cd TestProjects/swift-package-manager/ios
140140
rm -rf $DERIVED_DATA
141141
rm -rf .build
142-
time xcodebuild clean build -project PinLayout-SPM-iOS.xcodeproj -scheme PinLayout-SPM-iOS -sdk iphonesimulator14.5 -derivedDataPath $DERIVED_DATA \
143-
-destination 'platform=iOS Simulator,name=iPhone 8,OS=14.5' \
142+
time xcodebuild clean build -project PinLayout-SPM-iOS.xcodeproj -scheme PinLayout-SPM-iOS -sdk iphonesimulator15.2 -derivedDataPath $DERIVED_DATA \
143+
-destination 'platform=iOS Simulator,name=iPhone 8,OS=15.2' \
144144
| xcpretty
145145
cd ../../..
146146

0 commit comments

Comments
 (0)