Skip to content

Commit 893d7d0

Browse files
authored
Raise minimum OS versions (#51)
With the [release of Xcode 14][released], Apple dropped support for a few different OS versions. This commit also drops support for those versions in what will become the 3.0 release for this package. [released]: https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes
1 parent e642325 commit 893d7d0

File tree

6 files changed

+32
-23
lines changed

6 files changed

+32
-23
lines changed

.circleci/config.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,11 @@ workflows:
155155

156156
build:
157157
jobs:
158+
- build:
159+
name: Xcode 14.0 - Swift 5.7
160+
xcode-version: '14.0.1'
161+
ios-sim: 'platform=iOS Simulator,name=iPhone 14,OS=16.0'
162+
build-doc: true
158163
- build:
159164
name: Xcode 13.1 - Swift 5.5
160165
xcode-version: '13.1.0'
@@ -169,18 +174,21 @@ workflows:
169174
xcode-version: '11.7.0'
170175
ios-sim: 'platform=iOS Simulator,name=iPhone 8,OS=12.4'
171176
build-universal: false
177+
- build_linux:
178+
name: Linux - Swift 5.5
179+
docker-image: swift:5.5
172180
- build_linux:
173181
name: Linux - Swift 5.4
174-
docker-image: norionomura/swift:5.4
182+
docker-image: swift:5.4
175183
- build_linux:
176184
name: Linux - Swift 5.3
177-
docker-image: norionomura/swift:5.3
185+
docker-image: swift:5.3
178186
discover-tests: true
179187
- build_linux:
180188
name: Linux - Swift 5.2
181-
docker-image: norionomura/swift:5.2
189+
docker-image: swift:5.2
182190
discover-tests: true
183191
- build_linux:
184192
name: Linux - Swift 5.1
185-
docker-image: norionomura/swift:5.1
193+
docker-image: swift:5.1
186194
discover-tests: true

ContractTestService/Package.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import PackageDescription
55
let package = Package(
66
name: "ContractTestService",
77
platforms: [
8-
.iOS(.v10),
9-
.macOS(.v10_12),
10-
.watchOS(.v3),
11-
.tvOS(.v10),
8+
.iOS(.v11),
9+
.macOS(.v10_13),
10+
.watchOS(.v4),
11+
.tvOS(.v11),
1212
],
1313
products: [
1414
.executable(

LDSwiftEventSource.xcodeproj/project.pbxproj

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 51;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -239,6 +239,7 @@
239239
/* Begin PBXShellScriptBuildPhase section */
240240
B46C1C6B24CF348B00283630 /* Linter Script */ = {
241241
isa = PBXShellScriptBuildPhase;
242+
alwaysOutOfDate = 1;
242243
buildActionMask = 2147483647;
243244
files = (
244245
);
@@ -350,8 +351,8 @@
350351
GCC_WARN_UNUSED_FUNCTION = YES;
351352
GCC_WARN_UNUSED_VARIABLE = YES;
352353
INFOPLIST_FILE = Source/Info.plist;
353-
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
354-
MACOSX_DEPLOYMENT_TARGET = 10.12;
354+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
355+
MACOSX_DEPLOYMENT_TARGET = 10.13;
355356
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
356357
MTL_FAST_MATH = YES;
357358
ONLY_ACTIVE_ARCH = YES;
@@ -362,10 +363,10 @@
362363
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
363364
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
364365
SWIFT_VERSION = 5.0;
365-
TVOS_DEPLOYMENT_TARGET = 10.0;
366+
TVOS_DEPLOYMENT_TARGET = 11.0;
366367
VERSIONING_SYSTEM = "apple-generic";
367368
VERSION_INFO_PREFIX = "";
368-
WATCHOS_DEPLOYMENT_TARGET = 3.0;
369+
WATCHOS_DEPLOYMENT_TARGET = 4.0;
369370
};
370371
name = Debug;
371372
};
@@ -419,8 +420,8 @@
419420
GCC_WARN_UNUSED_FUNCTION = YES;
420421
GCC_WARN_UNUSED_VARIABLE = YES;
421422
INFOPLIST_FILE = Source/Info.plist;
422-
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
423-
MACOSX_DEPLOYMENT_TARGET = 10.12;
423+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
424+
MACOSX_DEPLOYMENT_TARGET = 10.13;
424425
MTL_ENABLE_DEBUG_INFO = NO;
425426
MTL_FAST_MATH = YES;
426427
PRODUCT_BUNDLE_IDENTIFIER = com.launchdarkly.LDSwiftEventSource;
@@ -430,10 +431,10 @@
430431
SWIFT_COMPILATION_MODE = wholemodule;
431432
SWIFT_OPTIMIZATION_LEVEL = "-O";
432433
SWIFT_VERSION = 5.0;
433-
TVOS_DEPLOYMENT_TARGET = 10.0;
434+
TVOS_DEPLOYMENT_TARGET = 11.0;
434435
VERSIONING_SYSTEM = "apple-generic";
435436
VERSION_INFO_PREFIX = "";
436-
WATCHOS_DEPLOYMENT_TARGET = 3.0;
437+
WATCHOS_DEPLOYMENT_TARGET = 4.0;
437438
};
438439
name = Release;
439440
};

Mintfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
realm/SwiftLint@0.41.0
1+
realm/SwiftLint@0.49.1

Package.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import PackageDescription
55
let package = Package(
66
name: "LDSwiftEventSource",
77
platforms: [
8-
.iOS(.v10),
9-
.macOS(.v10_12),
10-
.watchOS(.v3),
11-
.tvOS(.v10)
8+
.iOS(.v11),
9+
.macOS(.v10_13),
10+
.watchOS(.v4),
11+
.tvOS(.v11)
1212
],
1313
products: [
1414
.library(name: "LDSwiftEventSource", targets: ["LDSwiftEventSource"]),

Tests/LDSwiftEventSourceTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ final class LDSwiftEventSourceTests: XCTestCase {
323323
config.urlSessionConfiguration = sessionWithMockProtocol()
324324
config.reconnectTime = 0.1
325325
config.connectionErrorHandler = { _ in
326-
return .shutdown
326+
.shutdown
327327
}
328328
let es = EventSource(config: config)
329329
es.start()

0 commit comments

Comments
 (0)