From 81fe5d41ebe73b39a5ff3853c5428877f2a1652a Mon Sep 17 00:00:00 2001 From: hi2gage Date: Fri, 18 Oct 2024 00:38:43 -0600 Subject: [PATCH] link libraries to package --- Package.swift | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index ef51b43..87cf760 100644 --- a/Package.swift +++ b/Package.swift @@ -18,7 +18,12 @@ let package = Package( .target( name: "LibFido2Swift", dependencies: ["LibCrypto", "libfido2", "LibCbor"], - path: "LibFido2Swift" + path: "LibFido2Swift", + linkerSettings: [ + .linkedLibrary("LibCbor"), + .linkedLibrary("LibCrypto"), + .linkedLibrary("libfido2"), + ] ), .binaryTarget(name: "LibCbor", path: "./Frameworks/LibCbor.xcframework"), .binaryTarget(name: "LibCrypto", path: "./Frameworks/LibCrypto.xcframework"),