From 9e909fc2db32ad674652b6b3f1cd626e9e210ddb Mon Sep 17 00:00:00 2001 From: mesqueeb Date: Wed, 19 Jun 2024 23:07:06 +0900 Subject: [PATCH] chore: cleanup --- FuegoOnAppleSilicon/SwiftBridge/Types.swift | 2 -- xcode/FuegoTestApp.xcodeproj/project.pbxproj | 10 ++++++---- xcode/FuegoTestApp/FuegoCBridge/Package.swift | 3 --- .../{FuegoTestAppApp.swift => FuegoTestApp.swift} | 2 +- 4 files changed, 7 insertions(+), 10 deletions(-) rename xcode/FuegoTestApp/{FuegoTestAppApp.swift => FuegoTestApp.swift} (76%) diff --git a/FuegoOnAppleSilicon/SwiftBridge/Types.swift b/FuegoOnAppleSilicon/SwiftBridge/Types.swift index 81b1cc3c..c04ea90a 100644 --- a/FuegoOnAppleSilicon/SwiftBridge/Types.swift +++ b/FuegoOnAppleSilicon/SwiftBridge/Types.swift @@ -1,7 +1,5 @@ /// The Go Board Coordinates from A1 until T19 -/// -/// When a Coordinate is supposed to be returned but something is returned instead, it will be case `Other(String?)` public enum GoBoardCoordinate: String, CustomStringConvertible, Sendable { case A19, B19, C19, D19, E19, F19, G19, H19, J19, K19, L19, M19, N19, O19, P19, Q19, R19, S19, T19, A18, B18, C18, D18, E18, F18, G18, H18, J18, K18, L18, M18, N18, O18, P18, Q18, R18, S18, T18, diff --git a/xcode/FuegoTestApp.xcodeproj/project.pbxproj b/xcode/FuegoTestApp.xcodeproj/project.pbxproj index 11d47d47..0f07a47e 100644 --- a/xcode/FuegoTestApp.xcodeproj/project.pbxproj +++ b/xcode/FuegoTestApp.xcodeproj/project.pbxproj @@ -11,7 +11,7 @@ F71F4F112C135C7400B5D0FE /* FuegoBridge.swift in Sources */ = {isa = PBXBuildFile; fileRef = F71F4F0D2C135C7400B5D0FE /* FuegoBridge.swift */; }; F728A26C2C1804A400C07DA2 /* Types.swift in Sources */ = {isa = PBXBuildFile; fileRef = F728A26B2C1804A400C07DA2 /* Types.swift */; }; F728A26E2C1804E400C07DA2 /* Helpers.swift in Sources */ = {isa = PBXBuildFile; fileRef = F728A26D2C1804E400C07DA2 /* Helpers.swift */; }; - F7A4060D2C13418E008FBC77 /* FuegoTestAppApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7A4060C2C13418E008FBC77 /* FuegoTestAppApp.swift */; }; + F7A4060D2C13418E008FBC77 /* FuegoTestApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7A4060C2C13418E008FBC77 /* FuegoTestApp.swift */; }; F7A4060F2C13418E008FBC77 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7A4060E2C13418E008FBC77 /* ContentView.swift */; }; F7A406112C13418F008FBC77 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F7A406102C13418F008FBC77 /* Assets.xcassets */; }; F7A406152C13418F008FBC77 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F7A406142C13418F008FBC77 /* Preview Assets.xcassets */; }; @@ -42,7 +42,7 @@ F728A26B2C1804A400C07DA2 /* Types.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Types.swift; sourceTree = ""; }; F728A26D2C1804E400C07DA2 /* Helpers.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Helpers.swift; sourceTree = ""; }; F7A406092C13418E008FBC77 /* FuegoTestApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FuegoTestApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; - F7A4060C2C13418E008FBC77 /* FuegoTestAppApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FuegoTestAppApp.swift; sourceTree = ""; }; + F7A4060C2C13418E008FBC77 /* FuegoTestApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FuegoTestApp.swift; sourceTree = ""; }; F7A4060E2C13418E008FBC77 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; F7A406102C13418F008FBC77 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; F7A406122C13418F008FBC77 /* FuegoTestApp.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = FuegoTestApp.entitlements; sourceTree = ""; }; @@ -126,7 +126,7 @@ children = ( F7F406072C136F09000DCDAD /* FuegoCBridge */, F71F4F0F2C135C7400B5D0FE /* FuegoOnAppleSilicon */, - F7A4060C2C13418E008FBC77 /* FuegoTestAppApp.swift */, + F7A4060C2C13418E008FBC77 /* FuegoTestApp.swift */, F7A4060E2C13418E008FBC77 /* ContentView.swift */, F7A406102C13418F008FBC77 /* Assets.xcassets */, F7A406122C13418F008FBC77 /* FuegoTestApp.entitlements */, @@ -233,7 +233,7 @@ files = ( F7A4060F2C13418E008FBC77 /* ContentView.swift in Sources */, F728A26E2C1804E400C07DA2 /* Helpers.swift in Sources */, - F7A4060D2C13418E008FBC77 /* FuegoTestAppApp.swift in Sources */, + F7A4060D2C13418E008FBC77 /* FuegoTestApp.swift in Sources */, F71F4F102C135C7400B5D0FE /* FuegoBridge.cpp in Sources */, F728A26C2C1804A400C07DA2 /* Types.swift in Sources */, F71F4F112C135C7400B5D0FE /* FuegoBridge.swift in Sources */, @@ -399,6 +399,7 @@ SWIFT_OBJC_BRIDGING_HEADER = ../FuegoOnAppleSilicon/CBridge/include/FuegoBridge.hpp; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2,7"; + XROS_DEPLOYMENT_TARGET = 1.2; }; name = Debug; }; @@ -443,6 +444,7 @@ SWIFT_OBJC_BRIDGING_HEADER = ../FuegoOnAppleSilicon/CBridge/include/FuegoBridge.hpp; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2,7"; + XROS_DEPLOYMENT_TARGET = 1.2; }; name = Release; }; diff --git a/xcode/FuegoTestApp/FuegoCBridge/Package.swift b/xcode/FuegoTestApp/FuegoCBridge/Package.swift index a2b82e1a..e2a79cb9 100644 --- a/xcode/FuegoTestApp/FuegoCBridge/Package.swift +++ b/xcode/FuegoTestApp/FuegoCBridge/Package.swift @@ -20,7 +20,4 @@ let package = Package( // Targets can depend on other targets in this package and products from dependencies. .target( name: "FuegoCBridge"), - .testTarget( - name: "FuegoCBridgeTests", - dependencies: ["FuegoCBridge"]), ]) diff --git a/xcode/FuegoTestApp/FuegoTestAppApp.swift b/xcode/FuegoTestApp/FuegoTestApp.swift similarity index 76% rename from xcode/FuegoTestApp/FuegoTestAppApp.swift rename to xcode/FuegoTestApp/FuegoTestApp.swift index fca3afd1..9d616876 100644 --- a/xcode/FuegoTestApp/FuegoTestAppApp.swift +++ b/xcode/FuegoTestApp/FuegoTestApp.swift @@ -1,7 +1,7 @@ import SwiftUI @main -struct FuegoTestAppApp: App { +struct FuegoTestApp: App { var body: some Scene { WindowGroup { ContentView()