-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add contrib directory to make xcframework job work
Signed-off-by: Lukas Pukenis <[email protected]>
- Loading branch information
1 parent
20c3099
commit bd8b8b2
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module libdropFFI { | ||
umbrella "." | ||
export * | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// swift-tools-version: 5.9 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "LibdropSwift", | ||
platforms: [ | ||
.iOS(.v13), | ||
.macOS(.v10_15), | ||
.tvOS(.v17) | ||
], | ||
products: [ | ||
.library( | ||
name: "LibdropSwift", | ||
targets: ["LibdropSwift", "libdropFFI"]), | ||
], | ||
targets: [ | ||
.target( | ||
name: "LibdropSwift", | ||
dependencies: [ | ||
"libdropFFI" | ||
], | ||
path: "Sources", | ||
linkerSettings: [.linkedFramework("CoreServices")] | ||
), | ||
.binaryTarget( | ||
name: "libdropFFI", | ||
url: "$XCFRAMEWORK_URL", | ||
checksum: "$XCFRAMEWORK_CHECKSUM" | ||
) | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@_exported import libdropFFI |