Skip to content

Commit 95977db

Browse files
Shubhamgreenrobot-team
authored andcommitted
Package.swift: add Sync library product and binary target #300
1 parent b47e98f commit 95977db

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Package.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ let package = Package(
1414
products: [
1515
.plugin(name: "ObjectBoxPlugin", targets: ["ObjectBoxGeneratorCommand"]),
1616
.library(name: "ObjectBox.xcframework", targets: ["ObjectBox.xcframework"]),
17+
.library(name: "ObjectBox-Sync.xcframework", targets: ["ObjectBox-Sync.xcframework"]),
1718
],
1819
targets: [
1920

@@ -30,6 +31,12 @@ let package = Package(
3031
"https://github.com/objectbox/objectbox-swift-spec-staging/releases/download/v4.3.0/ObjectBox.xcframework.zip",
3132
checksum: "465a457973841c0bdbec974d4a30882a0a57090688884adcd77b1fdc573938d6"
3233
),
34+
.binaryTarget(
35+
name: "ObjectBox-Sync.xcframework",
36+
url:
37+
"https://github.com/objectbox/objectbox-swift-spec-staging/releases/download/v4.3.0/ObjectBox-Sync.xcframework.zip",
38+
checksum: "38ce5ca16a66cee3bb075e5ec2c244bcb19bc7e984099df05871ef19bba6788e"
39+
),
3340

3441
/// MARK: - Plugin implementations
3542
.plugin(

0 commit comments

Comments
 (0)