From c3af9f7209679ae9a35345f94e1089930a2e053c Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Thu, 13 Apr 2023 15:08:17 -0500 Subject: [PATCH] [Features] Adds DeltaFeatures target --- Delta.xcodeproj/project.pbxproj | 122 ++++++++++++++++++ .../xcschemes/DeltaFeatures.xcscheme | 67 ++++++++++ DeltaFeatures/Feature.swift | 10 ++ 3 files changed, 199 insertions(+) create mode 100644 Delta.xcodeproj/xcshareddata/xcschemes/DeltaFeatures.xcscheme create mode 100644 DeltaFeatures/Feature.swift diff --git a/Delta.xcodeproj/project.pbxproj b/Delta.xcodeproj/project.pbxproj index 85bd55c..3c619ed 100644 --- a/Delta.xcodeproj/project.pbxproj +++ b/Delta.xcodeproj/project.pbxproj @@ -181,6 +181,8 @@ D5AAF27729884F8600F21ACF /* CheatDevice.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5AAF27629884F8600F21ACF /* CheatDevice.swift */; }; D5D797E6298D946200738869 /* Contributor.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5D797E5298D946200738869 /* Contributor.swift */; }; D5D797E9298DCC7300738869 /* cheatbase.zip in Resources */ = {isa = PBXBuildFile; fileRef = D5D797E7298DC9E200738869 /* cheatbase.zip */; }; + D5D7C1FA29E60EDE00663793 /* libDeltaFeatures.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D5D7C1F129E60DFF00663793 /* libDeltaFeatures.a */; }; + D5D7C20429E60F2000663793 /* Feature.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5A9BFFD29DDECF100A8D610 /* Feature.swift */; }; D5F82FB82981D3AC00B229AF /* LegacySearchBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5F82FB72981D3AC00B229AF /* LegacySearchBar.swift */; }; /* End PBXBuildFile section */ @@ -192,6 +194,13 @@ remoteGlobalIDString = BF6E70B925D2187800E41CD1; remoteInfo = Systems; }; + D5D7C1FB29E60EDE00663793 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFFA71CF1AAC406100EE9DD1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = D5D7C1F029E60DFF00663793; + remoteInfo = DeltaFeatures; + }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -206,6 +215,15 @@ name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; }; + D5D7C1EF29E60DFF00663793 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = "include/$(PRODUCT_NAME)"; + dstSubfolderSpec = 16; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ @@ -390,9 +408,11 @@ D586497129774ABD0081477E /* CheatBase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CheatBase.swift; sourceTree = ""; }; D5864977297756CE0081477E /* CheatBaseView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CheatBaseView.swift; sourceTree = ""; }; D5A98CE1284EF14B00E023E5 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; + D5A9BFFD29DDECF100A8D610 /* Feature.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Feature.swift; sourceTree = ""; }; D5AAF27629884F8600F21ACF /* CheatDevice.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CheatDevice.swift; sourceTree = ""; }; D5D797E5298D946200738869 /* Contributor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Contributor.swift; sourceTree = ""; }; D5D797E7298DC9E200738869 /* cheatbase.zip */ = {isa = PBXFileReference; lastKnownFileType = archive.zip; path = cheatbase.zip; sourceTree = ""; }; + D5D7C1F129E60DFF00663793 /* libDeltaFeatures.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libDeltaFeatures.a; sourceTree = BUILT_PRODUCTS_DIR; }; D5F82FB72981D3AC00B229AF /* LegacySearchBar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LegacySearchBar.swift; sourceTree = ""; }; DC866E433B3BA9AE18ABA1EC /* libPods-Delta.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Delta.a"; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ @@ -407,6 +427,7 @@ BF69FBA223E375A20051BEEA /* libVBA-M.a in Frameworks */, BFFDF04623E3D3A600931B96 /* libMupen64Plus.a in Frameworks */, BFDCA1E6244EBAA900B8FBDB /* liblibDeSmuME.a in Frameworks */, + D5D7C1FA29E60EDE00663793 /* libDeltaFeatures.a in Frameworks */, BFCADF1E25D22FE2008D78FB /* Systems.framework in Frameworks */, BF69FBC923E3A8380051BEEA /* libNestopia.a in Frameworks */, D524F4A1273DE9A100D500B2 /* AltKit in Frameworks */, @@ -859,6 +880,7 @@ children = ( BFFA71D91AAC406100EE9DD1 /* Delta */, D539103029E88B6C0006B350 /* DeltaPreviews */, + D5D7C1F229E60E0000663793 /* DeltaFeatures */, BF9F4FCD1AAD7B25004C9500 /* Frameworks */, BFEC732F1AAECCBD00650035 /* Resources */, BFFA71D81AAC406100EE9DD1 /* Products */, @@ -870,6 +892,7 @@ isa = PBXGroup; children = ( BFFA71D71AAC406100EE9DD1 /* Delta.app */, + D5D7C1F129E60DFF00663793 /* libDeltaFeatures.a */, D539102F29E88B6B0006B350 /* DeltaPreviews.framework */, ); name = Products; @@ -970,6 +993,14 @@ path = Contributors; sourceTree = ""; }; + D5D7C1F229E60E0000663793 /* DeltaFeatures */ = { + isa = PBXGroup; + children = ( + D5A9BFFD29DDECF100A8D610 /* Feature.swift */, + ); + path = DeltaFeatures; + sourceTree = ""; + }; FD1E8AE87FA2DB8793F7B937 /* Pods */ = { isa = PBXGroup; children = ( @@ -1011,6 +1042,7 @@ ); dependencies = ( BFEBE58325D3388F00222319 /* PBXTargetDependency */, + D5D7C1FC29E60EDE00663793 /* PBXTargetDependency */, ); name = Delta; packageProductDependencies = ( @@ -1040,6 +1072,23 @@ productReference = D539102F29E88B6B0006B350 /* DeltaPreviews.framework */; productType = "com.apple.product-type.framework"; }; + D5D7C1F029E60DFF00663793 /* DeltaFeatures */ = { + isa = PBXNativeTarget; + buildConfigurationList = D5D7C1F529E60E0000663793 /* Build configuration list for PBXNativeTarget "DeltaFeatures" */; + buildPhases = ( + D5D7C1ED29E60DFF00663793 /* Sources */, + D5D7C1EE29E60DFF00663793 /* Frameworks */, + D5D7C1EF29E60DFF00663793 /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = DeltaFeatures; + productName = DeltaFeatures; + productReference = D5D7C1F129E60DFF00663793 /* libDeltaFeatures.a */; + productType = "com.apple.product-type.library.static"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -1075,6 +1124,9 @@ D539102E29E88B6B0006B350 = { CreatedOnToolsVersion = 14.3; }; + D5D7C1F029E60DFF00663793 = { + CreatedOnToolsVersion = 14.2; + }; }; }; buildConfigurationList = BFFA71D21AAC406100EE9DD1 /* Build configuration list for PBXProject "Delta" */; @@ -1098,6 +1150,7 @@ BF14D8941DE7A512002CA1BE /* mogenerator */, BF6E70B925D2187800E41CD1 /* Systems */, D539102E29E88B6B0006B350 /* DeltaPreviews */, + D5D7C1F029E60DFF00663793 /* DeltaFeatures */, ); }; /* End PBXProject section */ @@ -1422,6 +1475,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + D5D7C1ED29E60DFF00663793 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D5D7C20429E60F2000663793 /* Feature.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ @@ -1430,6 +1491,11 @@ target = BF6E70B925D2187800E41CD1 /* Systems */; targetProxy = BFEBE58225D3388F00222319 /* PBXContainerItemProxy */; }; + D5D7C1FC29E60EDE00663793 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = D5D7C1F029E60DFF00663793 /* DeltaFeatures */; + targetProxy = D5D7C1FB29E60EDE00663793 /* PBXContainerItemProxy */; + }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -1774,6 +1840,53 @@ }; name = Release; }; + D5D7C1F629E60E0000663793 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = 6XVY5G3U44; + GCC_C_LANGUAGE_STANDARD = gnu11; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + D5D7C1F729E60E0000663793 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 6XVY5G3U44; + GCC_C_LANGUAGE_STANDARD = gnu11; + MTL_FAST_MATH = YES; + OTHER_LDFLAGS = "-ObjC"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -1822,6 +1935,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + D5D7C1F529E60E0000663793 /* Build configuration list for PBXNativeTarget "DeltaFeatures" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D5D7C1F629E60E0000663793 /* Debug */, + D5D7C1F729E60E0000663793 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ /* Begin XCRemoteSwiftPackageReference section */ diff --git a/Delta.xcodeproj/xcshareddata/xcschemes/DeltaFeatures.xcscheme b/Delta.xcodeproj/xcshareddata/xcschemes/DeltaFeatures.xcscheme new file mode 100644 index 0000000..3f8dc88 --- /dev/null +++ b/Delta.xcodeproj/xcshareddata/xcschemes/DeltaFeatures.xcscheme @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/DeltaFeatures/Feature.swift b/DeltaFeatures/Feature.swift new file mode 100644 index 0000000..902f065 --- /dev/null +++ b/DeltaFeatures/Feature.swift @@ -0,0 +1,10 @@ +// +// Feature.swift +// Delta +// +// Created by Riley Testut on 4/5/23. +// Copyright © 2023 Riley Testut. All rights reserved. +// + +import Foundation +