Repository Public
1// swift-tools-version: 6.22// SP Music iOS3// File: Core/Package.swift4// Description: Swift package manifest of SPMusicCore.5//6// Author: Simon-Pierre Boucher7// Contact: contact@spboucher.ai8import PackageDescription910// SPMusicCore — everything of SP Music that is not a screen: models, API client, local database, synchronisation,11// downloads, offline library, audio engine. Platform-neutral where the frameworks allow it, so the same package12// serves the iOS/iPadOS app and can serve a macOS one; `swift test` runs the unit tests on the Mac.13let package = Package(14 name: "SPMusicCore",15 defaultLocalization: "fr",16 platforms: [.iOS("26.1"), .macOS(.v15)],17 products: [.library(name: "SPMusicCore", targets: ["SPMusicCore"])],18 targets: [19 .target(name: "SPMusicCore", swiftSettings: [.swiftLanguageMode(.v6)]),20 .testTarget(name: "SPMusicCoreTests", dependencies: ["SPMusicCore"], swiftSettings: [.swiftLanguageMode(.v6)]),21 ]22)23