// swift-tools-version: 6.2 import PackageDescription let package = Package( name: "CoreATProtocol", platforms: [ .iOS(.v26), .macOS(.v26), .macCatalyst(.v26), .tvOS(.v26), .watchOS(.v26), .visionOS(.v26), ], products: [ .library( name: "CoreATProtocol", targets: ["CoreATProtocol"] ), ], dependencies: [ // Using fork with fix for WebAuthenticationSession platform guards // PR pending at https://github.com/ChimeHQ/OAuthenticator // .package(url: "https://github.com/ChimeHQ/OAuthenticator.git", branch: "main"), .package(url: "https://github.com/radmakr/OAuthenticator.git", branch: "CoreAtProtocol"), // .package(path: "../OAuthenticator"), .package(url: "https://github.com/vapor/jwt-kit.git", from: "5.0.0"), .package(url: "https://github.com/SparrowTek/NetworkingKit.git", branch: "main"), ], targets: [ .target( name: "CoreATProtocol", dependencies: [ "OAuthenticator", "NetworkingKit", .product(name: "JWTKit", package: "jwt-kit"), ], swiftSettings: [ .enableExperimentalFeature("StrictConcurrency") ] ), .testTarget( name: "CoreATProtocolTests", dependencies: ["CoreATProtocol"] ), ] )