diff --git a/DouShouQi_App/DouShouQi_App.xcodeproj/project.pbxproj b/DouShouQi_App/DouShouQi_App.xcodeproj/project.pbxproj deleted file mode 100644 index ad5a7c7..0000000 --- a/DouShouQi_App/DouShouQi_App.xcodeproj/project.pbxproj +++ /dev/null @@ -1,644 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 56; - objects = { - -/* Begin PBXBuildFile section */ - 6458345C2BF5F92300E18321 /* DouShouQi_AppApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6458345B2BF5F92300E18321 /* DouShouQi_AppApp.swift */; }; - 6458345E2BF5F92300E18321 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6458345D2BF5F92300E18321 /* ContentView.swift */; }; - 645834602BF5F92500E18321 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6458345F2BF5F92500E18321 /* Assets.xcassets */; }; - 645834632BF5F92500E18321 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 645834622BF5F92500E18321 /* Preview Assets.xcassets */; }; - 6458346D2BF5F92600E18321 /* DouShouQi_AppTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6458346C2BF5F92600E18321 /* DouShouQi_AppTests.swift */; }; - 645834772BF5F92600E18321 /* DouShouQi_AppUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 645834762BF5F92600E18321 /* DouShouQi_AppUITests.swift */; }; - 645834792BF5F92600E18321 /* DouShouQi_AppUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 645834782BF5F92600E18321 /* DouShouQi_AppUITestsLaunchTests.swift */; }; - 645834882BF5FEA000E18321 /* DSQ.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 645834872BF5FEA000E18321 /* DSQ.xcframework */; }; - 645834892BF5FEA000E18321 /* DSQ.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 645834872BF5FEA000E18321 /* DSQ.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - ECDA24872BFFE73E00AFC2AB /* ButtonView.swift in Sources */ = {isa = PBXBuildFile; fileRef = ECDA24862BFFE73E00AFC2AB /* ButtonView.swift */; }; - ECDA24892BFFE98200AFC2AB /* SelectPlayerButtonView.swift in Sources */ = {isa = PBXBuildFile; fileRef = ECDA24882BFFE98200AFC2AB /* SelectPlayerButtonView.swift */; }; - ECDE63532BFFD5C900753917 /* SelectPlayerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = ECDE63522BFFD5C900753917 /* SelectPlayerView.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 645834692BF5F92600E18321 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 645834502BF5F92300E18321 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 645834572BF5F92300E18321; - remoteInfo = DouShouQi_App; - }; - 645834732BF5F92600E18321 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 645834502BF5F92300E18321 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 645834572BF5F92300E18321; - remoteInfo = DouShouQi_App; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 6458348A2BF5FEA000E18321 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - 645834892BF5FEA000E18321 /* DSQ.xcframework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 645834582BF5F92300E18321 /* DouShouQi_App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DouShouQi_App.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 6458345B2BF5F92300E18321 /* DouShouQi_AppApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DouShouQi_AppApp.swift; sourceTree = ""; }; - 6458345D2BF5F92300E18321 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; - 6458345F2BF5F92500E18321 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 645834622BF5F92500E18321 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; - 645834682BF5F92600E18321 /* DouShouQi_AppTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DouShouQi_AppTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 6458346C2BF5F92600E18321 /* DouShouQi_AppTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DouShouQi_AppTests.swift; sourceTree = ""; }; - 645834722BF5F92600E18321 /* DouShouQi_AppUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DouShouQi_AppUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 645834762BF5F92600E18321 /* DouShouQi_AppUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DouShouQi_AppUITests.swift; sourceTree = ""; }; - 645834782BF5F92600E18321 /* DouShouQi_AppUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DouShouQi_AppUITestsLaunchTests.swift; sourceTree = ""; }; - 645834852BF5FE1400E18321 /* DouShouQi-App-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = "DouShouQi-App-Info.plist"; sourceTree = SOURCE_ROOT; }; - 645834872BF5FEA000E18321 /* DSQ.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = DSQ.xcframework; sourceTree = ""; }; - ECDA24862BFFE73E00AFC2AB /* ButtonView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ButtonView.swift; sourceTree = ""; }; - ECDA24882BFFE98200AFC2AB /* SelectPlayerButtonView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SelectPlayerButtonView.swift; sourceTree = ""; }; - ECDE63522BFFD5C900753917 /* SelectPlayerView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SelectPlayerView.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 645834552BF5F92300E18321 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 645834882BF5FEA000E18321 /* DSQ.xcframework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 645834652BF5F92600E18321 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 6458346F2BF5F92600E18321 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 6458344F2BF5F92300E18321 = { - isa = PBXGroup; - children = ( - 6458345A2BF5F92300E18321 /* DouShouQi_App */, - 6458346B2BF5F92600E18321 /* DouShouQi_AppTests */, - 645834752BF5F92600E18321 /* DouShouQi_AppUITests */, - 645834592BF5F92300E18321 /* Products */, - 645834862BF5FE9F00E18321 /* Frameworks */, - ); - sourceTree = ""; - }; - 645834592BF5F92300E18321 /* Products */ = { - isa = PBXGroup; - children = ( - 645834582BF5F92300E18321 /* DouShouQi_App.app */, - 645834682BF5F92600E18321 /* DouShouQi_AppTests.xctest */, - 645834722BF5F92600E18321 /* DouShouQi_AppUITests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 6458345A2BF5F92300E18321 /* DouShouQi_App */ = { - isa = PBXGroup; - children = ( - 649ABF5E2BF60ED5002E8894 /* Components */, - 649ABF592BF60D13002E8894 /* Views */, - 645834852BF5FE1400E18321 /* DouShouQi-App-Info.plist */, - 6458345B2BF5F92300E18321 /* DouShouQi_AppApp.swift */, - 6458345D2BF5F92300E18321 /* ContentView.swift */, - 6458345F2BF5F92500E18321 /* Assets.xcassets */, - 645834612BF5F92500E18321 /* Preview Content */, - ); - path = DouShouQi_App; - sourceTree = ""; - }; - 645834612BF5F92500E18321 /* Preview Content */ = { - isa = PBXGroup; - children = ( - 645834622BF5F92500E18321 /* Preview Assets.xcassets */, - ); - path = "Preview Content"; - sourceTree = ""; - }; - 6458346B2BF5F92600E18321 /* DouShouQi_AppTests */ = { - isa = PBXGroup; - children = ( - 6458346C2BF5F92600E18321 /* DouShouQi_AppTests.swift */, - ); - path = DouShouQi_AppTests; - sourceTree = ""; - }; - 645834752BF5F92600E18321 /* DouShouQi_AppUITests */ = { - isa = PBXGroup; - children = ( - 645834762BF5F92600E18321 /* DouShouQi_AppUITests.swift */, - 645834782BF5F92600E18321 /* DouShouQi_AppUITestsLaunchTests.swift */, - ); - path = DouShouQi_AppUITests; - sourceTree = ""; - }; - 645834862BF5FE9F00E18321 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 645834872BF5FEA000E18321 /* DSQ.xcframework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 649ABF592BF60D13002E8894 /* Views */ = { - isa = PBXGroup; - children = ( - ECDE63522BFFD5C900753917 /* SelectPlayerView.swift */, - ); - path = Views; - sourceTree = ""; - }; - 649ABF5E2BF60ED5002E8894 /* Components */ = { - isa = PBXGroup; - children = ( - ECDA24862BFFE73E00AFC2AB /* ButtonView.swift */, - ECDA24882BFFE98200AFC2AB /* SelectPlayerButtonView.swift */, - ); - path = Components; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 645834572BF5F92300E18321 /* DouShouQi_App */ = { - isa = PBXNativeTarget; - buildConfigurationList = 6458347C2BF5F92600E18321 /* Build configuration list for PBXNativeTarget "DouShouQi_App" */; - buildPhases = ( - 645834542BF5F92300E18321 /* Sources */, - 645834552BF5F92300E18321 /* Frameworks */, - 645834562BF5F92300E18321 /* Resources */, - 6458348A2BF5FEA000E18321 /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = DouShouQi_App; - productName = DouShouQi_App; - productReference = 645834582BF5F92300E18321 /* DouShouQi_App.app */; - productType = "com.apple.product-type.application"; - }; - 645834672BF5F92600E18321 /* DouShouQi_AppTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 6458347F2BF5F92600E18321 /* Build configuration list for PBXNativeTarget "DouShouQi_AppTests" */; - buildPhases = ( - 645834642BF5F92600E18321 /* Sources */, - 645834652BF5F92600E18321 /* Frameworks */, - 645834662BF5F92600E18321 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 6458346A2BF5F92600E18321 /* PBXTargetDependency */, - ); - name = DouShouQi_AppTests; - productName = DouShouQi_AppTests; - productReference = 645834682BF5F92600E18321 /* DouShouQi_AppTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 645834712BF5F92600E18321 /* DouShouQi_AppUITests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 645834822BF5F92600E18321 /* Build configuration list for PBXNativeTarget "DouShouQi_AppUITests" */; - buildPhases = ( - 6458346E2BF5F92600E18321 /* Sources */, - 6458346F2BF5F92600E18321 /* Frameworks */, - 645834702BF5F92600E18321 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 645834742BF5F92600E18321 /* PBXTargetDependency */, - ); - name = DouShouQi_AppUITests; - productName = DouShouQi_AppUITests; - productReference = 645834722BF5F92600E18321 /* DouShouQi_AppUITests.xctest */; - productType = "com.apple.product-type.bundle.ui-testing"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 645834502BF5F92300E18321 /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = 1; - LastSwiftUpdateCheck = 1420; - LastUpgradeCheck = 1510; - TargetAttributes = { - 645834572BF5F92300E18321 = { - CreatedOnToolsVersion = 14.2; - }; - 645834672BF5F92600E18321 = { - CreatedOnToolsVersion = 14.2; - TestTargetID = 645834572BF5F92300E18321; - }; - 645834712BF5F92600E18321 = { - CreatedOnToolsVersion = 14.2; - TestTargetID = 645834572BF5F92300E18321; - }; - }; - }; - buildConfigurationList = 645834532BF5F92300E18321 /* Build configuration list for PBXProject "DouShouQi_App" */; - compatibilityVersion = "Xcode 14.0"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 6458344F2BF5F92300E18321; - productRefGroup = 645834592BF5F92300E18321 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 645834572BF5F92300E18321 /* DouShouQi_App */, - 645834672BF5F92600E18321 /* DouShouQi_AppTests */, - 645834712BF5F92600E18321 /* DouShouQi_AppUITests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 645834562BF5F92300E18321 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 645834632BF5F92500E18321 /* Preview Assets.xcassets in Resources */, - 645834602BF5F92500E18321 /* Assets.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 645834662BF5F92600E18321 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 645834702BF5F92600E18321 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 645834542BF5F92300E18321 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ECDA24892BFFE98200AFC2AB /* SelectPlayerButtonView.swift in Sources */, - 6458345E2BF5F92300E18321 /* ContentView.swift in Sources */, - ECDE63532BFFD5C900753917 /* SelectPlayerView.swift in Sources */, - ECDA24872BFFE73E00AFC2AB /* ButtonView.swift in Sources */, - 6458345C2BF5F92300E18321 /* DouShouQi_AppApp.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 645834642BF5F92600E18321 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 6458346D2BF5F92600E18321 /* DouShouQi_AppTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 6458346E2BF5F92600E18321 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 645834792BF5F92600E18321 /* DouShouQi_AppUITestsLaunchTests.swift in Sources */, - 645834772BF5F92600E18321 /* DouShouQi_AppUITests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 6458346A2BF5F92600E18321 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 645834572BF5F92300E18321 /* DouShouQi_App */; - targetProxy = 645834692BF5F92600E18321 /* PBXContainerItemProxy */; - }; - 645834742BF5F92600E18321 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 645834572BF5F92300E18321 /* DouShouQi_App */; - targetProxy = 645834732BF5F92600E18321 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 6458347A2BF5F92600E18321 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 16.2; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 6458347B2BF5F92600E18321 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 16.2; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 6458347D2BF5F92600E18321 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_ASSET_PATHS = "\"DouShouQi_App/Preview Content\""; - ENABLE_PREVIEWS = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = "DouShouQi-App-Info.plist"; - INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchScreen_Generation = YES; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = "fr.uca.iut.DouShouQi-App"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 6458347E2BF5F92600E18321 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_ASSET_PATHS = "\"DouShouQi_App/Preview Content\""; - ENABLE_PREVIEWS = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = "DouShouQi-App-Info.plist"; - INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchScreen_Generation = YES; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = "fr.uca.iut.DouShouQi-App"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - 645834802BF5F92600E18321 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 16.2; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = "fr.uca.iut.DouShouQi-AppTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DouShouQi_App.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/DouShouQi_App"; - }; - name = Debug; - }; - 645834812BF5F92600E18321 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 16.2; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = "fr.uca.iut.DouShouQi-AppTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DouShouQi_App.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/DouShouQi_App"; - }; - name = Release; - }; - 645834832BF5F92600E18321 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = "fr.uca.iut.DouShouQi-AppUITests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = DouShouQi_App; - }; - name = Debug; - }; - 645834842BF5F92600E18321 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = "fr.uca.iut.DouShouQi-AppUITests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = DouShouQi_App; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 645834532BF5F92300E18321 /* Build configuration list for PBXProject "DouShouQi_App" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 6458347A2BF5F92600E18321 /* Debug */, - 6458347B2BF5F92600E18321 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 6458347C2BF5F92600E18321 /* Build configuration list for PBXNativeTarget "DouShouQi_App" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 6458347D2BF5F92600E18321 /* Debug */, - 6458347E2BF5F92600E18321 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 6458347F2BF5F92600E18321 /* Build configuration list for PBXNativeTarget "DouShouQi_AppTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 645834802BF5F92600E18321 /* Debug */, - 645834812BF5F92600E18321 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 645834822BF5F92600E18321 /* Build configuration list for PBXNativeTarget "DouShouQi_AppUITests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 645834832BF5F92600E18321 /* Debug */, - 645834842BF5F92600E18321 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 645834502BF5F92300E18321 /* Project object */; -} diff --git a/DouShouQi_App/DouShouQi_App/Components/TitlePageFrame.swift b/DouShouQi_App/DouShouQi_App/Components/TitlePageFrame.swift new file mode 100644 index 0000000..e492471 --- /dev/null +++ b/DouShouQi_App/DouShouQi_App/Components/TitlePageFrame.swift @@ -0,0 +1,36 @@ +// +// TitlePageFrame.swift +// DouShouQi_App +// +// Created by Rémi REGNAULT on 16/05/2024. +// + +import SwiftUI + +struct TitlePageFrame: View { + + // Image Params + var ImageWidth: CGFloat + var ImageHeight: CGFloat + + var body: some View { + VStack(alignment: .leading) { + ZStack { + Image(AppImages.TitleImage) + .resizable() + .aspectRatio(contentMode: .fit) + .frame(width: ImageWidth, height: ImageHeight) + + Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/) + .textStyle(T: TextStyles.ViewTitle) + + } + } + } +} + +struct TitlePageFrame_Previews: PreviewProvider { + static var previews: some View { + TitlePageFrame(ImageWidth: 200, ImageHeight: 200) + } +}