Skip to content

Commit

Permalink
Turn off Swift 6 mode. (#210)
Browse files Browse the repository at this point in the history
mbrandonw authored Aug 21, 2024

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
1 parent 08fc8fd commit 70321c4
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -79,6 +79,18 @@ let package = Package(
"UIKitNavigation"
]
),
],
swiftLanguageVersions: [.v6]
]
//, swiftLanguageModes: [.v6]
)

for target in package.targets {
target.swiftSettings = target.swiftSettings ?? []
target.swiftSettings!.append(contentsOf: [
.enableExperimentalFeature("StrictConcurrency")
])
// target.swiftSettings?.append(
// .unsafeFlags([
// "-enable-library-evolution",
// ])
// )
}

0 comments on commit 70321c4

Please sign in to comment.