// 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: "VDS", platforms: [ .iOS(.v14) // Adjust the version as needed for your project ], products: [ // Products define the executables and libraries produced by a package, and make them visible to other packages. .library( name: "VDS", targets: ["VDS"]), ], dependencies: [ .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0") ], targets: [ .target( name: "VDS", dependencies: [ .target(name: "UIKit"), .target(name: "VDSColorTokens"), .target(name: "VDSFormControlsTokens"), .target(name: "VDSTypographyTokens") ], path: "VDS", // Adjust the path to your sources resources: [ .process("SupportingFiles/Fonts"), // Process font files .process("SupportingFiles/Icons.xcassets") // Include xcassets ]), .binaryTarget( name: "VDSColorTokens", path: "../SharedFrameworks/VDSColorTokens.xcframework"), .binaryTarget( name: "VDSFormControlsTokens", path: "../SharedFrameworks/VDSFormControlsTokens.xcframework"), .binaryTarget( name: "VDSTypographyTokens", path: "../SharedFrameworks/VDSTypographyTokens.xcframework") ] )