From af2af84b615a487b799eea90864120a3d3374847 Mon Sep 17 00:00:00 2001 From: Ahmed Ali <142905621+Ahmed-CIO@users.noreply.github.com> Date: Thu, 7 Mar 2024 11:41:52 +0400 Subject: [PATCH] docs: [vision-os-sample-app][1/n] Skeleton app (#577) --- .../VisionOS.xcodeproj/project.pbxproj | 402 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../AccentColor.colorset/Contents.json | 38 ++ .../Content.imageset/Contents.json | 12 + .../Back.solidimagestacklayer/Contents.json | 6 + .../AppIcon.solidimagestack/Contents.json | 17 + .../Content.imageset/Contents.json | 12 + .../Front.solidimagestacklayer/Contents.json | 6 + .../Content.imageset/Contents.json | 12 + .../Middle.solidimagestacklayer/Contents.json | 6 + .../VisionOS/Assets.xcassets/Contents.json | 6 + Apps/VisionOS/VisionOS/Info.plist | 15 + Apps/VisionOS/VisionOS/MainScreen.swift | 14 + .../Preview Assets.xcassets/Contents.json | 6 + Apps/VisionOS/VisionOS/VisionOSApp.swift | 10 + 16 files changed, 577 insertions(+) create mode 100644 Apps/VisionOS/VisionOS.xcodeproj/project.pbxproj create mode 100644 Apps/VisionOS/VisionOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 Apps/VisionOS/VisionOS.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 Apps/VisionOS/VisionOS/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json create mode 100644 Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json create mode 100644 Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Contents.json create mode 100644 Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json create mode 100644 Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json create mode 100644 Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json create mode 100644 Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json create mode 100644 Apps/VisionOS/VisionOS/Assets.xcassets/Contents.json create mode 100644 Apps/VisionOS/VisionOS/Info.plist create mode 100644 Apps/VisionOS/VisionOS/MainScreen.swift create mode 100644 Apps/VisionOS/VisionOS/Preview Content/Preview Assets.xcassets/Contents.json create mode 100644 Apps/VisionOS/VisionOS/VisionOSApp.swift diff --git a/Apps/VisionOS/VisionOS.xcodeproj/project.pbxproj b/Apps/VisionOS/VisionOS.xcodeproj/project.pbxproj new file mode 100644 index 000000000..c7c6eb95b --- /dev/null +++ b/Apps/VisionOS/VisionOS.xcodeproj/project.pbxproj @@ -0,0 +1,402 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 60F967352B9125D000A4E95E /* VisionOSApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 60F967342B9125D000A4E95E /* VisionOSApp.swift */; }; + 60F967372B9125D000A4E95E /* MainScreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 60F967362B9125D000A4E95E /* MainScreen.swift */; }; + 60F967392B9125D100A4E95E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 60F967382B9125D100A4E95E /* Assets.xcassets */; }; + 60F967472B91264B00A4E95E /* Splash in Frameworks */ = {isa = PBXBuildFile; productRef = 60F967462B91264B00A4E95E /* Splash */; }; + 60F9674A2B91265B00A4E95E /* MarkdownUI in Frameworks */ = {isa = PBXBuildFile; productRef = 60F967492B91265B00A4E95E /* MarkdownUI */; }; + 60F9674E2B91269D00A4E95E /* Tracking in Frameworks */ = {isa = PBXBuildFile; productRef = 60F9674D2B91269D00A4E95E /* Tracking */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 60F9672D2B9125D000A4E95E /* VisionOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VisionOS.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 60F967342B9125D000A4E95E /* VisionOSApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VisionOSApp.swift; sourceTree = ""; }; + 60F967362B9125D000A4E95E /* MainScreen.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainScreen.swift; sourceTree = ""; }; + 60F967382B9125D100A4E95E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 60F9673D2B9125D100A4E95E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 60F9674B2B91267200A4E95E /* customerio-ios */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = "customerio-ios"; path = ../../..; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 60F9672A2B9125D000A4E95E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 60F967472B91264B00A4E95E /* Splash in Frameworks */, + 60F9674A2B91265B00A4E95E /* MarkdownUI in Frameworks */, + 60F9674E2B91269D00A4E95E /* Tracking in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 60F967242B9125D000A4E95E = { + isa = PBXGroup; + children = ( + 60F9672F2B9125D000A4E95E /* VisionOS */, + 60F967302B9125D000A4E95E /* Packages */, + 60F9672E2B9125D000A4E95E /* Products */, + 60F9674C2B91269D00A4E95E /* Frameworks */, + ); + sourceTree = ""; + }; + 60F9672E2B9125D000A4E95E /* Products */ = { + isa = PBXGroup; + children = ( + 60F9672D2B9125D000A4E95E /* VisionOS.app */, + ); + name = Products; + sourceTree = ""; + }; + 60F9672F2B9125D000A4E95E /* VisionOS */ = { + isa = PBXGroup; + children = ( + 60F967342B9125D000A4E95E /* VisionOSApp.swift */, + 60F967362B9125D000A4E95E /* MainScreen.swift */, + 60F967382B9125D100A4E95E /* Assets.xcassets */, + 60F9673D2B9125D100A4E95E /* Info.plist */, + ); + path = VisionOS; + sourceTree = ""; + }; + 60F967302B9125D000A4E95E /* Packages */ = { + isa = PBXGroup; + children = ( + 60F9674B2B91267200A4E95E /* customerio-ios */, + ); + path = Packages; + sourceTree = ""; + }; + 60F9674C2B91269D00A4E95E /* Frameworks */ = { + isa = PBXGroup; + children = ( + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 60F9672C2B9125D000A4E95E /* VisionOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 60F967402B9125D100A4E95E /* Build configuration list for PBXNativeTarget "VisionOS" */; + buildPhases = ( + 60F967292B9125D000A4E95E /* Sources */, + 60F9672A2B9125D000A4E95E /* Frameworks */, + 60F9672B2B9125D000A4E95E /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = VisionOS; + packageProductDependencies = ( + 60F967462B91264B00A4E95E /* Splash */, + 60F967492B91265B00A4E95E /* MarkdownUI */, + 60F9674D2B91269D00A4E95E /* Tracking */, + ); + productName = VisionOS; + productReference = 60F9672D2B9125D000A4E95E /* VisionOS.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 60F967252B9125D000A4E95E /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1520; + LastUpgradeCheck = 1520; + TargetAttributes = { + 60F9672C2B9125D000A4E95E = { + CreatedOnToolsVersion = 15.2; + }; + }; + }; + buildConfigurationList = 60F967282B9125D000A4E95E /* Build configuration list for PBXProject "VisionOS" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 60F967242B9125D000A4E95E; + packageReferences = ( + 60F967452B91264B00A4E95E /* XCRemoteSwiftPackageReference "Splash" */, + 60F967482B91265B00A4E95E /* XCRemoteSwiftPackageReference "swift-markdown-ui" */, + ); + productRefGroup = 60F9672E2B9125D000A4E95E /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 60F9672C2B9125D000A4E95E /* VisionOS */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 60F9672B2B9125D000A4E95E /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 60F967392B9125D100A4E95E /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 60F967292B9125D000A4E95E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 60F967372B9125D000A4E95E /* MainScreen.swift in Sources */, + 60F967352B9125D000A4E95E /* VisionOSApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 60F9673E2B9125D100A4E95E /* 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; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = xros; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + XROS_DEPLOYMENT_TARGET = 1.0; + }; + name = Debug; + }; + 60F9673F2B9125D100A4E95E /* 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; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = xros; + SWIFT_COMPILATION_MODE = wholemodule; + VALIDATE_PRODUCT = YES; + XROS_DEPLOYMENT_TARGET = 1.0; + }; + name = Release; + }; + 60F967412B9125D100A4E95E /* 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 = "\"VisionOS/Preview Content\""; + DEVELOPMENT_TEAM = 2YC97BQN3N; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "$(TARGET_NAME)/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "io.customer.visionos-sample-app.VisionOS"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + }; + name = Debug; + }; + 60F967422B9125D100A4E95E /* 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 = "\"VisionOS/Preview Content\""; + DEVELOPMENT_TEAM = 2YC97BQN3N; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "$(TARGET_NAME)/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "io.customer.visionos-sample-app.VisionOS"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 60F967282B9125D000A4E95E /* Build configuration list for PBXProject "VisionOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 60F9673E2B9125D100A4E95E /* Debug */, + 60F9673F2B9125D100A4E95E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 60F967402B9125D100A4E95E /* Build configuration list for PBXNativeTarget "VisionOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 60F967412B9125D100A4E95E /* Debug */, + 60F967422B9125D100A4E95E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 60F967452B91264B00A4E95E /* XCRemoteSwiftPackageReference "Splash" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/Ahmed-Ali/Splash"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 0.17.0; + }; + }; + 60F967482B91265B00A4E95E /* XCRemoteSwiftPackageReference "swift-markdown-ui" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/gonzalezreal/swift-markdown-ui"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 2.3.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 60F967462B91264B00A4E95E /* Splash */ = { + isa = XCSwiftPackageProductDependency; + package = 60F967452B91264B00A4E95E /* XCRemoteSwiftPackageReference "Splash" */; + productName = Splash; + }; + 60F967492B91265B00A4E95E /* MarkdownUI */ = { + isa = XCSwiftPackageProductDependency; + package = 60F967482B91265B00A4E95E /* XCRemoteSwiftPackageReference "swift-markdown-ui" */; + productName = MarkdownUI; + }; + 60F9674D2B91269D00A4E95E /* Tracking */ = { + isa = XCSwiftPackageProductDependency; + productName = Tracking; + }; +/* End XCSwiftPackageProductDependency section */ + }; + rootObject = 60F967252B9125D000A4E95E /* Project object */; +} diff --git a/Apps/VisionOS/VisionOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Apps/VisionOS/VisionOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 000000000..919434a62 --- /dev/null +++ b/Apps/VisionOS/VisionOS.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Apps/VisionOS/VisionOS.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Apps/VisionOS/VisionOS.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 000000000..18d981003 --- /dev/null +++ b/Apps/VisionOS/VisionOS.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Apps/VisionOS/VisionOS/Assets.xcassets/AccentColor.colorset/Contents.json b/Apps/VisionOS/VisionOS/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 000000000..4180bdbf8 --- /dev/null +++ b/Apps/VisionOS/VisionOS/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "extended-srgb", + "components" : { + "alpha" : "1.000", + "blue" : "-0.002", + "green" : "0.803", + "red" : "0.998" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "extended-srgb", + "components" : { + "alpha" : "1.000", + "blue" : "-0.002", + "green" : "0.803", + "red" : "0.998" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json b/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json new file mode 100644 index 000000000..04056a547 --- /dev/null +++ b/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "vision", + "scale" : "2x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json b/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json new file mode 100644 index 000000000..73c00596a --- /dev/null +++ b/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Contents.json b/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Contents.json new file mode 100644 index 000000000..950af4d85 --- /dev/null +++ b/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Contents.json @@ -0,0 +1,17 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + }, + "layers" : [ + { + "filename" : "Front.solidimagestacklayer" + }, + { + "filename" : "Middle.solidimagestacklayer" + }, + { + "filename" : "Back.solidimagestacklayer" + } + ] +} diff --git a/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json b/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json new file mode 100644 index 000000000..04056a547 --- /dev/null +++ b/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "vision", + "scale" : "2x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json b/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json new file mode 100644 index 000000000..73c00596a --- /dev/null +++ b/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json b/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json new file mode 100644 index 000000000..04056a547 --- /dev/null +++ b/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "idiom" : "vision", + "scale" : "2x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json b/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json new file mode 100644 index 000000000..73c00596a --- /dev/null +++ b/Apps/VisionOS/VisionOS/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Apps/VisionOS/VisionOS/Assets.xcassets/Contents.json b/Apps/VisionOS/VisionOS/Assets.xcassets/Contents.json new file mode 100644 index 000000000..73c00596a --- /dev/null +++ b/Apps/VisionOS/VisionOS/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Apps/VisionOS/VisionOS/Info.plist b/Apps/VisionOS/VisionOS/Info.plist new file mode 100644 index 000000000..20f75e2af --- /dev/null +++ b/Apps/VisionOS/VisionOS/Info.plist @@ -0,0 +1,15 @@ + + + + + UIApplicationSceneManifest + + UIApplicationPreferredDefaultSceneSessionRole + UIWindowSceneSessionRoleApplication + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + + + diff --git a/Apps/VisionOS/VisionOS/MainScreen.swift b/Apps/VisionOS/VisionOS/MainScreen.swift new file mode 100644 index 000000000..f79bdf820 --- /dev/null +++ b/Apps/VisionOS/VisionOS/MainScreen.swift @@ -0,0 +1,14 @@ +import SwiftUI + +struct MainScreen: View { + var body: some View { + VStack { + Text("Hello, world!") + } + .padding() + } +} + +#Preview(windowStyle: .automatic) { + MainScreen() +} diff --git a/Apps/VisionOS/VisionOS/Preview Content/Preview Assets.xcassets/Contents.json b/Apps/VisionOS/VisionOS/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 000000000..73c00596a --- /dev/null +++ b/Apps/VisionOS/VisionOS/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Apps/VisionOS/VisionOS/VisionOSApp.swift b/Apps/VisionOS/VisionOS/VisionOSApp.swift new file mode 100644 index 000000000..4969b27d9 --- /dev/null +++ b/Apps/VisionOS/VisionOS/VisionOSApp.swift @@ -0,0 +1,10 @@ +import SwiftUI + +@main +struct VisionOSApp: App { + var body: some Scene { + WindowGroup { + MainScreen() + } + } +}