Skip to content

Commit c497055

Browse files
Merge pull request #194 from iZettle/Bump-xcode-version
Bump xcode versions for circle ci
2 parents 6eee6b0 + 8fa16ad commit c497055

17 files changed

+98
-49
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ anchors:
99
- &test_output_folder test_output
1010
- &default_executor
1111
macos:
12-
xcode: "13.2.1"
12+
xcode: "14.0.0"
1313

1414
env:
1515
global:
@@ -124,13 +124,13 @@ jobs:
124124
- store_test_results:
125125
path: swiftlint.html
126126

127-
test-xcode12-ios14:
127+
test-xcode13-ios15:
128128
macos:
129-
xcode: "12.5.0"
129+
xcode: "13.0.0"
130130
steps:
131131
- test_main_project
132132

133-
test-xcode13-ios15:
133+
test-xcode14-ios16:
134134
<<: *default_executor
135135
steps:
136136
- test_main_project
@@ -152,9 +152,9 @@ workflows:
152152
build-and-test:
153153
jobs:
154154
- swiftlint:
155-
version: 0.39.2
156-
- test-xcode12-ios14
155+
version: 0.49.1
157156
- test-xcode13-ios15
157+
- test-xcode14-ios16
158158
- test-example-messages
159159
- test-example-demo
160160

.swiftlint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ disabled_rules:
1818
- shorthand_operator
1919
- unused_closure_parameter
2020

21+
- inclusive_language
22+
2123
opt_in_rules:
2224
- first_where
2325
- last_where

