From 5ce442cb31d269ecbaf3df31cb6abe77099da0a3 Mon Sep 17 00:00:00 2001 From: Kevin Mullins Date: Wed, 12 Jun 2024 08:07:36 -0500 Subject: [PATCH] Swift 6 Swift 6 and .iOS(.v18), .macOS(.v15), .tvOS(.v18), .watchOS(.v11) --- Package.resolved | 15 ++++++++------- Package.swift | 10 +++++----- README.md | 4 ++-- .../SwiftUIKit/Resources/PrivacyInfo.xcprivacy | 8 ++++++++ 4 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 Sources/SwiftUIKit/Resources/PrivacyInfo.xcprivacy diff --git a/Package.resolved b/Package.resolved index 9afd16f..ded0609 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,12 +1,13 @@ { + "originHash" : "41682aa757b18c8b10c59952851213b5751b796cc0e74fb6ce58e9e798bdd784", "pins" : [ { "identity" : "logmanager", "kind" : "remoteSourceControl", "location" : "https://github.com/Appracatappra/LogManager", "state" : { - "revision" : "bc21e80add4315c28e9461b8f583cfd79e4c74f8", - "version" : "1.0.3" + "revision" : "bf916fa61fd3d3f006bcede8e9ca2d4910279478", + "version" : "2.0.0" } }, { @@ -14,8 +15,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/Appracatappra/SoundManager", "state" : { - "revision" : "04a17d306bea71729877696fa16a55cfb84f8e1a", - "version" : "1.0.3" + "revision" : "6e73b374abdd9858a873fa72a89e5e09b0ffb4c8", + "version" : "2.0.0" } }, { @@ -23,10 +24,10 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/Appracatappra/SwiftletUtilities", "state" : { - "revision" : "35b92f3d0e5ea66ef3254dd1e812cdc8e61c3578", - "version" : "1.1.13" + "revision" : "a587162e03f9af3d474535100f89d8db64b82345", + "version" : "2.0.0" } } ], - "version" : 2 + "version" : 3 } diff --git a/Package.swift b/Package.swift index 699674e..fa29f9d 100644 --- a/Package.swift +++ b/Package.swift @@ -1,11 +1,11 @@ -// swift-tools-version: 5.9 +// swift-tools-version: 6.0 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: "SwiftUIKit", - platforms: [.iOS(.v17), .macOS(.v14), .tvOS(.v17), .watchOS(.v10)], + platforms: [.iOS(.v18), .macOS(.v15), .tvOS(.v18), .watchOS(.v11)], products: [ // Products define the executables and libraries a package produces, making them visible to other packages. .library( @@ -15,9 +15,9 @@ let package = Package( dependencies: [ // Dependencies declare other packages that this package depends on. // .package(url: /* package url */, from: "1.0.0"), - .package(url: "https://github.com/Appracatappra/LogManager", .upToNextMajor(from: "1.0.1")), - .package(url: "https://github.com/Appracatappra/SwiftletUtilities", .upToNextMajor(from: "1.1.1")), - .package(url: "https://github.com/Appracatappra/SoundManager", .upToNextMajor(from: "1.0.0")), + .package(url: "https://github.com/Appracatappra/LogManager", .upToNextMajor(from: "2.0.0")), + .package(url: "https://github.com/Appracatappra/SwiftletUtilities", .upToNextMajor(from: "2.0.0")), + .package(url: "https://github.com/Appracatappra/SoundManager", .upToNextMajor(from: "2.0.0")), ], targets: [ // Targets are the basic building blocks of a package, defining a module or a test suite. diff --git a/README.md b/README.md index 7fb4f15..1d348f5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # SwiftUIKit -![](https://img.shields.io/badge/license-MIT-green) ![](https://img.shields.io/badge/maintained%3F-Yes-green) ![](https://img.shields.io/badge/swift-5.4-green) ![](https://img.shields.io/badge/iOS-17.0-red) ![](https://img.shields.io/badge/macOS-14.0-red) ![](https://img.shields.io/badge/tvOS-17.0-red) ![](https://img.shields.io/badge/watchOS-10.0-red) ![](https://img.shields.io/badge/dependency-LogManager-orange) ![](https://img.shields.io/badge/dependency-SoundManager-orange) ![](https://img.shields.io/badge/dependency-SwiftletUtilities-orange) +![](https://img.shields.io/badge/license-MIT-green) ![](https://img.shields.io/badge/maintained%3F-Yes-green) ![](https://img.shields.io/badge/swift-6.0-green) ![](https://img.shields.io/badge/iOS-18.0-red) ![](https://img.shields.io/badge/macOS-15.0-red) ![](https://img.shields.io/badge/tvOS-18.0-red) ![](https://img.shields.io/badge/watchOS-11.0-red) ![](https://img.shields.io/badge/dependency-LogManager-orange) ![](https://img.shields.io/badge/dependency-SoundManager-orange) ![](https://img.shields.io/badge/dependency-SwiftletUtilities-orange) `SwiftUIKit` provides a collection of common controls for use with `SwiftUI`. @@ -161,4 +161,4 @@ With this code in place, make any style changes in `func application(_ applicati # Documentation -The **Package** includes full **DocC Documentation** for all of its features. \ No newline at end of file +The **Package** includes full **DocC Documentation** for all of its features. diff --git a/Sources/SwiftUIKit/Resources/PrivacyInfo.xcprivacy b/Sources/SwiftUIKit/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..cfbe279 --- /dev/null +++ b/Sources/SwiftUIKit/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,8 @@ + + + + + NSPrivacyTracking + + +