Skip to content

Commit

Permalink
added Framework into SPM
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhanushka Adrian committed Aug 14, 2024
1 parent 1e20fc5 commit c23f168
Show file tree
Hide file tree
Showing 120 changed files with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions Zebra123RFIDsdkSPM/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,27 @@ let package = Package(
name: "Zebra123RFIDsdkSPM",

platforms: [
.iOS(.v14)
.iOS(.v14),
.macOS(.v11)

],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "Zebra123RFIDsdkSPM",
targets: ["Zebra123RFIDsdkSPM"]),
targets: ["ZebraRfidSdkFramework", "ZebraScannerFramework"]
),
],

targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "Zebra123RFIDsdkSPM"),
.testTarget(
name: "Zebra123RFIDsdkSPMTests",
dependencies: ["Zebra123RFIDsdkSPM"]),
]
.binaryTarget(
name: "ZebraRfidSdkFramework",
path: "./Sources/Frameworks/ZebraRfidSdkFramework.xcframework"
),
.binaryTarget(
name: "ZebraScannerFramework",
path: "./Sources/Frameworks/ZebraScannerFramework.xcframework"
),
]

)

0 comments on commit c23f168

Please sign in to comment.