Skip to content

Commit

Permalink
Use xcframeworks in release
Browse files Browse the repository at this point in the history
  • Loading branch information
bioche committed Sep 26, 2021
1 parent fd32416 commit f78108d
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.swiftpm/xcode/package.xcworkspace/xcuserdata/bioche.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
32 changes: 26 additions & 6 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,24 @@ let package = Package(
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
// .binaryTarget(
// name: "Realm",
// path: "Realm.xcframework"
// ),
// .binaryTarget(
// name: "RealmSwift",
// path: "RealmSwift.xcframework"
// ),
.binaryTarget(
name: "Realm",
path: "Realm.xcframework"
url: "https://github.com/bioche/RealmBinaries/releases/download/10.15.1/realm_13.zip",
checksum: "389e2b498c1a7fba317be118f784114fac561b25a0ba1bb83673d87fc16360e2"
),
.binaryTarget(
name: "RealmSwift",
path: "RealmSwift.xcframework"
),
url: "https://github.com/bioche/RealmBinaries/releases/download/10.15.1/realmSwift_13.zip",
checksum: "fe8d5c19dd007970a4b1ded7bab78751b631959ceebec576aa0e064fc232393c"
)
]
)

Expand All @@ -48,14 +58,24 @@ let package = Package(
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
// .binaryTarget(
// name: "Realm",
// path: "12.5.1/Realm.xcframework"
// ),
// .binaryTarget(
// name: "RealmSwift",
// path: "12.5.1/RealmSwift.xcframework"
// ),
.binaryTarget(
name: "Realm",
path: "12.5.1/Realm.xcframework"
url: "https://github.com/bioche/RealmBinaries/releases/download/10.15.1/realm_12_5_1.zip",
checksum: "f32a21da217bfcd962528d33ba70971b1aede6f46db4d5ae16384292de20e0c5"
),
.binaryTarget(
name: "RealmSwift",
path: "12.5.1/RealmSwift.xcframework"
),
url: "https://github.com/bioche/RealmBinaries/releases/download/10.15.1/realmSwift_12_5_1.zip",
checksum: "0b7e58617887ef77dff7e74802e7809cb4ffd4444a5e0ca85b8cb3cdba063ebf"
)
]
)

Expand Down

0 comments on commit f78108d

Please sign in to comment.