Repository Public
1// swift-tools-version: 6.02// VQuant iOS3// File: Package.swift4// Description: Exposes the platform-neutral core (Core/) as a Swift package so its tests run on the Mac with `swift test`5// and a future macOS client can depend on the same code. The iOS app compiles the same sources directly.6//7// Author: Simon-Pierre Boucher8// Contact: contact@spboucher.ai9import PackageDescription1011let package = Package(12 name: "VQuantCore",13 defaultLocalization: "fr",14 platforms: [.iOS(.v18), .macOS(.v15)],15 products: [.library(name: "VQuantCore", targets: ["VQuantCore"])],16 targets: [17 .target(name: "VQuantCore", path: "Core", swiftSettings: [.swiftLanguageMode(.v6)]),18 .testTarget(name: "VQuantCoreTests", dependencies: ["VQuantCore"], path: "CoreTests", resources: [.copy("Fixtures")], swiftSettings: [.swiftLanguageMode(.v6)]),19 ]20)21