Skip to content

Commit 2559375

Browse files
committed
Raise watchOS min version to 7.4 as supported by Xcode 14 unit tests
1 parent c923dfc commit 2559375

5 files changed

Lines changed: 17 additions & 9 deletions

File tree

CoreStore.podspec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
1212
s.ios.deployment_target = "13.0"
1313
s.osx.deployment_target = "10.15"
1414
s.tvos.deployment_target = "13.0"
15-
s.watchos.deployment_target = "6.0"
15+
s.watchos.deployment_target = "7.4"
1616

1717
s.source_files = "Sources", "Sources/**/*.swift"
1818
s.public_header_files = "Sources/**/*.h"
@@ -27,6 +27,9 @@ Pod::Spec.new do |s|
2727
ts.preserve_paths = "CoreStoreTests/**/*.xcdatamodeld"
2828
ts.frameworks = "Foundation", "CoreData"
2929
ts.requires_arc = true
30-
ts.platforms = { :ios => nil, :osx => nil, :tvos => nil, :watchos => nil }
30+
ts.ios.deployment_target = "13.0"
31+
ts.osx.deployment_target = "10.15"
32+
ts.tvos.deployment_target = "13.0"
33+
ts.watchos.deployment_target = "7.4"
3134
end
3235
end

CoreStore.xcodeproj/project.pbxproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3021,7 +3021,7 @@
30213021
TVOS_DEPLOYMENT_TARGET = 13.0;
30223022
VERSIONING_SYSTEM = "apple-generic";
30233023
VERSION_INFO_PREFIX = "";
3024-
WATCHOS_DEPLOYMENT_TARGET = 6.0;
3024+
WATCHOS_DEPLOYMENT_TARGET = 7.4;
30253025
};
30263026
name = Debug;
30273027
};
@@ -3086,7 +3086,7 @@
30863086
VALIDATE_PRODUCT = YES;
30873087
VERSIONING_SYSTEM = "apple-generic";
30883088
VERSION_INFO_PREFIX = "";
3089-
WATCHOS_DEPLOYMENT_TARGET = 6.0;
3089+
WATCHOS_DEPLOYMENT_TARGET = 7.4;
30903090
};
30913091
name = Release;
30923092
};
@@ -3275,6 +3275,7 @@
32753275
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
32763276
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
32773277
TARGETED_DEVICE_FAMILY = 4;
3278+
WATCHOS_DEPLOYMENT_TARGET = 7.4;
32783279
};
32793280
name = Debug;
32803281
};
@@ -3294,6 +3295,7 @@
32943295
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
32953296
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
32963297
TARGETED_DEVICE_FAMILY = 4;
3298+
WATCHOS_DEPLOYMENT_TARGET = 7.4;
32973299
};
32983300
name = Release;
32993301
};
@@ -3422,7 +3424,7 @@
34223424
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
34233425
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
34243426
TARGETED_DEVICE_FAMILY = 4;
3425-
WATCHOS_DEPLOYMENT_TARGET = 6.0;
3427+
WATCHOS_DEPLOYMENT_TARGET = 7.4;
34263428
};
34273429
name = Debug;
34283430
};
@@ -3451,7 +3453,7 @@
34513453
SWIFT_OPTIMIZATION_LEVEL = "-O";
34523454
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
34533455
TARGETED_DEVICE_FAMILY = 4;
3454-
WATCHOS_DEPLOYMENT_TARGET = 6.0;
3456+
WATCHOS_DEPLOYMENT_TARGET = 7.4;
34553457
};
34563458
name = Release;
34573459
};
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
4-
<dict/>
4+
<dict>
5+
<key>PreviewsEnabled</key>
6+
<false/>
7+
</dict>
58
</plist>

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import PackageDescription
2929
let package = Package(
3030
name: "CoreStore",
3131
platforms: [
32-
.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6)
32+
.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v7)
3333
],
3434
products: [
3535
.library(name: "CoreStore", targets: ["CoreStore"])

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Unleashing the real power of Core Data with the elegance and safety of Swift
2020
<br />
2121
</p>
2222

23-
* **Swift 5.7:** iOS 13+ / macOS 10.15+ / watchOS 6.0+ / tvOS 13.0+
23+
* **Swift 5.7:** iOS 13+ / macOS 10.15+ / watchOS 7.4+ / tvOS 13.0+
2424
* Previously supported Swift versions: [Swift 5.5](https://github.com/JohnEstropia/CoreStore/tree/8.1.0), [Swift 5.4](https://github.com/JohnEstropia/CoreStore/tree/8.0.1), [Swift 5.3](https://github.com/JohnEstropia/CoreStore/tree/7.3.1)
2525

2626
Upgrading from previous CoreStore versions? Check out the [🆕 features](#features) and make sure to read the [Change logs](https://github.com/JohnEstropia/CoreStore/releases).

0 commit comments

Comments
 (0)