From d8329bf6ed36b3125cb603513d54f5fe6262da05 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Mon, 9 Jun 2025 16:08:13 -0700 Subject: [PATCH] Initial Commit --- BerryLeaderboards.xcodeproj/project.pbxproj | 556 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcschemes/xcschememanagement.plist | 14 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 58 ++ .../Assets.xcassets/Contents.json | 6 + .../BerryLeaderboards.entitlements | 10 + BerryLeaderboards/BerryLeaderboardsApp.swift | 17 + BerryLeaderboards/ContentView.swift | 24 + .../BerryLeaderboardsTests.swift | 17 + .../BerryLeaderboardsUITests.swift | 41 ++ .../BerryLeaderboardsUITestsLaunchTests.swift | 33 ++ 12 files changed, 794 insertions(+) create mode 100644 BerryLeaderboards.xcodeproj/project.pbxproj create mode 100644 BerryLeaderboards.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 BerryLeaderboards.xcodeproj/xcuserdata/lncvrt.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 BerryLeaderboards/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 BerryLeaderboards/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 BerryLeaderboards/Assets.xcassets/Contents.json create mode 100644 BerryLeaderboards/BerryLeaderboards.entitlements create mode 100644 BerryLeaderboards/BerryLeaderboardsApp.swift create mode 100644 BerryLeaderboards/ContentView.swift create mode 100644 BerryLeaderboardsTests/BerryLeaderboardsTests.swift create mode 100644 BerryLeaderboardsUITests/BerryLeaderboardsUITests.swift create mode 100644 BerryLeaderboardsUITests/BerryLeaderboardsUITestsLaunchTests.swift diff --git a/BerryLeaderboards.xcodeproj/project.pbxproj b/BerryLeaderboards.xcodeproj/project.pbxproj new file mode 100644 index 0000000..efc095b --- /dev/null +++ b/BerryLeaderboards.xcodeproj/project.pbxproj @@ -0,0 +1,556 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXContainerItemProxy section */ + 1F7A1CDF2DF7A0CD00464EB4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1F7A1CC82DF7A0C500464EB4 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1F7A1CCF2DF7A0C500464EB4; + remoteInfo = BerryLeaderboards; + }; + 1F7A1CE92DF7A0CD00464EB4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1F7A1CC82DF7A0C500464EB4 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1F7A1CCF2DF7A0C500464EB4; + remoteInfo = BerryLeaderboards; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1F7A1CD02DF7A0C500464EB4 /* BerryLeaderboards.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BerryLeaderboards.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 1F7A1CDE2DF7A0CD00464EB4 /* BerryLeaderboardsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BerryLeaderboardsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 1F7A1CE82DF7A0CD00464EB4 /* BerryLeaderboardsUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BerryLeaderboardsUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFileSystemSynchronizedRootGroup section */ + 1F7A1CD22DF7A0C500464EB4 /* BerryLeaderboards */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = BerryLeaderboards; + sourceTree = ""; + }; + 1F7A1CE12DF7A0CD00464EB4 /* BerryLeaderboardsTests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = BerryLeaderboardsTests; + sourceTree = ""; + }; + 1F7A1CEB2DF7A0CD00464EB4 /* BerryLeaderboardsUITests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = BerryLeaderboardsUITests; + sourceTree = ""; + }; +/* End PBXFileSystemSynchronizedRootGroup section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1F7A1CCD2DF7A0C500464EB4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1F7A1CDB2DF7A0CD00464EB4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1F7A1CE52DF7A0CD00464EB4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 1F7A1CC72DF7A0C500464EB4 = { + isa = PBXGroup; + children = ( + 1F7A1CD22DF7A0C500464EB4 /* BerryLeaderboards */, + 1F7A1CE12DF7A0CD00464EB4 /* BerryLeaderboardsTests */, + 1F7A1CEB2DF7A0CD00464EB4 /* BerryLeaderboardsUITests */, + 1F7A1CD12DF7A0C500464EB4 /* Products */, + ); + sourceTree = ""; + }; + 1F7A1CD12DF7A0C500464EB4 /* Products */ = { + isa = PBXGroup; + children = ( + 1F7A1CD02DF7A0C500464EB4 /* BerryLeaderboards.app */, + 1F7A1CDE2DF7A0CD00464EB4 /* BerryLeaderboardsTests.xctest */, + 1F7A1CE82DF7A0CD00464EB4 /* BerryLeaderboardsUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1F7A1CCF2DF7A0C500464EB4 /* BerryLeaderboards */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1F7A1CF22DF7A0CD00464EB4 /* Build configuration list for PBXNativeTarget "BerryLeaderboards" */; + buildPhases = ( + 1F7A1CCC2DF7A0C500464EB4 /* Sources */, + 1F7A1CCD2DF7A0C500464EB4 /* Frameworks */, + 1F7A1CCE2DF7A0C500464EB4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + 1F7A1CD22DF7A0C500464EB4 /* BerryLeaderboards */, + ); + name = BerryLeaderboards; + packageProductDependencies = ( + ); + productName = BerryLeaderboards; + productReference = 1F7A1CD02DF7A0C500464EB4 /* BerryLeaderboards.app */; + productType = "com.apple.product-type.application"; + }; + 1F7A1CDD2DF7A0CD00464EB4 /* BerryLeaderboardsTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1F7A1CF52DF7A0CD00464EB4 /* Build configuration list for PBXNativeTarget "BerryLeaderboardsTests" */; + buildPhases = ( + 1F7A1CDA2DF7A0CD00464EB4 /* Sources */, + 1F7A1CDB2DF7A0CD00464EB4 /* Frameworks */, + 1F7A1CDC2DF7A0CD00464EB4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 1F7A1CE02DF7A0CD00464EB4 /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + 1F7A1CE12DF7A0CD00464EB4 /* BerryLeaderboardsTests */, + ); + name = BerryLeaderboardsTests; + packageProductDependencies = ( + ); + productName = BerryLeaderboardsTests; + productReference = 1F7A1CDE2DF7A0CD00464EB4 /* BerryLeaderboardsTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 1F7A1CE72DF7A0CD00464EB4 /* BerryLeaderboardsUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1F7A1CF82DF7A0CD00464EB4 /* Build configuration list for PBXNativeTarget "BerryLeaderboardsUITests" */; + buildPhases = ( + 1F7A1CE42DF7A0CD00464EB4 /* Sources */, + 1F7A1CE52DF7A0CD00464EB4 /* Frameworks */, + 1F7A1CE62DF7A0CD00464EB4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 1F7A1CEA2DF7A0CD00464EB4 /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + 1F7A1CEB2DF7A0CD00464EB4 /* BerryLeaderboardsUITests */, + ); + name = BerryLeaderboardsUITests; + packageProductDependencies = ( + ); + productName = BerryLeaderboardsUITests; + productReference = 1F7A1CE82DF7A0CD00464EB4 /* BerryLeaderboardsUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 1F7A1CC82DF7A0C500464EB4 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1640; + LastUpgradeCheck = 1640; + TargetAttributes = { + 1F7A1CCF2DF7A0C500464EB4 = { + CreatedOnToolsVersion = 16.4; + }; + 1F7A1CDD2DF7A0CD00464EB4 = { + CreatedOnToolsVersion = 16.4; + TestTargetID = 1F7A1CCF2DF7A0C500464EB4; + }; + 1F7A1CE72DF7A0CD00464EB4 = { + CreatedOnToolsVersion = 16.4; + TestTargetID = 1F7A1CCF2DF7A0C500464EB4; + }; + }; + }; + buildConfigurationList = 1F7A1CCB2DF7A0C500464EB4 /* Build configuration list for PBXProject "BerryLeaderboards" */; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 1F7A1CC72DF7A0C500464EB4; + minimizedProjectReferenceProxies = 1; + preferredProjectObjectVersion = 77; + productRefGroup = 1F7A1CD12DF7A0C500464EB4 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 1F7A1CCF2DF7A0C500464EB4 /* BerryLeaderboards */, + 1F7A1CDD2DF7A0CD00464EB4 /* BerryLeaderboardsTests */, + 1F7A1CE72DF7A0CD00464EB4 /* BerryLeaderboardsUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 1F7A1CCE2DF7A0C500464EB4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1F7A1CDC2DF7A0CD00464EB4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1F7A1CE62DF7A0CD00464EB4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1F7A1CCC2DF7A0C500464EB4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1F7A1CDA2DF7A0CD00464EB4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1F7A1CE42DF7A0CD00464EB4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1F7A1CE02DF7A0CD00464EB4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 1F7A1CCF2DF7A0C500464EB4 /* BerryLeaderboards */; + targetProxy = 1F7A1CDF2DF7A0CD00464EB4 /* PBXContainerItemProxy */; + }; + 1F7A1CEA2DF7A0CD00464EB4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 1F7A1CCF2DF7A0C500464EB4 /* BerryLeaderboards */; + targetProxy = 1F7A1CE92DF7A0CD00464EB4 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 1F7A1CF02DF7A0CD00464EB4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + 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; + DEVELOPMENT_TEAM = UA7XPYM6ZB; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + 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; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MACOSX_DEPLOYMENT_TARGET = 15.5; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 1F7A1CF12DF7A0CD00464EB4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + 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"; + DEVELOPMENT_TEAM = UA7XPYM6ZB; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + 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; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MACOSX_DEPLOYMENT_TARGET = 15.5; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = macosx; + SWIFT_COMPILATION_MODE = wholemodule; + }; + name = Release; + }; + 1F7A1CF32DF7A0CD00464EB4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = BerryLeaderboards/BerryLeaderboards.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = UA7XPYM6ZB; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = xyz.lncvrt.BerryLeaderboards; + PRODUCT_NAME = "$(TARGET_NAME)"; + REGISTER_APP_GROUPS = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + 1F7A1CF42DF7A0CD00464EB4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = BerryLeaderboards/BerryLeaderboards.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = UA7XPYM6ZB; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = xyz.lncvrt.BerryLeaderboards; + PRODUCT_NAME = "$(TARGET_NAME)"; + REGISTER_APP_GROUPS = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; + 1F7A1CF62DF7A0CD00464EB4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = UA7XPYM6ZB; + GENERATE_INFOPLIST_FILE = YES; + MACOSX_DEPLOYMENT_TARGET = 15.5; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = xyz.lncvrt.BerryLeaderboardsTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BerryLeaderboards.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/BerryLeaderboards"; + }; + name = Debug; + }; + 1F7A1CF72DF7A0CD00464EB4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = UA7XPYM6ZB; + GENERATE_INFOPLIST_FILE = YES; + MACOSX_DEPLOYMENT_TARGET = 15.5; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = xyz.lncvrt.BerryLeaderboardsTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BerryLeaderboards.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/BerryLeaderboards"; + }; + name = Release; + }; + 1F7A1CF92DF7A0CD00464EB4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = UA7XPYM6ZB; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = xyz.lncvrt.BerryLeaderboardsUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TEST_TARGET_NAME = BerryLeaderboards; + }; + name = Debug; + }; + 1F7A1CFA2DF7A0CD00464EB4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = UA7XPYM6ZB; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = xyz.lncvrt.BerryLeaderboardsUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TEST_TARGET_NAME = BerryLeaderboards; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1F7A1CCB2DF7A0C500464EB4 /* Build configuration list for PBXProject "BerryLeaderboards" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1F7A1CF02DF7A0CD00464EB4 /* Debug */, + 1F7A1CF12DF7A0CD00464EB4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1F7A1CF22DF7A0CD00464EB4 /* Build configuration list for PBXNativeTarget "BerryLeaderboards" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1F7A1CF32DF7A0CD00464EB4 /* Debug */, + 1F7A1CF42DF7A0CD00464EB4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1F7A1CF52DF7A0CD00464EB4 /* Build configuration list for PBXNativeTarget "BerryLeaderboardsTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1F7A1CF62DF7A0CD00464EB4 /* Debug */, + 1F7A1CF72DF7A0CD00464EB4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1F7A1CF82DF7A0CD00464EB4 /* Build configuration list for PBXNativeTarget "BerryLeaderboardsUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1F7A1CF92DF7A0CD00464EB4 /* Debug */, + 1F7A1CFA2DF7A0CD00464EB4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 1F7A1CC82DF7A0C500464EB4 /* Project object */; +} diff --git a/BerryLeaderboards.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/BerryLeaderboards.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/BerryLeaderboards.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/BerryLeaderboards.xcodeproj/xcuserdata/lncvrt.xcuserdatad/xcschemes/xcschememanagement.plist b/BerryLeaderboards.xcodeproj/xcuserdata/lncvrt.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..eda73ff --- /dev/null +++ b/BerryLeaderboards.xcodeproj/xcuserdata/lncvrt.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + BerryLeaderboards.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/BerryLeaderboards/Assets.xcassets/AccentColor.colorset/Contents.json b/BerryLeaderboards/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/BerryLeaderboards/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/BerryLeaderboards/Assets.xcassets/AppIcon.appiconset/Contents.json b/BerryLeaderboards/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..3f00db4 --- /dev/null +++ b/BerryLeaderboards/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,58 @@ +{ + "images" : [ + { + "idiom" : "mac", + "scale" : "1x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "512x512" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "512x512" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/BerryLeaderboards/Assets.xcassets/Contents.json b/BerryLeaderboards/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/BerryLeaderboards/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/BerryLeaderboards/BerryLeaderboards.entitlements b/BerryLeaderboards/BerryLeaderboards.entitlements new file mode 100644 index 0000000..18aff0c --- /dev/null +++ b/BerryLeaderboards/BerryLeaderboards.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + + diff --git a/BerryLeaderboards/BerryLeaderboardsApp.swift b/BerryLeaderboards/BerryLeaderboardsApp.swift new file mode 100644 index 0000000..b8ad204 --- /dev/null +++ b/BerryLeaderboards/BerryLeaderboardsApp.swift @@ -0,0 +1,17 @@ +// +// BerryLeaderboardsApp.swift +// BerryLeaderboards +// +// Created by Lncvrt on 6/9/25. +// + +import SwiftUI + +@main +struct BerryLeaderboardsApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/BerryLeaderboards/ContentView.swift b/BerryLeaderboards/ContentView.swift new file mode 100644 index 0000000..75c9d79 --- /dev/null +++ b/BerryLeaderboards/ContentView.swift @@ -0,0 +1,24 @@ +// +// ContentView.swift +// BerryLeaderboards +// +// Created by Lncvrt on 6/9/25. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + VStack { + Image(systemName: "globe") + .imageScale(.large) + .foregroundStyle(.tint) + Text("Hello, world!") + } + .padding() + } +} + +#Preview { + ContentView() +} diff --git a/BerryLeaderboardsTests/BerryLeaderboardsTests.swift b/BerryLeaderboardsTests/BerryLeaderboardsTests.swift new file mode 100644 index 0000000..c405acb --- /dev/null +++ b/BerryLeaderboardsTests/BerryLeaderboardsTests.swift @@ -0,0 +1,17 @@ +// +// BerryLeaderboardsTests.swift +// BerryLeaderboardsTests +// +// Created by Lncvrt on 6/9/25. +// + +import Testing +@testable import BerryLeaderboards + +struct BerryLeaderboardsTests { + + @Test func example() async throws { + // Write your test here and use APIs like `#expect(...)` to check expected conditions. + } + +} diff --git a/BerryLeaderboardsUITests/BerryLeaderboardsUITests.swift b/BerryLeaderboardsUITests/BerryLeaderboardsUITests.swift new file mode 100644 index 0000000..315b8ae --- /dev/null +++ b/BerryLeaderboardsUITests/BerryLeaderboardsUITests.swift @@ -0,0 +1,41 @@ +// +// BerryLeaderboardsUITests.swift +// BerryLeaderboardsUITests +// +// Created by Lncvrt on 6/9/25. +// + +import XCTest + +final class BerryLeaderboardsUITests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + + // In UI tests it is usually best to stop immediately when a failure occurs. + continueAfterFailure = false + + // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + @MainActor + func testExample() throws { + // UI tests must launch the application that they test. + let app = XCUIApplication() + app.launch() + + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + @MainActor + func testLaunchPerformance() throws { + // This measures how long it takes to launch your application. + measure(metrics: [XCTApplicationLaunchMetric()]) { + XCUIApplication().launch() + } + } +} diff --git a/BerryLeaderboardsUITests/BerryLeaderboardsUITestsLaunchTests.swift b/BerryLeaderboardsUITests/BerryLeaderboardsUITestsLaunchTests.swift new file mode 100644 index 0000000..eab79d0 --- /dev/null +++ b/BerryLeaderboardsUITests/BerryLeaderboardsUITestsLaunchTests.swift @@ -0,0 +1,33 @@ +// +// BerryLeaderboardsUITestsLaunchTests.swift +// BerryLeaderboardsUITests +// +// Created by Lncvrt on 6/9/25. +// + +import XCTest + +final class BerryLeaderboardsUITestsLaunchTests: XCTestCase { + + override class var runsForEachTargetApplicationUIConfiguration: Bool { + true + } + + override func setUpWithError() throws { + continueAfterFailure = false + } + + @MainActor + func testLaunch() throws { + let app = XCUIApplication() + app.launch() + + // Insert steps here to perform after app launch but before taking a screenshot, + // such as logging into a test account or navigating somewhere in the app + + let attachment = XCTAttachment(screenshot: app.screenshot()) + attachment.name = "Launch Screen" + attachment.lifetime = .keepAlways + add(attachment) + } +}