Skip to content

Commit 86694f5

Browse files
Package manifest: add minimum supported platforms
1 parent 19afe5c commit 86694f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Package.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ import PackageDescription
77

88
let package = Package(
99
name: "ObjectBox",
10+
platforms: [
11+
// This should match the requirements of ObjectBox.xcframework (so the ObjectBox Swift API and native libraries)
12+
.macOS(.v10_15), .iOS(.v12),
13+
],
1014
products: [
1115
.plugin(name: "ObjectBoxPlugin", targets: ["ObjectBoxGeneratorCommand"]),
1216
.library(name: "ObjectBox.xcframework", targets: ["ObjectBox.xcframework"]),

0 commit comments

Comments
 (0)