Examples/Messages/Example.xcodeproj/project.pbxproj

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
/* Begin PBXBuildFile section */
1010
2A8568E12344F73200B9D157 /* ExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2A8568E02344F73200B9D157 /* ExampleTests.swift */; };
1111
75593950283BA41200EA10E9 /* Presentation in Frameworks */ = {isa = PBXBuildFile; productRef = 7559394F283BA41200EA10E9 /* Presentation */; };
12+
C8D31DC528E5B8AD00CB59C2 /* Flow in Frameworks */ = {isa = PBXBuildFile; productRef = C8D31DC428E5B8AD00CB59C2 /* Flow */; };
13+
C8D31DC828E5B91A00CB59C2 /* Form in Frameworks */ = {isa = PBXBuildFile; productRef = C8D31DC728E5B91A00CB59C2 /* Form */; };
1214
F61928ED2088DE200008F713 /* Messages.swift in Sources */ = {isa = PBXBuildFile; fileRef = F61928EC2088DE200008F713 /* Messages.swift */; };
1315
F61928EF2088DE7E0008F713 /* ComposeMessage.swift in Sources */ = {isa = PBXBuildFile; fileRef = F61928EE2088DE7E0008F713 /* ComposeMessage.swift */; };
1416
F61928F12088DEBD0008F713 /* MessageDetails.swift in Sources */ = {isa = PBXBuildFile; fileRef = F61928F02088DEBD0008F713 /* MessageDetails.swift */; };
@@ -64,6 +66,8 @@
6466
isa = PBXFrameworksBuildPhase;
6567
buildActionMask = 2147483647;
6668
files = (
69+
C8D31DC828E5B91A00CB59C2 /* Form in Frameworks */,
70+
C8D31DC528E5B8AD00CB59C2 /* Flow in Frameworks */,
6771
75593950283BA41200EA10E9 /* Presentation in Frameworks */,
6872
);
6973
runOnlyForDeploymentPostprocessing = 0;
@@ -148,6 +152,8 @@
148152
name = Example;
149153
packageProductDependencies = (
150154
7559394F283BA41200EA10E9 /* Presentation */,
155+
C8D31DC428E5B8AD00CB59C2 /* Flow */,
156+
C8D31DC728E5B91A00CB59C2 /* Form */,
151157
);
152158
productName = Messages;
153159
productReference = F6B3E0552086210E00F55C53 /* Example.app */;
@@ -183,6 +189,8 @@
183189
mainGroup = F6B3E04C2086210E00F55C53;
184190
packageReferences = (
185191
7559394E283BA41200EA10E9 /* XCRemoteSwiftPackageReference "Presentation" */,
192+
C8D31DC328E5B8AD00CB59C2 /* XCRemoteSwiftPackageReference "Flow" */,
193+
C8D31DC628E5B91A00CB59C2 /* XCRemoteSwiftPackageReference "Form" */,
186194
);
187195
productRefGroup = F6B3E0562086210E00F55C53 /* Products */;
188196
projectDirPath = "";
@@ -348,7 +356,7 @@
348356
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
349357
GCC_WARN_UNUSED_FUNCTION = YES;
350358
GCC_WARN_UNUSED_VARIABLE = YES;
351-
IPHONEOS_DEPLOYMENT_TARGET = 11.3;
359+
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
352360
MTL_ENABLE_DEBUG_INFO = YES;
353361
ONLY_ACTIVE_ARCH = YES;
354362
SDKROOT = iphoneos;
@@ -402,7 +410,7 @@
402410
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
403411
GCC_WARN_UNUSED_FUNCTION = YES;
404412
GCC_WARN_UNUSED_VARIABLE = YES;
405-
IPHONEOS_DEPLOYMENT_TARGET = 11.3;
413+
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
406414
MTL_ENABLE_DEBUG_INFO = NO;
407415
SDKROOT = iphoneos;
408416
SWIFT_COMPILATION_MODE = wholemodule;
@@ -417,6 +425,7 @@
417425
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
418426
CODE_SIGN_STYLE = Automatic;
419427
INFOPLIST_FILE = Example/Info.plist;
428+
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
420429
LD_RUNPATH_SEARCH_PATHS = (
421430
"$(inherited)",
422431
"@executable_path/Frameworks",
@@ -434,6 +443,7 @@
434443
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
435444
CODE_SIGN_STYLE = Automatic;
436445
INFOPLIST_FILE = Example/Info.plist;
446+
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
437447
LD_RUNPATH_SEARCH_PATHS = (
438448
"$(inherited)",
439449
"@executable_path/Frameworks",
@@ -486,6 +496,22 @@
486496
minimumVersion = 1.15.2;
487497
};
488498
};
499+
C8D31DC328E5B8AD00CB59C2 /* XCRemoteSwiftPackageReference "Flow" */ = {
500+
isa = XCRemoteSwiftPackageReference;
501+
repositoryURL = "https://github.com/iZettle/Flow.git";
502+
requirement = {
503+
kind = upToNextMajorVersion;
504+
minimumVersion = 1.0.0;
505+
};
506+
};
507+
C8D31DC628E5B91A00CB59C2 /* XCRemoteSwiftPackageReference "Form" */ = {
508+
isa = XCRemoteSwiftPackageReference;
509+
repositoryURL = "https://github.com/iZettle/Form.git";
510+
requirement = {
511+
kind = upToNextMajorVersion;
512+
minimumVersion = 4.0.0;
513+
};
514+
};
489515
/* End XCRemoteSwiftPackageReference section */
490516

491517
/* Begin XCSwiftPackageProductDependency section */
@@ -494,6 +520,16 @@
494520
package = 7559394E283BA41200EA10E9 /* XCRemoteSwiftPackageReference "Presentation" */;
495521
productName = Presentation;
496522
};
523+
C8D31DC428E5B8AD00CB59C2 /* Flow */ = {
524+
isa = XCSwiftPackageProductDependency;
525+
package = C8D31DC328E5B8AD00CB59C2 /* XCRemoteSwiftPackageReference "Flow" */;
526+
productName = Flow;
527+
};
528+
C8D31DC728E5B91A00CB59C2 /* Form */ = {
529+
isa = XCSwiftPackageProductDependency;
530+
package = C8D31DC628E5B91A00CB59C2 /* XCRemoteSwiftPackageReference "Form" */;
531+
productName = Form;
532+
};
497533
/* End XCSwiftPackageProductDependency section */
498534
};
499535
rootObject = F6B3E04D2086210E00F55C53 /* Project object */;

