// swift-tools-version: 5.9 import PackageDescription let package = Package( name: "ProleApp", platforms: [ .macOS(.v12) ], products: [ .executable(name: "Prole", targets: ["Prole"]) // App binary name ], dependencies: [ // NozeIO SwiftNIO IRC Client .package(url: "https://github.com/NozeIO/swift-nio-irc-client", branch: "main"), // RoyalVNCKit via SwiftPM instead of local xcframework .package(url: "https://github.com/royalapplications/royalvnc", branch: "main") ], targets: [ .executableTarget( name: "Prole", dependencies: [ .product(name: "IRC", package: "swift-nio-irc-client"), .product(name: "RoyalVNCKit", package: "royalvnc") ], path: "Sources", resources: [ // The build script separately copies resources into the app bundle; no SPM resources here. ], linkerSettings: [ .linkedFramework("AppKit"), .linkedFramework("Carbon"), .linkedFramework("Network") ] ) ] )