From a8d6a90d5bb2b5fc942a2e9485c5c18685b2c5e9 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Tue, 13 Jan 2026 19:02:54 -0600 Subject: [PATCH] Add ContentView, SecureStorgageSampleApp, SecureStorgageSampleTests, SecureStorgageSampleUITests (+4 more) --- .../project.pbxproj | 575 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcschemes/xcschememanagement.plist | 14 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 35 ++ .../Assets.xcassets/Contents.json | 6 + SecureStorgageSample/ContentView.swift | 24 + .../SecureStorgageSampleApp.swift | 17 + .../SecureStorgageSampleTests.swift | 17 + .../SecureStorgageSampleUITests.swift | 41 ++ ...cureStorgageSampleUITestsLaunchTests.swift | 33 + 11 files changed, 780 insertions(+) create mode 100644 SecureStorgageSample.xcodeproj/project.pbxproj create mode 100644 SecureStorgageSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 SecureStorgageSample.xcodeproj/xcuserdata/mattbruce.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 SecureStorgageSample/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 SecureStorgageSample/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 SecureStorgageSample/Assets.xcassets/Contents.json create mode 100644 SecureStorgageSample/ContentView.swift create mode 100644 SecureStorgageSample/SecureStorgageSampleApp.swift create mode 100644 SecureStorgageSampleTests/SecureStorgageSampleTests.swift create mode 100644 SecureStorgageSampleUITests/SecureStorgageSampleUITests.swift create mode 100644 SecureStorgageSampleUITests/SecureStorgageSampleUITestsLaunchTests.swift diff --git a/SecureStorgageSample.xcodeproj/project.pbxproj b/SecureStorgageSample.xcodeproj/project.pbxproj new file mode 100644 index 0000000..78eede9 --- /dev/null +++ b/SecureStorgageSample.xcodeproj/project.pbxproj @@ -0,0 +1,575 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXContainerItemProxy section */ + EA179D0F2F1722BC00B1D54A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = EA179CF92F1722BB00B1D54A /* Project object */; + proxyType = 1; + remoteGlobalIDString = EA179D002F1722BB00B1D54A; + remoteInfo = SecureStorgageSample; + }; + EA179D192F1722BC00B1D54A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = EA179CF92F1722BB00B1D54A /* Project object */; + proxyType = 1; + remoteGlobalIDString = EA179D002F1722BB00B1D54A; + remoteInfo = SecureStorgageSample; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + EA179D012F1722BB00B1D54A /* SecureStorgageSample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SecureStorgageSample.app; sourceTree = BUILT_PRODUCTS_DIR; }; + EA179D0E2F1722BC00B1D54A /* SecureStorgageSampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SecureStorgageSampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + EA179D182F1722BC00B1D54A /* SecureStorgageSampleUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SecureStorgageSampleUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFileSystemSynchronizedRootGroup section */ + EA179D032F1722BB00B1D54A /* SecureStorgageSample */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = SecureStorgageSample; + sourceTree = ""; + }; + EA179D112F1722BC00B1D54A /* SecureStorgageSampleTests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = SecureStorgageSampleTests; + sourceTree = ""; + }; + EA179D1B2F1722BC00B1D54A /* SecureStorgageSampleUITests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = SecureStorgageSampleUITests; + sourceTree = ""; + }; +/* End PBXFileSystemSynchronizedRootGroup section */ + +/* Begin PBXFrameworksBuildPhase section */ + EA179CFE2F1722BB00B1D54A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EA179D0B2F1722BC00B1D54A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EA179D152F1722BC00B1D54A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + EA179CF82F1722BB00B1D54A = { + isa = PBXGroup; + children = ( + EA179D032F1722BB00B1D54A /* SecureStorgageSample */, + EA179D112F1722BC00B1D54A /* SecureStorgageSampleTests */, + EA179D1B2F1722BC00B1D54A /* SecureStorgageSampleUITests */, + EA179D022F1722BB00B1D54A /* Products */, + ); + sourceTree = ""; + }; + EA179D022F1722BB00B1D54A /* Products */ = { + isa = PBXGroup; + children = ( + EA179D012F1722BB00B1D54A /* SecureStorgageSample.app */, + EA179D0E2F1722BC00B1D54A /* SecureStorgageSampleTests.xctest */, + EA179D182F1722BC00B1D54A /* SecureStorgageSampleUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + EA179D002F1722BB00B1D54A /* SecureStorgageSample */ = { + isa = PBXNativeTarget; + buildConfigurationList = EA179D222F1722BC00B1D54A /* Build configuration list for PBXNativeTarget "SecureStorgageSample" */; + buildPhases = ( + EA179CFD2F1722BB00B1D54A /* Sources */, + EA179CFE2F1722BB00B1D54A /* Frameworks */, + EA179CFF2F1722BB00B1D54A /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + EA179D032F1722BB00B1D54A /* SecureStorgageSample */, + ); + name = SecureStorgageSample; + packageProductDependencies = ( + ); + productName = SecureStorgageSample; + productReference = EA179D012F1722BB00B1D54A /* SecureStorgageSample.app */; + productType = "com.apple.product-type.application"; + }; + EA179D0D2F1722BC00B1D54A /* SecureStorgageSampleTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = EA179D252F1722BC00B1D54A /* Build configuration list for PBXNativeTarget "SecureStorgageSampleTests" */; + buildPhases = ( + EA179D0A2F1722BC00B1D54A /* Sources */, + EA179D0B2F1722BC00B1D54A /* Frameworks */, + EA179D0C2F1722BC00B1D54A /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + EA179D102F1722BC00B1D54A /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + EA179D112F1722BC00B1D54A /* SecureStorgageSampleTests */, + ); + name = SecureStorgageSampleTests; + packageProductDependencies = ( + ); + productName = SecureStorgageSampleTests; + productReference = EA179D0E2F1722BC00B1D54A /* SecureStorgageSampleTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + EA179D172F1722BC00B1D54A /* SecureStorgageSampleUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = EA179D282F1722BC00B1D54A /* Build configuration list for PBXNativeTarget "SecureStorgageSampleUITests" */; + buildPhases = ( + EA179D142F1722BC00B1D54A /* Sources */, + EA179D152F1722BC00B1D54A /* Frameworks */, + EA179D162F1722BC00B1D54A /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + EA179D1A2F1722BC00B1D54A /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + EA179D1B2F1722BC00B1D54A /* SecureStorgageSampleUITests */, + ); + name = SecureStorgageSampleUITests; + packageProductDependencies = ( + ); + productName = SecureStorgageSampleUITests; + productReference = EA179D182F1722BC00B1D54A /* SecureStorgageSampleUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + EA179CF92F1722BB00B1D54A /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 2600; + LastUpgradeCheck = 2600; + TargetAttributes = { + EA179D002F1722BB00B1D54A = { + CreatedOnToolsVersion = 26.0; + }; + EA179D0D2F1722BC00B1D54A = { + CreatedOnToolsVersion = 26.0; + TestTargetID = EA179D002F1722BB00B1D54A; + }; + EA179D172F1722BC00B1D54A = { + CreatedOnToolsVersion = 26.0; + TestTargetID = EA179D002F1722BB00B1D54A; + }; + }; + }; + buildConfigurationList = EA179CFC2F1722BB00B1D54A /* Build configuration list for PBXProject "SecureStorgageSample" */; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = EA179CF82F1722BB00B1D54A; + minimizedProjectReferenceProxies = 1; + preferredProjectObjectVersion = 77; + productRefGroup = EA179D022F1722BB00B1D54A /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + EA179D002F1722BB00B1D54A /* SecureStorgageSample */, + EA179D0D2F1722BC00B1D54A /* SecureStorgageSampleTests */, + EA179D172F1722BC00B1D54A /* SecureStorgageSampleUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + EA179CFF2F1722BB00B1D54A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EA179D0C2F1722BC00B1D54A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EA179D162F1722BC00B1D54A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + EA179CFD2F1722BB00B1D54A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EA179D0A2F1722BC00B1D54A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EA179D142F1722BC00B1D54A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + EA179D102F1722BC00B1D54A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = EA179D002F1722BB00B1D54A /* SecureStorgageSample */; + targetProxy = EA179D0F2F1722BC00B1D54A /* PBXContainerItemProxy */; + }; + EA179D1A2F1722BC00B1D54A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = EA179D002F1722BB00B1D54A /* SecureStorgageSample */; + targetProxy = EA179D192F1722BC00B1D54A /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + EA179D202F1722BC00B1D54A /* 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; + 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; + IPHONEOS_DEPLOYMENT_TARGET = 26.0; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + EA179D212F1722BC00B1D54A /* 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"; + 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; + IPHONEOS_DEPLOYMENT_TARGET = 26.0; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + EA179D232F1722BC00B1D54A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + 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 = com.mbrucedogs.SecureStorgageSample; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRING_CATALOG_GENERATE_SYMBOLS = YES; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + EA179D242F1722BC00B1D54A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + 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 = com.mbrucedogs.SecureStorgageSample; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRING_CATALOG_GENERATE_SYMBOLS = YES; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + EA179D262F1722BC00B1D54A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 26.0; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.mbrucedogs.SecureStorgageSampleTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRING_CATALOG_GENERATE_SYMBOLS = NO; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SecureStorgageSample.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/SecureStorgageSample"; + }; + name = Debug; + }; + EA179D272F1722BC00B1D54A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 26.0; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.mbrucedogs.SecureStorgageSampleTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRING_CATALOG_GENERATE_SYMBOLS = NO; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SecureStorgageSample.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/SecureStorgageSample"; + }; + name = Release; + }; + EA179D292F1722BC00B1D54A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.mbrucedogs.SecureStorgageSampleUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRING_CATALOG_GENERATE_SYMBOLS = NO; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = SecureStorgageSample; + }; + name = Debug; + }; + EA179D2A2F1722BC00B1D54A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.mbrucedogs.SecureStorgageSampleUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRING_CATALOG_GENERATE_SYMBOLS = NO; + SWIFT_APPROACHABLE_CONCURRENCY = YES; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = SecureStorgageSample; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + EA179CFC2F1722BB00B1D54A /* Build configuration list for PBXProject "SecureStorgageSample" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EA179D202F1722BC00B1D54A /* Debug */, + EA179D212F1722BC00B1D54A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EA179D222F1722BC00B1D54A /* Build configuration list for PBXNativeTarget "SecureStorgageSample" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EA179D232F1722BC00B1D54A /* Debug */, + EA179D242F1722BC00B1D54A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EA179D252F1722BC00B1D54A /* Build configuration list for PBXNativeTarget "SecureStorgageSampleTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EA179D262F1722BC00B1D54A /* Debug */, + EA179D272F1722BC00B1D54A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EA179D282F1722BC00B1D54A /* Build configuration list for PBXNativeTarget "SecureStorgageSampleUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EA179D292F1722BC00B1D54A /* Debug */, + EA179D2A2F1722BC00B1D54A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = EA179CF92F1722BB00B1D54A /* Project object */; +} diff --git a/SecureStorgageSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SecureStorgageSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/SecureStorgageSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/SecureStorgageSample.xcodeproj/xcuserdata/mattbruce.xcuserdatad/xcschemes/xcschememanagement.plist b/SecureStorgageSample.xcodeproj/xcuserdata/mattbruce.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..c36b9b7 --- /dev/null +++ b/SecureStorgageSample.xcodeproj/xcuserdata/mattbruce.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + SecureStorgageSample.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/SecureStorgageSample/Assets.xcassets/AccentColor.colorset/Contents.json b/SecureStorgageSample/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/SecureStorgageSample/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SecureStorgageSample/Assets.xcassets/AppIcon.appiconset/Contents.json b/SecureStorgageSample/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..2305880 --- /dev/null +++ b/SecureStorgageSample/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,35 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "tinted" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SecureStorgageSample/Assets.xcassets/Contents.json b/SecureStorgageSample/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/SecureStorgageSample/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SecureStorgageSample/ContentView.swift b/SecureStorgageSample/ContentView.swift new file mode 100644 index 0000000..d631310 --- /dev/null +++ b/SecureStorgageSample/ContentView.swift @@ -0,0 +1,24 @@ +// +// ContentView.swift +// SecureStorgageSample +// +// Created by Matt Bruce on 1/13/26. +// + +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/SecureStorgageSample/SecureStorgageSampleApp.swift b/SecureStorgageSample/SecureStorgageSampleApp.swift new file mode 100644 index 0000000..7259702 --- /dev/null +++ b/SecureStorgageSample/SecureStorgageSampleApp.swift @@ -0,0 +1,17 @@ +// +// SecureStorgageSampleApp.swift +// SecureStorgageSample +// +// Created by Matt Bruce on 1/13/26. +// + +import SwiftUI + +@main +struct SecureStorgageSampleApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/SecureStorgageSampleTests/SecureStorgageSampleTests.swift b/SecureStorgageSampleTests/SecureStorgageSampleTests.swift new file mode 100644 index 0000000..b452593 --- /dev/null +++ b/SecureStorgageSampleTests/SecureStorgageSampleTests.swift @@ -0,0 +1,17 @@ +// +// SecureStorgageSampleTests.swift +// SecureStorgageSampleTests +// +// Created by Matt Bruce on 1/13/26. +// + +import Testing +@testable import SecureStorgageSample + +struct SecureStorgageSampleTests { + + @Test func example() async throws { + // Write your test here and use APIs like `#expect(...)` to check expected conditions. + } + +} diff --git a/SecureStorgageSampleUITests/SecureStorgageSampleUITests.swift b/SecureStorgageSampleUITests/SecureStorgageSampleUITests.swift new file mode 100644 index 0000000..0331f54 --- /dev/null +++ b/SecureStorgageSampleUITests/SecureStorgageSampleUITests.swift @@ -0,0 +1,41 @@ +// +// SecureStorgageSampleUITests.swift +// SecureStorgageSampleUITests +// +// Created by Matt Bruce on 1/13/26. +// + +import XCTest + +final class SecureStorgageSampleUITests: 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/SecureStorgageSampleUITests/SecureStorgageSampleUITestsLaunchTests.swift b/SecureStorgageSampleUITests/SecureStorgageSampleUITestsLaunchTests.swift new file mode 100644 index 0000000..f3f632f --- /dev/null +++ b/SecureStorgageSampleUITests/SecureStorgageSampleUITestsLaunchTests.swift @@ -0,0 +1,33 @@ +// +// SecureStorgageSampleUITestsLaunchTests.swift +// SecureStorgageSampleUITests +// +// Created by Matt Bruce on 1/13/26. +// + +import XCTest + +final class SecureStorgageSampleUITestsLaunchTests: 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) + } +}