Skip to content

Commit

Permalink
Updated for Swift 6
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Jan 2, 2025
1 parent 4190671 commit 1a5798b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.7
// swift-tools-version:6.0
import PackageDescription

let package = Package(
Expand Down Expand Up @@ -31,6 +31,9 @@ let package = Package(
name: "CoreDataModel",
dependencies: [
"CoreModel"
],
swiftSettings: [
.swiftLanguageMode(.v5)
]
),
.testTarget(
Expand All @@ -39,7 +42,7 @@ let package = Package(
"CoreModel",
.byName(
name: "CoreDataModel",
condition: .when(platforms: [.macOS, .iOS, .macCatalyst, .watchOS, .tvOS])
condition: .when(platforms: [.macOS, .iOS, .macCatalyst, .watchOS, .tvOS, .visionOS])
)
]
)
Expand Down

0 comments on commit 1a5798b

Please sign in to comment.