From de8ac20776b4049195e9b77225cd9dc3771dee33 Mon Sep 17 00:00:00 2001 From: Spasol Date: Sat, 16 Aug 2025 20:35:42 +0800 Subject: [PATCH] Initial Commit --- Jetson Media.xcodeproj/project.pbxproj | 563 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcschemes/xcschememanagement.plist | 14 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 35 ++ Jetson Media/Assets.xcassets/Contents.json | 6 + Jetson Media/ContentView.swift | 24 + Jetson Media/Jetson_MediaApp.swift | 17 + .../Preview Assets.xcassets/Contents.json | 6 + Jetson MediaTests/Jetson_MediaTests.swift | 17 + Jetson MediaUITests/Jetson_MediaUITests.swift | 43 ++ .../Jetson_MediaUITestsLaunchTests.swift | 33 + 12 files changed, 776 insertions(+) create mode 100644 Jetson Media.xcodeproj/project.pbxproj create mode 100644 Jetson Media.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 Jetson Media.xcodeproj/xcuserdata/spasolreisa.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 Jetson Media/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 Jetson Media/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 Jetson Media/Assets.xcassets/Contents.json create mode 100644 Jetson Media/ContentView.swift create mode 100644 Jetson Media/Jetson_MediaApp.swift create mode 100644 Jetson Media/Preview Content/Preview Assets.xcassets/Contents.json create mode 100644 Jetson MediaTests/Jetson_MediaTests.swift create mode 100644 Jetson MediaUITests/Jetson_MediaUITests.swift create mode 100644 Jetson MediaUITests/Jetson_MediaUITestsLaunchTests.swift diff --git a/Jetson Media.xcodeproj/project.pbxproj b/Jetson Media.xcodeproj/project.pbxproj new file mode 100644 index 0000000..3c4ad4c --- /dev/null +++ b/Jetson Media.xcodeproj/project.pbxproj @@ -0,0 +1,563 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXContainerItemProxy section */ + 22F829A62E50B29C00911ECA /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 22F8298D2E50B29A00911ECA /* Project object */; + proxyType = 1; + remoteGlobalIDString = 22F829942E50B29A00911ECA; + remoteInfo = "Jetson Media"; + }; + 22F829B02E50B29C00911ECA /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 22F8298D2E50B29A00911ECA /* Project object */; + proxyType = 1; + remoteGlobalIDString = 22F829942E50B29A00911ECA; + remoteInfo = "Jetson Media"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 22F829952E50B29B00911ECA /* Jetson Media.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Jetson Media.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 22F829A52E50B29C00911ECA /* Jetson MediaTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Jetson MediaTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 22F829AF2E50B29C00911ECA /* Jetson MediaUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Jetson MediaUITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFileSystemSynchronizedRootGroup section */ + 22F829972E50B29B00911ECA /* Jetson Media */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = "Jetson Media"; + sourceTree = ""; + }; + 22F829A82E50B29C00911ECA /* Jetson MediaTests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = "Jetson MediaTests"; + sourceTree = ""; + }; + 22F829B22E50B29C00911ECA /* Jetson MediaUITests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = "Jetson MediaUITests"; + sourceTree = ""; + }; +/* End PBXFileSystemSynchronizedRootGroup section */ + +/* Begin PBXFrameworksBuildPhase section */ + 22F829922E50B29A00911ECA /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 22F829A22E50B29C00911ECA /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 22F829AC2E50B29C00911ECA /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 22F8298C2E50B29A00911ECA = { + isa = PBXGroup; + children = ( + 22F829972E50B29B00911ECA /* Jetson Media */, + 22F829A82E50B29C00911ECA /* Jetson MediaTests */, + 22F829B22E50B29C00911ECA /* Jetson MediaUITests */, + 22F829962E50B29B00911ECA /* Products */, + ); + sourceTree = ""; + }; + 22F829962E50B29B00911ECA /* Products */ = { + isa = PBXGroup; + children = ( + 22F829952E50B29B00911ECA /* Jetson Media.app */, + 22F829A52E50B29C00911ECA /* Jetson MediaTests.xctest */, + 22F829AF2E50B29C00911ECA /* Jetson MediaUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 22F829942E50B29A00911ECA /* Jetson Media */ = { + isa = PBXNativeTarget; + buildConfigurationList = 22F829B92E50B29C00911ECA /* Build configuration list for PBXNativeTarget "Jetson Media" */; + buildPhases = ( + 22F829912E50B29A00911ECA /* Sources */, + 22F829922E50B29A00911ECA /* Frameworks */, + 22F829932E50B29A00911ECA /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + 22F829972E50B29B00911ECA /* Jetson Media */, + ); + name = "Jetson Media"; + packageProductDependencies = ( + ); + productName = "Jetson Media"; + productReference = 22F829952E50B29B00911ECA /* Jetson Media.app */; + productType = "com.apple.product-type.application"; + }; + 22F829A42E50B29C00911ECA /* Jetson MediaTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 22F829BC2E50B29C00911ECA /* Build configuration list for PBXNativeTarget "Jetson MediaTests" */; + buildPhases = ( + 22F829A12E50B29C00911ECA /* Sources */, + 22F829A22E50B29C00911ECA /* Frameworks */, + 22F829A32E50B29C00911ECA /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 22F829A72E50B29C00911ECA /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + 22F829A82E50B29C00911ECA /* Jetson MediaTests */, + ); + name = "Jetson MediaTests"; + packageProductDependencies = ( + ); + productName = "Jetson MediaTests"; + productReference = 22F829A52E50B29C00911ECA /* Jetson MediaTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 22F829AE2E50B29C00911ECA /* Jetson MediaUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 22F829BF2E50B29C00911ECA /* Build configuration list for PBXNativeTarget "Jetson MediaUITests" */; + buildPhases = ( + 22F829AB2E50B29C00911ECA /* Sources */, + 22F829AC2E50B29C00911ECA /* Frameworks */, + 22F829AD2E50B29C00911ECA /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 22F829B12E50B29C00911ECA /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + 22F829B22E50B29C00911ECA /* Jetson MediaUITests */, + ); + name = "Jetson MediaUITests"; + packageProductDependencies = ( + ); + productName = "Jetson MediaUITests"; + productReference = 22F829AF2E50B29C00911ECA /* Jetson MediaUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 22F8298D2E50B29A00911ECA /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1620; + LastUpgradeCheck = 1620; + TargetAttributes = { + 22F829942E50B29A00911ECA = { + CreatedOnToolsVersion = 16.2; + }; + 22F829A42E50B29C00911ECA = { + CreatedOnToolsVersion = 16.2; + TestTargetID = 22F829942E50B29A00911ECA; + }; + 22F829AE2E50B29C00911ECA = { + CreatedOnToolsVersion = 16.2; + TestTargetID = 22F829942E50B29A00911ECA; + }; + }; + }; + buildConfigurationList = 22F829902E50B29A00911ECA /* Build configuration list for PBXProject "Jetson Media" */; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 22F8298C2E50B29A00911ECA; + minimizedProjectReferenceProxies = 1; + preferredProjectObjectVersion = 77; + productRefGroup = 22F829962E50B29B00911ECA /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 22F829942E50B29A00911ECA /* Jetson Media */, + 22F829A42E50B29C00911ECA /* Jetson MediaTests */, + 22F829AE2E50B29C00911ECA /* Jetson MediaUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 22F829932E50B29A00911ECA /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 22F829A32E50B29C00911ECA /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 22F829AD2E50B29C00911ECA /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 22F829912E50B29A00911ECA /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 22F829A12E50B29C00911ECA /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 22F829AB2E50B29C00911ECA /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 22F829A72E50B29C00911ECA /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 22F829942E50B29A00911ECA /* Jetson Media */; + targetProxy = 22F829A62E50B29C00911ECA /* PBXContainerItemProxy */; + }; + 22F829B12E50B29C00911ECA /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 22F829942E50B29A00911ECA /* Jetson Media */; + targetProxy = 22F829B02E50B29C00911ECA /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 22F829B72E50B29C00911ECA /* 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 = 18.2; + 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; + }; + 22F829B82E50B29C00911ECA /* 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 = 18.2; + 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; + }; + 22F829BA2E50B29C00911ECA /* 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 = "\"Jetson Media/Preview Content\""; + DEVELOPMENT_TEAM = FXLG7YJAG6; + 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 = "org.ast.Jetson-Media"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 22F829BB2E50B29C00911ECA /* 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 = "\"Jetson Media/Preview Content\""; + DEVELOPMENT_TEAM = FXLG7YJAG6; + 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 = "org.ast.Jetson-Media"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 22F829BD2E50B29C00911ECA /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = FXLG7YJAG6; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 18.2; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "org.ast.Jetson-MediaTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Jetson Media.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Jetson Media"; + }; + name = Debug; + }; + 22F829BE2E50B29C00911ECA /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = FXLG7YJAG6; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 18.2; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "org.ast.Jetson-MediaTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Jetson Media.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Jetson Media"; + }; + name = Release; + }; + 22F829C02E50B29C00911ECA /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = FXLG7YJAG6; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "org.ast.Jetson-MediaUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = "Jetson Media"; + }; + name = Debug; + }; + 22F829C12E50B29C00911ECA /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = FXLG7YJAG6; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "org.ast.Jetson-MediaUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = "Jetson Media"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 22F829902E50B29A00911ECA /* Build configuration list for PBXProject "Jetson Media" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 22F829B72E50B29C00911ECA /* Debug */, + 22F829B82E50B29C00911ECA /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 22F829B92E50B29C00911ECA /* Build configuration list for PBXNativeTarget "Jetson Media" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 22F829BA2E50B29C00911ECA /* Debug */, + 22F829BB2E50B29C00911ECA /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 22F829BC2E50B29C00911ECA /* Build configuration list for PBXNativeTarget "Jetson MediaTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 22F829BD2E50B29C00911ECA /* Debug */, + 22F829BE2E50B29C00911ECA /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 22F829BF2E50B29C00911ECA /* Build configuration list for PBXNativeTarget "Jetson MediaUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 22F829C02E50B29C00911ECA /* Debug */, + 22F829C12E50B29C00911ECA /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 22F8298D2E50B29A00911ECA /* Project object */; +} diff --git a/Jetson Media.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Jetson Media.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/Jetson Media.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Jetson Media.xcodeproj/xcuserdata/spasolreisa.xcuserdatad/xcschemes/xcschememanagement.plist b/Jetson Media.xcodeproj/xcuserdata/spasolreisa.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..ba1545c --- /dev/null +++ b/Jetson Media.xcodeproj/xcuserdata/spasolreisa.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + Jetson Media.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/Jetson Media/Assets.xcassets/AccentColor.colorset/Contents.json b/Jetson Media/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/Jetson Media/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Jetson Media/Assets.xcassets/AppIcon.appiconset/Contents.json b/Jetson Media/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..2305880 --- /dev/null +++ b/Jetson Media/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/Jetson Media/Assets.xcassets/Contents.json b/Jetson Media/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Jetson Media/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Jetson Media/ContentView.swift b/Jetson Media/ContentView.swift new file mode 100644 index 0000000..b99224d --- /dev/null +++ b/Jetson Media/ContentView.swift @@ -0,0 +1,24 @@ +// +// ContentView.swift +// Jetson Media +// +// Created by Spasol Reisa on 2025/8/16. +// + +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/Jetson Media/Jetson_MediaApp.swift b/Jetson Media/Jetson_MediaApp.swift new file mode 100644 index 0000000..ba75a7f --- /dev/null +++ b/Jetson Media/Jetson_MediaApp.swift @@ -0,0 +1,17 @@ +// +// Jetson_MediaApp.swift +// Jetson Media +// +// Created by Spasol Reisa on 2025/8/16. +// + +import SwiftUI + +@main +struct Jetson_MediaApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/Jetson Media/Preview Content/Preview Assets.xcassets/Contents.json b/Jetson Media/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Jetson Media/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Jetson MediaTests/Jetson_MediaTests.swift b/Jetson MediaTests/Jetson_MediaTests.swift new file mode 100644 index 0000000..4f73a10 --- /dev/null +++ b/Jetson MediaTests/Jetson_MediaTests.swift @@ -0,0 +1,17 @@ +// +// Jetson_MediaTests.swift +// Jetson MediaTests +// +// Created by Spasol Reisa on 2025/8/16. +// + +import Testing +@testable import Jetson_Media + +struct Jetson_MediaTests { + + @Test func example() async throws { + // Write your test here and use APIs like `#expect(...)` to check expected conditions. + } + +} diff --git a/Jetson MediaUITests/Jetson_MediaUITests.swift b/Jetson MediaUITests/Jetson_MediaUITests.swift new file mode 100644 index 0000000..9d7c0e1 --- /dev/null +++ b/Jetson MediaUITests/Jetson_MediaUITests.swift @@ -0,0 +1,43 @@ +// +// Jetson_MediaUITests.swift +// Jetson MediaUITests +// +// Created by Spasol Reisa on 2025/8/16. +// + +import XCTest + +final class Jetson_MediaUITests: 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 { + if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) { + // This measures how long it takes to launch your application. + measure(metrics: [XCTApplicationLaunchMetric()]) { + XCUIApplication().launch() + } + } + } +} diff --git a/Jetson MediaUITests/Jetson_MediaUITestsLaunchTests.swift b/Jetson MediaUITests/Jetson_MediaUITestsLaunchTests.swift new file mode 100644 index 0000000..0b7efd4 --- /dev/null +++ b/Jetson MediaUITests/Jetson_MediaUITestsLaunchTests.swift @@ -0,0 +1,33 @@ +// +// Jetson_MediaUITestsLaunchTests.swift +// Jetson MediaUITests +// +// Created by Spasol Reisa on 2025/8/16. +// + +import XCTest + +final class Jetson_MediaUITestsLaunchTests: 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) + } +}