Examples/Messages/Example.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 29 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Form.xcodeproj/project.pbxproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,7 @@
710710
CLANG_ANALYZER_NONNULL = YES;
711711
FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/Carthage/Build/iOS";
712712
INFOPLIST_FILE = FormTests/Info.plist;
713+
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
713714
LD_RUNPATH_SEARCH_PATHS = (
714715
"$(inherited)",
715716
"@executable_path/Frameworks",
@@ -727,6 +728,7 @@
727728
CLANG_ANALYZER_NONNULL = YES;
728729
FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/Carthage/Build/iOS";
729730
INFOPLIST_FILE = FormTests/Info.plist;
731+
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
730732
LD_RUNPATH_SEARCH_PATHS = (
731733
"$(inherited)",
732734
"@executable_path/Frameworks",
@@ -780,7 +782,7 @@
780782
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
781783
GCC_WARN_UNUSED_FUNCTION = YES;
782784
GCC_WARN_UNUSED_VARIABLE = YES;
783-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
785+
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
784786
MTL_ENABLE_DEBUG_INFO = YES;
785787
ONLY_ACTIVE_ARCH = YES;
786788
SDKROOT = iphoneos;
@@ -833,7 +835,7 @@
833835
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
834836
GCC_WARN_UNUSED_FUNCTION = YES;
835837
GCC_WARN_UNUSED_VARIABLE = YES;
836-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
838+
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
837839
MTL_ENABLE_DEBUG_INFO = NO;
838840
SDKROOT = iphoneos;
839841
SWIFT_COMPILATION_MODE = wholemodule;
@@ -858,6 +860,7 @@
858860
HEADER_SEARCH_PATHS = "$(SRCROOT)/**";
859861
INFOPLIST_FILE = Form/Info.plist;
860862
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
863+
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
861864
LD_RUNPATH_SEARCH_PATHS = (
862865
"$(inherited)",
863866
"@executable_path/Frameworks",
@@ -883,6 +886,7 @@
883886
HEADER_SEARCH_PATHS = "$(SRCROOT)/**";
884887
INFOPLIST_FILE = Form/Info.plist;
885888
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
889+
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
886890
LD_RUNPATH_SEARCH_PATHS = (
887891
"$(inherited)",
888892
"@executable_path/Frameworks",

Form/FormStyle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public struct FormStyle: Style {
1818

1919
public struct DynamicFormStyle: DynamicStyle {
2020
public var styleGenerator: (UITraitCollection) -> FormStyle
21-
public init(generateStyle : @escaping (UITraitCollection) -> FormStyle) {
21+
public init(generateStyle: @escaping (UITraitCollection) -> FormStyle) {
2222
self.styleGenerator = generateStyle
2323
}
2424
}

Form/FormView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public extension FormView {
4747
return visibleViews
4848
}
4949

50-
//swiftlint:disable:next unused_setter_value
50+
// swiftlint:disable superfluous_disable_command unused_setter_value
5151
set { /* Always computed */ }
5252
}
5353

Form/HeaderFooterStyle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public struct HeaderFooterStyle: Style {
2828

2929
public struct DynamicHeaderFooterStyle: DynamicStyle {
3030
public var styleGenerator: (UITraitCollection) -> HeaderFooterStyle
31-
public init(generateStyle : @escaping (UITraitCollection) -> HeaderFooterStyle) {
31+
public init(generateStyle: @escaping (UITraitCollection) -> HeaderFooterStyle) {
3232
self.styleGenerator = generateStyle
3333
}
3434
}

Form/ParentChildRelational.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public extension ParentChildRelational {
8888
}
8989
}
9090

91-
///Returns the first ancestor of type `type` if any.
91+
/// Returns the first ancestor of type `type` if any.
9292
func firstAncestor<T>(ofType type: T.Type) -> T? {
9393
guard let parent = parent else { return nil }
9494
if let matching = parent as? T {

Form/SectionStyle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public extension SectionStyle {
5454

5555
public struct DynamicSectionStyle: DynamicStyle {
5656
public var styleGenerator: (UITraitCollection) -> SectionStyle
57-
public init(generateStyle : @escaping (UITraitCollection) -> SectionStyle) {
57+
public init(generateStyle: @escaping (UITraitCollection) -> SectionStyle) {
5858
self.styleGenerator = generateStyle
5959
}
6060
}

0 commit comments

Comments
 (0)