From 03a5f5f18fc1369c6532e5011fa67d4fc452934e Mon Sep 17 00:00:00 2001 From: pawello2222 Date: Mon, 1 Nov 2021 23:32:11 +0100 Subject: [PATCH 1/2] Removed warnings in Package.swift --- Package.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Package.swift b/Package.swift index ab75937..11aec37 100644 --- a/Package.swift +++ b/Package.swift @@ -5,10 +5,10 @@ import PackageDescription let package = Package( name: "GameKitUI", - platforms: [ .iOS(SupportedPlatform.IOSVersion.v13), - .macOS(SupportedPlatform.MacOSVersion.v10_15), - .tvOS(SupportedPlatform.TVOSVersion.v13), - .watchOS(SupportedPlatform.WatchOSVersion.v6) + platforms: [ .iOS(.v13), + .macOS(.v10_15), + .tvOS(.v13), + .watchOS(.v6) ], products: [ .library( @@ -21,7 +21,7 @@ let package = Package( .target( name: "GameKitUI", dependencies: [], - exclude: ["MetaData", "Examples"]), + exclude: ["../../MetaData", "../../Examples"]), .testTarget( name: "GameKitUITests", dependencies: ["GameKitUI"]) From 3e408de20b1a503891d73a3460e4a34fedd05309 Mon Sep 17 00:00:00 2001 From: pawello2222 Date: Tue, 2 Nov 2021 00:27:30 +0100 Subject: [PATCH 2/2] Removed dependencies and exlude from main target --- Package.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Package.swift b/Package.swift index 11aec37..09d6ba3 100644 --- a/Package.swift +++ b/Package.swift @@ -19,9 +19,7 @@ let package = Package( ], targets: [ .target( - name: "GameKitUI", - dependencies: [], - exclude: ["../../MetaData", "../../Examples"]), + name: "GameKitUI"), .testTarget( name: "GameKitUITests", dependencies: ["GameKitUI"])