From b8bd1f34dedad5819f9a08c7f92372ecbdd2e435 Mon Sep 17 00:00:00 2001 From: Rusty S Date: Sat, 9 Aug 2025 09:24:54 -0400 Subject: [PATCH] Initial Commit --- xcode-cloud-test.xcodeproj/project.pbxproj | 558 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcschemes/xcschememanagement.plist | 14 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 58 ++ .../Assets.xcassets/Contents.json | 6 + xcode-cloud-test/ContentView.swift | 59 ++ xcode-cloud-test/Item.swift | 18 + .../xcode_cloud_test.entitlements | 10 + xcode-cloud-test/xcode_cloud_testApp.swift | 32 + .../xcode_cloud_testTests.swift | 36 ++ .../xcode_cloud_testUITests.swift | 41 ++ .../xcode_cloud_testUITestsLaunchTests.swift | 33 ++ 13 files changed, 883 insertions(+) create mode 100644 xcode-cloud-test.xcodeproj/project.pbxproj create mode 100644 xcode-cloud-test.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 xcode-cloud-test.xcodeproj/xcuserdata/rusty-shackleford.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 xcode-cloud-test/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 xcode-cloud-test/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 xcode-cloud-test/Assets.xcassets/Contents.json create mode 100644 xcode-cloud-test/ContentView.swift create mode 100644 xcode-cloud-test/Item.swift create mode 100644 xcode-cloud-test/xcode_cloud_test.entitlements create mode 100644 xcode-cloud-test/xcode_cloud_testApp.swift create mode 100644 xcode-cloud-testTests/xcode_cloud_testTests.swift create mode 100644 xcode-cloud-testUITests/xcode_cloud_testUITests.swift create mode 100644 xcode-cloud-testUITests/xcode_cloud_testUITestsLaunchTests.swift diff --git a/xcode-cloud-test.xcodeproj/project.pbxproj b/xcode-cloud-test.xcodeproj/project.pbxproj new file mode 100644 index 0000000..fa6d230 --- /dev/null +++ b/xcode-cloud-test.xcodeproj/project.pbxproj @@ -0,0 +1,558 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXContainerItemProxy section */ + FE2EAB9B2E4783A40002FD58 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FE2EAB822E4783A30002FD58 /* Project object */; + proxyType = 1; + remoteGlobalIDString = FE2EAB892E4783A30002FD58; + remoteInfo = "xcode-cloud-test"; + }; + FE2EABA52E4783A40002FD58 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FE2EAB822E4783A30002FD58 /* Project object */; + proxyType = 1; + remoteGlobalIDString = FE2EAB892E4783A30002FD58; + remoteInfo = "xcode-cloud-test"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + FE2EAB8A2E4783A30002FD58 /* xcode-cloud-test.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "xcode-cloud-test.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + FE2EAB9A2E4783A40002FD58 /* xcode-cloud-testTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "xcode-cloud-testTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + FE2EABA42E4783A40002FD58 /* xcode-cloud-testUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "xcode-cloud-testUITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFileSystemSynchronizedRootGroup section */ + FE2EAB8C2E4783A30002FD58 /* xcode-cloud-test */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = "xcode-cloud-test"; + sourceTree = ""; + }; + FE2EAB9D2E4783A40002FD58 /* xcode-cloud-testTests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = "xcode-cloud-testTests"; + sourceTree = ""; + }; + FE2EABA72E4783A40002FD58 /* xcode-cloud-testUITests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = "xcode-cloud-testUITests"; + sourceTree = ""; + }; +/* End PBXFileSystemSynchronizedRootGroup section */ + +/* Begin PBXFrameworksBuildPhase section */ + FE2EAB872E4783A30002FD58 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FE2EAB972E4783A40002FD58 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FE2EABA12E4783A40002FD58 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + FE2EAB812E4783A30002FD58 = { + isa = PBXGroup; + children = ( + FE2EAB8C2E4783A30002FD58 /* xcode-cloud-test */, + FE2EAB9D2E4783A40002FD58 /* xcode-cloud-testTests */, + FE2EABA72E4783A40002FD58 /* xcode-cloud-testUITests */, + FE2EAB8B2E4783A30002FD58 /* Products */, + ); + sourceTree = ""; + }; + FE2EAB8B2E4783A30002FD58 /* Products */ = { + isa = PBXGroup; + children = ( + FE2EAB8A2E4783A30002FD58 /* xcode-cloud-test.app */, + FE2EAB9A2E4783A40002FD58 /* xcode-cloud-testTests.xctest */, + FE2EABA42E4783A40002FD58 /* xcode-cloud-testUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + FE2EAB892E4783A30002FD58 /* xcode-cloud-test */ = { + isa = PBXNativeTarget; + buildConfigurationList = FE2EABAE2E4783A40002FD58 /* Build configuration list for PBXNativeTarget "xcode-cloud-test" */; + buildPhases = ( + FE2EAB862E4783A30002FD58 /* Sources */, + FE2EAB872E4783A30002FD58 /* Frameworks */, + FE2EAB882E4783A30002FD58 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + FE2EAB8C2E4783A30002FD58 /* xcode-cloud-test */, + ); + name = "xcode-cloud-test"; + packageProductDependencies = ( + ); + productName = "xcode-cloud-test"; + productReference = FE2EAB8A2E4783A30002FD58 /* xcode-cloud-test.app */; + productType = "com.apple.product-type.application"; + }; + FE2EAB992E4783A40002FD58 /* xcode-cloud-testTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = FE2EABB12E4783A40002FD58 /* Build configuration list for PBXNativeTarget "xcode-cloud-testTests" */; + buildPhases = ( + FE2EAB962E4783A40002FD58 /* Sources */, + FE2EAB972E4783A40002FD58 /* Frameworks */, + FE2EAB982E4783A40002FD58 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + FE2EAB9C2E4783A40002FD58 /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + FE2EAB9D2E4783A40002FD58 /* xcode-cloud-testTests */, + ); + name = "xcode-cloud-testTests"; + packageProductDependencies = ( + ); + productName = "xcode-cloud-testTests"; + productReference = FE2EAB9A2E4783A40002FD58 /* xcode-cloud-testTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + FE2EABA32E4783A40002FD58 /* xcode-cloud-testUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = FE2EABB42E4783A40002FD58 /* Build configuration list for PBXNativeTarget "xcode-cloud-testUITests" */; + buildPhases = ( + FE2EABA02E4783A40002FD58 /* Sources */, + FE2EABA12E4783A40002FD58 /* Frameworks */, + FE2EABA22E4783A40002FD58 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + FE2EABA62E4783A40002FD58 /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + FE2EABA72E4783A40002FD58 /* xcode-cloud-testUITests */, + ); + name = "xcode-cloud-testUITests"; + packageProductDependencies = ( + ); + productName = "xcode-cloud-testUITests"; + productReference = FE2EABA42E4783A40002FD58 /* xcode-cloud-testUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + FE2EAB822E4783A30002FD58 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1640; + LastUpgradeCheck = 1640; + TargetAttributes = { + FE2EAB892E4783A30002FD58 = { + CreatedOnToolsVersion = 16.4; + }; + FE2EAB992E4783A40002FD58 = { + CreatedOnToolsVersion = 16.4; + TestTargetID = FE2EAB892E4783A30002FD58; + }; + FE2EABA32E4783A40002FD58 = { + CreatedOnToolsVersion = 16.4; + TestTargetID = FE2EAB892E4783A30002FD58; + }; + }; + }; + buildConfigurationList = FE2EAB852E4783A30002FD58 /* Build configuration list for PBXProject "xcode-cloud-test" */; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = FE2EAB812E4783A30002FD58; + minimizedProjectReferenceProxies = 1; + preferredProjectObjectVersion = 77; + productRefGroup = FE2EAB8B2E4783A30002FD58 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + FE2EAB892E4783A30002FD58 /* xcode-cloud-test */, + FE2EAB992E4783A40002FD58 /* xcode-cloud-testTests */, + FE2EABA32E4783A40002FD58 /* xcode-cloud-testUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + FE2EAB882E4783A30002FD58 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FE2EAB982E4783A40002FD58 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FE2EABA22E4783A40002FD58 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + FE2EAB862E4783A30002FD58 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FE2EAB962E4783A40002FD58 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FE2EABA02E4783A40002FD58 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + FE2EAB9C2E4783A40002FD58 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = FE2EAB892E4783A30002FD58 /* xcode-cloud-test */; + targetProxy = FE2EAB9B2E4783A40002FD58 /* PBXContainerItemProxy */; + }; + FE2EABA62E4783A40002FD58 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = FE2EAB892E4783A30002FD58 /* xcode-cloud-test */; + targetProxy = FE2EABA52E4783A40002FD58 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + FE2EABAC2E4783A40002FD58 /* 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 = 526T4J8YT4; + 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.3; + 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; + }; + FE2EABAD2E4783A40002FD58 /* 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 = 526T4J8YT4; + 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.3; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = macosx; + SWIFT_COMPILATION_MODE = wholemodule; + }; + name = Release; + }; + FE2EABAF2E4783A40002FD58 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = "xcode-cloud-test/xcode_cloud_test.entitlements"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 526T4J8YT4; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 14.0; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "app.admc.xcode-cloud-test"; + PRODUCT_NAME = "$(TARGET_NAME)"; + REGISTER_APP_GROUPS = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + FE2EABB02E4783A40002FD58 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = "xcode-cloud-test/xcode_cloud_test.entitlements"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 526T4J8YT4; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 14.0; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "app.admc.xcode-cloud-test"; + PRODUCT_NAME = "$(TARGET_NAME)"; + REGISTER_APP_GROUPS = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; + FE2EABB22E4783A40002FD58 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 526T4J8YT4; + GENERATE_INFOPLIST_FILE = YES; + MACOSX_DEPLOYMENT_TARGET = 14.0; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "app.admc.xcode-cloud-testTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/xcode-cloud-test.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/xcode-cloud-test"; + }; + name = Debug; + }; + FE2EABB32E4783A40002FD58 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 526T4J8YT4; + GENERATE_INFOPLIST_FILE = YES; + MACOSX_DEPLOYMENT_TARGET = 14.0; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "app.admc.xcode-cloud-testTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/xcode-cloud-test.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/xcode-cloud-test"; + }; + name = Release; + }; + FE2EABB52E4783A40002FD58 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 526T4J8YT4; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "app.admc.xcode-cloud-testUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TEST_TARGET_NAME = "xcode-cloud-test"; + }; + name = Debug; + }; + FE2EABB62E4783A40002FD58 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 526T4J8YT4; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "app.admc.xcode-cloud-testUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TEST_TARGET_NAME = "xcode-cloud-test"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + FE2EAB852E4783A30002FD58 /* Build configuration list for PBXProject "xcode-cloud-test" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FE2EABAC2E4783A40002FD58 /* Debug */, + FE2EABAD2E4783A40002FD58 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + FE2EABAE2E4783A40002FD58 /* Build configuration list for PBXNativeTarget "xcode-cloud-test" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FE2EABAF2E4783A40002FD58 /* Debug */, + FE2EABB02E4783A40002FD58 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + FE2EABB12E4783A40002FD58 /* Build configuration list for PBXNativeTarget "xcode-cloud-testTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FE2EABB22E4783A40002FD58 /* Debug */, + FE2EABB32E4783A40002FD58 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + FE2EABB42E4783A40002FD58 /* Build configuration list for PBXNativeTarget "xcode-cloud-testUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FE2EABB52E4783A40002FD58 /* Debug */, + FE2EABB62E4783A40002FD58 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = FE2EAB822E4783A30002FD58 /* Project object */; +} diff --git a/xcode-cloud-test.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/xcode-cloud-test.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/xcode-cloud-test.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/xcode-cloud-test.xcodeproj/xcuserdata/rusty-shackleford.xcuserdatad/xcschemes/xcschememanagement.plist b/xcode-cloud-test.xcodeproj/xcuserdata/rusty-shackleford.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..f465058 --- /dev/null +++ b/xcode-cloud-test.xcodeproj/xcuserdata/rusty-shackleford.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + xcode-cloud-test.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/xcode-cloud-test/Assets.xcassets/AccentColor.colorset/Contents.json b/xcode-cloud-test/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/xcode-cloud-test/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/xcode-cloud-test/Assets.xcassets/AppIcon.appiconset/Contents.json b/xcode-cloud-test/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..3f00db4 --- /dev/null +++ b/xcode-cloud-test/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/xcode-cloud-test/Assets.xcassets/Contents.json b/xcode-cloud-test/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/xcode-cloud-test/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/xcode-cloud-test/ContentView.swift b/xcode-cloud-test/ContentView.swift new file mode 100644 index 0000000..1cc675b --- /dev/null +++ b/xcode-cloud-test/ContentView.swift @@ -0,0 +1,59 @@ +// +// ContentView.swift +// xcode-cloud-test +// +// Created by CL on 8/9/25. +// + +import SwiftUI +import SwiftData + +struct ContentView: View { + @Environment(\.modelContext) private var modelContext + @Query private var items: [Item] + + var body: some View { + NavigationSplitView { + List { + ForEach(items) { item in + NavigationLink { + Text("Item at \(item.timestamp, format: Date.FormatStyle(date: .numeric, time: .standard))") + } label: { + Text(item.timestamp, format: Date.FormatStyle(date: .numeric, time: .standard)) + } + } + .onDelete(perform: deleteItems) + } + .navigationSplitViewColumnWidth(min: 180, ideal: 200) + .toolbar { + ToolbarItem { + Button(action: addItem) { + Label("Add Item", systemImage: "plus") + } + } + } + } detail: { + Text("Select an item") + } + } + + private func addItem() { + withAnimation { + let newItem = Item(timestamp: Date()) + modelContext.insert(newItem) + } + } + + private func deleteItems(offsets: IndexSet) { + withAnimation { + for index in offsets { + modelContext.delete(items[index]) + } + } + } +} + +#Preview { + ContentView() + .modelContainer(for: Item.self, inMemory: true) +} diff --git a/xcode-cloud-test/Item.swift b/xcode-cloud-test/Item.swift new file mode 100644 index 0000000..3cd7186 --- /dev/null +++ b/xcode-cloud-test/Item.swift @@ -0,0 +1,18 @@ +// +// Item.swift +// xcode-cloud-test +// +// Created by CL on 8/9/25. +// + +import Foundation +import SwiftData + +@Model +final class Item { + var timestamp: Date + + init(timestamp: Date) { + self.timestamp = timestamp + } +} diff --git a/xcode-cloud-test/xcode_cloud_test.entitlements b/xcode-cloud-test/xcode_cloud_test.entitlements new file mode 100644 index 0000000..18aff0c --- /dev/null +++ b/xcode-cloud-test/xcode_cloud_test.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + + diff --git a/xcode-cloud-test/xcode_cloud_testApp.swift b/xcode-cloud-test/xcode_cloud_testApp.swift new file mode 100644 index 0000000..b7058bc --- /dev/null +++ b/xcode-cloud-test/xcode_cloud_testApp.swift @@ -0,0 +1,32 @@ +// +// xcode_cloud_testApp.swift +// xcode-cloud-test +// +// Created by CL on 8/9/25. +// + +import SwiftUI +import SwiftData + +@main +struct xcode_cloud_testApp: App { + var sharedModelContainer: ModelContainer = { + let schema = Schema([ + Item.self, + ]) + let modelConfiguration = ModelConfiguration(schema: schema, isStoredInMemoryOnly: false) + + do { + return try ModelContainer(for: schema, configurations: [modelConfiguration]) + } catch { + fatalError("Could not create ModelContainer: \(error)") + } + }() + + var body: some Scene { + WindowGroup { + ContentView() + } + .modelContainer(sharedModelContainer) + } +} diff --git a/xcode-cloud-testTests/xcode_cloud_testTests.swift b/xcode-cloud-testTests/xcode_cloud_testTests.swift new file mode 100644 index 0000000..06a1722 --- /dev/null +++ b/xcode-cloud-testTests/xcode_cloud_testTests.swift @@ -0,0 +1,36 @@ +// +// xcode_cloud_testTests.swift +// xcode-cloud-testTests +// +// Created by CL on 8/9/25. +// + +import XCTest +@testable import xcode_cloud_test + +final class xcode_cloud_testTests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() throws { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + // Any test you write for XCTest can be annotated as throws and async. + // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error. + // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards. + } + + func testPerformanceExample() throws { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/xcode-cloud-testUITests/xcode_cloud_testUITests.swift b/xcode-cloud-testUITests/xcode_cloud_testUITests.swift new file mode 100644 index 0000000..fded5f3 --- /dev/null +++ b/xcode-cloud-testUITests/xcode_cloud_testUITests.swift @@ -0,0 +1,41 @@ +// +// xcode_cloud_testUITests.swift +// xcode-cloud-testUITests +// +// Created by CL on 8/9/25. +// + +import XCTest + +final class xcode_cloud_testUITests: 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/xcode-cloud-testUITests/xcode_cloud_testUITestsLaunchTests.swift b/xcode-cloud-testUITests/xcode_cloud_testUITestsLaunchTests.swift new file mode 100644 index 0000000..7db3169 --- /dev/null +++ b/xcode-cloud-testUITests/xcode_cloud_testUITestsLaunchTests.swift @@ -0,0 +1,33 @@ +// +// xcode_cloud_testUITestsLaunchTests.swift +// xcode-cloud-testUITests +// +// Created by CL on 8/9/25. +// + +import XCTest + +final class xcode_cloud_testUITestsLaunchTests: 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) + } +}