commit 5f3a76c4a063f3bb1031b7609ba1c4e1f022a61d Author: aj Date: Sun Mar 8 16:25:10 2020 +0000 Initial Commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ba1ff08 --- /dev/null +++ b/.gitignore @@ -0,0 +1,90 @@ +# Xcode +# +# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore + +## User settings +xcuserdata/ + +## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) +*.xcscmblueprint +*.xccheckout + +## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) +build/ +DerivedData/ +*.moved-aside +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 + +## Obj-C/Swift specific +*.hmap + +## App packaging +*.ipa +*.dSYM.zip +*.dSYM + +## Playgrounds +timeline.xctimeline +playground.xcworkspace + +# Swift Package Manager +# +# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. +# Packages/ +# Package.pins +# Package.resolved +# *.xcodeproj +# +# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata +# hence it is not needed unless you have added a package configuration file to your project +# .swiftpm + +.build/ + +# CocoaPods +# +# We recommend against adding the Pods directory to your .gitignore. However +# you should judge for yourself, the pros and cons are mentioned at: +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control +# +# Pods/ +# +# Add this line if you want to avoid checking in source code from the Xcode workspace +# *.xcworkspace + +# Carthage +# +# Add this line if you want to avoid checking in source code from Carthage dependencies. +# Carthage/Checkouts + +Carthage/Build/ + +# Accio dependency management +Dependencies/ +.accio/ + +# fastlane +# +# It is recommended to not store the screenshots in the git repo. +# Instead, use fastlane to re-generate the screenshots whenever they are needed. +# For more information about the recommended setup visit: +# https://docs.fastlane.tools/best-practices/source-control/#source-control + +fastlane/report.xml +fastlane/Preview.html +fastlane/screenshots/**/*.png +fastlane/test_output + +# Code Injection +# +# After new code Injection tools there's a generated folder /iOSInjectionProject +# https://github.com/johnno1962/injectionforxcode + +iOSInjectionProject/ \ No newline at end of file diff --git a/SarsooAR.xcodeproj/project.pbxproj b/SarsooAR.xcodeproj/project.pbxproj new file mode 100644 index 0000000..90a8bf1 --- /dev/null +++ b/SarsooAR.xcodeproj/project.pbxproj @@ -0,0 +1,599 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + E906F80524154B21004E1E31 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E906F80424154B21004E1E31 /* AppDelegate.swift */; }; + E906F80724154B21004E1E31 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E906F80624154B21004E1E31 /* ContentView.swift */; }; + E906F80924154B21004E1E31 /* Experience.rcproject in Sources */ = {isa = PBXBuildFile; fileRef = E906F80824154B21004E1E31 /* Experience.rcproject */; }; + E906F80B24154B29004E1E31 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E906F80A24154B29004E1E31 /* Assets.xcassets */; }; + E906F80E24154B29004E1E31 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E906F80D24154B29004E1E31 /* Preview Assets.xcassets */; }; + E906F81124154B29004E1E31 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E906F80F24154B29004E1E31 /* LaunchScreen.storyboard */; }; + E906F81C24154B2A004E1E31 /* SarsooARTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E906F81B24154B2A004E1E31 /* SarsooARTests.swift */; }; + E906F82724154B2A004E1E31 /* SarsooARUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E906F82624154B2A004E1E31 /* SarsooARUITests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + E906F81824154B2A004E1E31 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = E906F7F924154B21004E1E31 /* Project object */; + proxyType = 1; + remoteGlobalIDString = E906F80024154B21004E1E31; + remoteInfo = SarsooAR; + }; + E906F82324154B2A004E1E31 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = E906F7F924154B21004E1E31 /* Project object */; + proxyType = 1; + remoteGlobalIDString = E906F80024154B21004E1E31; + remoteInfo = SarsooAR; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + E906F80124154B21004E1E31 /* SarsooAR.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SarsooAR.app; sourceTree = BUILT_PRODUCTS_DIR; }; + E906F80424154B21004E1E31 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + E906F80624154B21004E1E31 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + E906F80824154B21004E1E31 /* Experience.rcproject */ = {isa = PBXFileReference; lastKnownFileType = file.rcproject; path = Experience.rcproject; sourceTree = ""; }; + E906F80A24154B29004E1E31 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + E906F80D24154B29004E1E31 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + E906F81024154B29004E1E31 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + E906F81224154B29004E1E31 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + E906F81724154B2A004E1E31 /* SarsooARTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SarsooARTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + E906F81B24154B2A004E1E31 /* SarsooARTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SarsooARTests.swift; sourceTree = ""; }; + E906F81D24154B2A004E1E31 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + E906F82224154B2A004E1E31 /* SarsooARUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SarsooARUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + E906F82624154B2A004E1E31 /* SarsooARUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SarsooARUITests.swift; sourceTree = ""; }; + E906F82824154B2A004E1E31 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + E906F7FE24154B21004E1E31 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E906F81424154B2A004E1E31 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E906F81F24154B2A004E1E31 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + E906F7F824154B21004E1E31 = { + isa = PBXGroup; + children = ( + E906F80324154B21004E1E31 /* SarsooAR */, + E906F81A24154B2A004E1E31 /* SarsooARTests */, + E906F82524154B2A004E1E31 /* SarsooARUITests */, + E906F80224154B21004E1E31 /* Products */, + ); + sourceTree = ""; + }; + E906F80224154B21004E1E31 /* Products */ = { + isa = PBXGroup; + children = ( + E906F80124154B21004E1E31 /* SarsooAR.app */, + E906F81724154B2A004E1E31 /* SarsooARTests.xctest */, + E906F82224154B2A004E1E31 /* SarsooARUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + E906F80324154B21004E1E31 /* SarsooAR */ = { + isa = PBXGroup; + children = ( + E906F80424154B21004E1E31 /* AppDelegate.swift */, + E906F80624154B21004E1E31 /* ContentView.swift */, + E906F80824154B21004E1E31 /* Experience.rcproject */, + E906F80A24154B29004E1E31 /* Assets.xcassets */, + E906F80F24154B29004E1E31 /* LaunchScreen.storyboard */, + E906F81224154B29004E1E31 /* Info.plist */, + E906F80C24154B29004E1E31 /* Preview Content */, + ); + path = SarsooAR; + sourceTree = ""; + }; + E906F80C24154B29004E1E31 /* Preview Content */ = { + isa = PBXGroup; + children = ( + E906F80D24154B29004E1E31 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + E906F81A24154B2A004E1E31 /* SarsooARTests */ = { + isa = PBXGroup; + children = ( + E906F81B24154B2A004E1E31 /* SarsooARTests.swift */, + E906F81D24154B2A004E1E31 /* Info.plist */, + ); + path = SarsooARTests; + sourceTree = ""; + }; + E906F82524154B2A004E1E31 /* SarsooARUITests */ = { + isa = PBXGroup; + children = ( + E906F82624154B2A004E1E31 /* SarsooARUITests.swift */, + E906F82824154B2A004E1E31 /* Info.plist */, + ); + path = SarsooARUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + E906F80024154B21004E1E31 /* SarsooAR */ = { + isa = PBXNativeTarget; + buildConfigurationList = E906F82B24154B2A004E1E31 /* Build configuration list for PBXNativeTarget "SarsooAR" */; + buildPhases = ( + E906F7FD24154B21004E1E31 /* Sources */, + E906F7FE24154B21004E1E31 /* Frameworks */, + E906F7FF24154B21004E1E31 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SarsooAR; + productName = SarsooAR; + productReference = E906F80124154B21004E1E31 /* SarsooAR.app */; + productType = "com.apple.product-type.application"; + }; + E906F81624154B2A004E1E31 /* SarsooARTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = E906F82E24154B2A004E1E31 /* Build configuration list for PBXNativeTarget "SarsooARTests" */; + buildPhases = ( + E906F81324154B2A004E1E31 /* Sources */, + E906F81424154B2A004E1E31 /* Frameworks */, + E906F81524154B2A004E1E31 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + E906F81924154B2A004E1E31 /* PBXTargetDependency */, + ); + name = SarsooARTests; + productName = SarsooARTests; + productReference = E906F81724154B2A004E1E31 /* SarsooARTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + E906F82124154B2A004E1E31 /* SarsooARUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = E906F83124154B2A004E1E31 /* Build configuration list for PBXNativeTarget "SarsooARUITests" */; + buildPhases = ( + E906F81E24154B2A004E1E31 /* Sources */, + E906F81F24154B2A004E1E31 /* Frameworks */, + E906F82024154B2A004E1E31 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + E906F82424154B2A004E1E31 /* PBXTargetDependency */, + ); + name = SarsooARUITests; + productName = SarsooARUITests; + productReference = E906F82224154B2A004E1E31 /* SarsooARUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + E906F7F924154B21004E1E31 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1130; + LastUpgradeCheck = 1130; + ORGANIZATIONNAME = Sarsoo; + TargetAttributes = { + E906F80024154B21004E1E31 = { + CreatedOnToolsVersion = 11.3.1; + }; + E906F81624154B2A004E1E31 = { + CreatedOnToolsVersion = 11.3.1; + TestTargetID = E906F80024154B21004E1E31; + }; + E906F82124154B2A004E1E31 = { + CreatedOnToolsVersion = 11.3.1; + TestTargetID = E906F80024154B21004E1E31; + }; + }; + }; + buildConfigurationList = E906F7FC24154B21004E1E31 /* Build configuration list for PBXProject "SarsooAR" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = E906F7F824154B21004E1E31; + productRefGroup = E906F80224154B21004E1E31 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + E906F80024154B21004E1E31 /* SarsooAR */, + E906F81624154B2A004E1E31 /* SarsooARTests */, + E906F82124154B2A004E1E31 /* SarsooARUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + E906F7FF24154B21004E1E31 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E906F81124154B29004E1E31 /* LaunchScreen.storyboard in Resources */, + E906F80E24154B29004E1E31 /* Preview Assets.xcassets in Resources */, + E906F80B24154B29004E1E31 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E906F81524154B2A004E1E31 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E906F82024154B2A004E1E31 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + E906F7FD24154B21004E1E31 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E906F80724154B21004E1E31 /* ContentView.swift in Sources */, + E906F80524154B21004E1E31 /* AppDelegate.swift in Sources */, + E906F80924154B21004E1E31 /* Experience.rcproject in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E906F81324154B2A004E1E31 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E906F81C24154B2A004E1E31 /* SarsooARTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E906F81E24154B2A004E1E31 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E906F82724154B2A004E1E31 /* SarsooARUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + E906F81924154B2A004E1E31 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = E906F80024154B21004E1E31 /* SarsooAR */; + targetProxy = E906F81824154B2A004E1E31 /* PBXContainerItemProxy */; + }; + E906F82424154B2A004E1E31 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = E906F80024154B21004E1E31 /* SarsooAR */; + targetProxy = E906F82324154B2A004E1E31 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + E906F80F24154B29004E1E31 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + E906F81024154B29004E1E31 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + E906F82924154B2A004E1E31 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + 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_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; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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 = 13.2; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + E906F82A24154B2A004E1E31 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + 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_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; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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 = 13.2; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + E906F82C24154B2A004E1E31 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_ASSET_PATHS = "\"SarsooAR/Preview Content\""; + DEVELOPMENT_TEAM = 8UZ2659FDY; + ENABLE_PREVIEWS = YES; + INFOPLIST_FILE = SarsooAR/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = xyz.sarsoo.SarsooAR; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + E906F82D24154B2A004E1E31 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_ASSET_PATHS = "\"SarsooAR/Preview Content\""; + DEVELOPMENT_TEAM = 8UZ2659FDY; + ENABLE_PREVIEWS = YES; + INFOPLIST_FILE = SarsooAR/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = xyz.sarsoo.SarsooAR; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + E906F82F24154B2A004E1E31 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 8UZ2659FDY; + INFOPLIST_FILE = SarsooARTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.2; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = xyz.sarsoo.SarsooARTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SarsooAR.app/SarsooAR"; + }; + name = Debug; + }; + E906F83024154B2A004E1E31 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 8UZ2659FDY; + INFOPLIST_FILE = SarsooARTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.2; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = xyz.sarsoo.SarsooARTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SarsooAR.app/SarsooAR"; + }; + name = Release; + }; + E906F83224154B2A004E1E31 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 8UZ2659FDY; + INFOPLIST_FILE = SarsooARUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = xyz.sarsoo.SarsooARUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = SarsooAR; + }; + name = Debug; + }; + E906F83324154B2A004E1E31 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 8UZ2659FDY; + INFOPLIST_FILE = SarsooARUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = xyz.sarsoo.SarsooARUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = SarsooAR; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + E906F7FC24154B21004E1E31 /* Build configuration list for PBXProject "SarsooAR" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E906F82924154B2A004E1E31 /* Debug */, + E906F82A24154B2A004E1E31 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E906F82B24154B2A004E1E31 /* Build configuration list for PBXNativeTarget "SarsooAR" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E906F82C24154B2A004E1E31 /* Debug */, + E906F82D24154B2A004E1E31 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E906F82E24154B2A004E1E31 /* Build configuration list for PBXNativeTarget "SarsooARTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E906F82F24154B2A004E1E31 /* Debug */, + E906F83024154B2A004E1E31 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E906F83124154B2A004E1E31 /* Build configuration list for PBXNativeTarget "SarsooARUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E906F83224154B2A004E1E31 /* Debug */, + E906F83324154B2A004E1E31 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = E906F7F924154B21004E1E31 /* Project object */; +} diff --git a/SarsooAR.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SarsooAR.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..cd670a0 --- /dev/null +++ b/SarsooAR.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/SarsooAR.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/SarsooAR.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/SarsooAR.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/SarsooAR/AppDelegate.swift b/SarsooAR/AppDelegate.swift new file mode 100644 index 0000000..240294e --- /dev/null +++ b/SarsooAR/AppDelegate.swift @@ -0,0 +1,50 @@ +// +// AppDelegate.swift +// SarsooAR +// +// Created by Andy Pack on 08/03/2020. +// Copyright © 2020 Sarsoo. All rights reserved. +// + +import UIKit +import SwiftUI + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + + // Create the SwiftUI view that provides the window contents. + let contentView = ContentView() + + // Use a UIHostingController as window root view controller. + let window = UIWindow(frame: UIScreen.main.bounds) + window.rootViewController = UIHostingController(rootView: contentView) + self.window = window + window.makeKeyAndVisible() + return true + } + + func applicationWillResignActive(_ application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(_ application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + } + + func applicationWillEnterForeground(_ application: UIApplication) { + // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(_ application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + +} + diff --git a/SarsooAR/Assets.xcassets/AppIcon.appiconset/Contents.json b/SarsooAR/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..d8db8d6 --- /dev/null +++ b/SarsooAR/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,98 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "83.5x83.5", + "scale" : "2x" + }, + { + "idiom" : "ios-marketing", + "size" : "1024x1024", + "scale" : "1x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/SarsooAR/Assets.xcassets/Contents.json b/SarsooAR/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/SarsooAR/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/SarsooAR/Base.lproj/LaunchScreen.storyboard b/SarsooAR/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..865e932 --- /dev/null +++ b/SarsooAR/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SarsooAR/ContentView.swift b/SarsooAR/ContentView.swift new file mode 100644 index 0000000..a4c5311 --- /dev/null +++ b/SarsooAR/ContentView.swift @@ -0,0 +1,44 @@ +// +// ContentView.swift +// SarsooAR +// +// Created by Andy Pack on 08/03/2020. +// Copyright © 2020 Sarsoo. All rights reserved. +// + +import SwiftUI +import RealityKit + +struct ContentView : View { + var body: some View { + return ARViewContainer().edgesIgnoringSafeArea(.all) + } +} + +struct ARViewContainer: UIViewRepresentable { + + func makeUIView(context: Context) -> ARView { + + let arView = ARView(frame: .zero) + + // Load the "Box" scene from the "Experience" Reality File + let boxAnchor = try! Experience.loadBox() + + // Add the box anchor to the scene + arView.scene.anchors.append(boxAnchor) + + return arView + + } + + func updateUIView(_ uiView: ARView, context: Context) {} + +} + +#if DEBUG +struct ContentView_Previews : PreviewProvider { + static var previews: some View { + ContentView() + } +} +#endif diff --git a/SarsooAR/Experience.rcproject/Library/ProjectLibrary/Contents.json b/SarsooAR/Experience.rcproject/Library/ProjectLibrary/Contents.json new file mode 100644 index 0000000..c44dc44 --- /dev/null +++ b/SarsooAR/Experience.rcproject/Library/ProjectLibrary/Contents.json @@ -0,0 +1,3 @@ +[ + +] \ No newline at end of file diff --git a/SarsooAR/Experience.rcproject/Library/ProjectLibrary/Version.json b/SarsooAR/Experience.rcproject/Library/ProjectLibrary/Version.json new file mode 100644 index 0000000..8ff5618 --- /dev/null +++ b/SarsooAR/Experience.rcproject/Library/ProjectLibrary/Version.json @@ -0,0 +1,4 @@ +{ + "Version" : "1.0", + "LibraryID" : "BBB5EDD2-CBE1-49E5-931D-2C81F724D19D" +} \ No newline at end of file diff --git a/SarsooAR/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/square b/SarsooAR/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/square new file mode 100644 index 0000000..8ccf2e6 Binary files /dev/null and b/SarsooAR/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/square differ diff --git a/SarsooAR/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/wide b/SarsooAR/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/wide new file mode 100644 index 0000000..16b8ed4 Binary files /dev/null and b/SarsooAR/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/wide differ diff --git a/SarsooAR/Experience.rcproject/com.apple.RCFoundation.Project b/SarsooAR/Experience.rcproject/com.apple.RCFoundation.Project new file mode 100644 index 0000000..27f0b2b --- /dev/null +++ b/SarsooAR/Experience.rcproject/com.apple.RCFoundation.Project @@ -0,0 +1,454 @@ +{ + "__content" : [ + { + "scenes" : [ + { + "__content" : [ + { + "arAnchorSpecification" : { + "alignment" : "horizontal", + "name" : "surface" + }, + "behaviors" : [ + { + "__content" : [ + { + "actionGroups" : [ + { + "__content" : [ + { + "configurations" : [ + { + "__content" : [ + { + "configurationBox" : { + "configuration" : { + "animationStyle" : "basic", + "duration" : 1.7699999809265137, + "emphasisAnimationType" : "float", + "iterations" : 1, + "target" : [ + "3788A5B5-0388-488A-8304-7B90FEBA6FAC" + ] + }, + "name" : { + "type" : "emphasis" + } + }, + "identifier" : "1E5982D4-BF12-45A9-8A79-4BD9286BF8C7", + "isEnabled" : true + } + ], + "__version" : 1 + } + ], + "identifier" : "45D63D5F-AC09-4169-82F9-A8C4A33BE394", + "isEnabled" : true + } + ], + "__version" : 1 + } + ], + "color" : [ + 0.364705890417099, + 0.74117648601531982, + 0.69019609689712524, + 1 + ], + "identifier" : "986EC383-005B-42E2-B7C4-519115F85376", + "isEnabled" : true, + "isLooping" : false, + "isModal" : false, + "name" : "Behaviour", + "triggers" : [ + { + "__content" : [ + { + "configurationBox" : { + "configuration" : { + "distance" : 0.2793009877204895, + "target" : [ + "3788A5B5-0388-488A-8304-7B90FEBA6FAC" + ], + "type" : 0 + }, + "name" : "proximity" + }, + "identifier" : "86752523-5941-42AB-A97A-6467A375E67A", + "isEnabled" : true + } + ], + "__version" : 1 + } + ] + } + ], + "__version" : 2 + } + ], + "gravity" : [ + 0, + -9.8000001907348633, + 0 + ], + "hasGroundPlane" : true, + "identifier" : "F9610871-0955-494F-A5C3-51D1A281BAB3", + "material" : "concrete", + "overrides" : { + "children" : { + "4A213441-135C-450E-8EF8-1A4EAB267C1D" : { + "overrides" : { + "arguments" : [ + [ + "bevelRadius", + { + "typeName" : "Double", + "value" : 0.013411118806025893 + } + ], + [ + "material", + { + "typeName" : "String", + "value" : "gold" + } + ], + [ + "type", + { + "typeName" : "String", + "value" : "box" + } + ] + ], + "factory" : { + "identifier" : "com.apple.rc.af.CoreAssetFactories.PrimitiveShapeAssetFactory", + "version" : "1.0" + }, + "runtimeAttributes" : [ + [ + "RuntimeIdentifier", + { + "typeName" : "UUID", + "value" : "3788A5B5-0388-488A-8304-7B90FEBA6FAC" + } + ], + [ + "entityName", + { + "typeName" : "String", + "value" : "Steel Box" + } + ] + ] + }, + "transform" : { + "matrix" : [ + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + -0.2204643040895462, + 0.049999997019767761, + 2.1420420992512845e-08, + 1 + ] + } + }, + "7F5F1ADC-E5E4-4EF5-A5B5-FC43B071FFA5" : null, + "632E476F-1E55-4E30-9723-1C51DD2E8B89" : null, + "3402CE70-9E81-423C-8080-A240E5FE7C54" : { + "overrides" : { + "arguments" : [ + [ + "boundHeight", + { + "typeName" : "Double", + "value" : 1.5 + } + ], + [ + "boundWidth", + { + "typeName" : "Double", + "value" : 6 + } + ], + [ + "depth", + { + "typeName" : "Double", + "value" : 0.22 + } + ], + [ + "font", + { + "typeName" : "String", + "value" : "BodoniSvtyTwoSCITCTT-Book" + } + ], + [ + "hasBackground", + { + "typeName" : "Bool", + "value" : false + } + ], + [ + "height", + { + "typeName" : "Double", + "value" : 0.10000000000000001 + } + ], + [ + "horizontalAlignment", + { + "typeName" : "String", + "value" : "center" + } + ], + [ + "material", + { + "typeName" : "String", + "value" : "steel" + } + ], + [ + "materialColor", + { + "typeName" : "double4", + "value" : [ + 1, + 1, + 1, + 1 + ] + } + ], + [ + "oneLine", + { + "typeName" : "Bool", + "value" : false + } + ], + [ + "precision", + { + "typeName" : "String", + "value" : "normal" + } + ], + [ + "text", + { + "typeName" : "String", + "value" : "Sarsoo" + } + ], + [ + "verticalAlignment", + { + "typeName" : "String", + "value" : "bottom" + } + ], + [ + "verticalPosition", + { + "typeName" : "String", + "value" : "middle" + } + ], + [ + "wordWrap", + { + "typeName" : "Bool", + "value" : true + } + ] + ], + "factory" : { + "identifier" : "com.apple.rc.af.CoreAssetFactories.Text", + "version" : "0.0" + }, + "runtimeAttributes" : [ + [ + "RuntimeIdentifier", + { + "typeName" : "UUID", + "value" : "05ACEBFF-4612-4E58-97C3-33A01C840AF2" + } + ], + [ + "rigidBody-enabled", + { + "typeName" : "Bool", + "value" : true + } + ] + ] + }, + "transform" : { + "matrix" : [ + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0.18278937041759491, + 0.038759764283895493, + -0.052419979125261307, + 1 + ] + } + }, + "B91C7CA3-4AB1-4253-9A84-07383168A8A8" : null, + "E0EAF937-0368-4E6F-AF86-08A9563C6A31" : { + "overrides" : { + "arguments" : [ + [ + "item", + { + "typeName" : "String", + "value" : "Warp Marble 2" + } + ], + [ + "style", + { + "typeName" : "String", + "value" : "Realistic" + } + ] + ], + "children" : { + "item" : { + "overrides" : { + "factory" : null, + "runtimeAttributes" : [ + [ + "RuntimeIdentifier", + { + "typeName" : "UUID", + "value" : "D57BEF14-E534-4F1C-8120-CE25F5884ED6" + } + ] + ] + } + } + }, + "factory" : { + "identifier" : "com.apple.rc.af.WarpMarble2.8eaa849f-55b5-440d-8da6-2edd9d7f7567", + "version" : "1.0" + }, + "runtimeAttributes" : [ + [ + "RuntimeIdentifier", + { + "typeName" : "UUID", + "value" : "A2ED9927-7A82-4815-9DBB-E427A0CC634B" + } + ] + ] + }, + "transform" : { + "matrix" : [ + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + -0.051093820482492447, + 0.0099999997764825821, + 0.011211412027478218, + 1 + ] + } + } + }, + "factory" : null + }, + "title" : "Box", + "viewTransform" : { + "cameraTransform" : [ + 0.97084146738052368, + -5.587935802964239e-08, + -0.23972232639789581, + 0, + -0.092462286353111267, + 0.92262160778045654, + -0.37445956468582153, + 0, + 0.22117307782173157, + 0.38570621609687805, + 0.89571928977966309, + 0, + 0.37851834297180176, + 0.54469352960586548, + 0.99601411819458008, + 1 + ], + "sceneTransform" : [ + 1, + 0, + 0, + 0, + 0, + 0.99999994039535522, + 0, + 0, + 0, + 0, + 0.99999994039535522, + 0, + 0, + 0, + 0, + 1 + ] + } + } + ], + "__version" : 4 + } + ], + "tags" : { + "__content" : [ + { + "tagsStore" : { + + } + } + ], + "__version" : 1 + } + } + ], + "__version" : 1 +} \ No newline at end of file diff --git a/SarsooAR/Info.plist b/SarsooAR/Info.plist new file mode 100644 index 0000000..3c072de --- /dev/null +++ b/SarsooAR/Info.plist @@ -0,0 +1,48 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + NSCameraUsageDescription + + UILaunchStoryboardName + LaunchScreen + UIRequiredDeviceCapabilities + + armv7 + arkit + + UIStatusBarHidden + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/SarsooAR/Preview Content/Preview Assets.xcassets/Contents.json b/SarsooAR/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/SarsooAR/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/SarsooARTests/Info.plist b/SarsooARTests/Info.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/SarsooARTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/SarsooARTests/SarsooARTests.swift b/SarsooARTests/SarsooARTests.swift new file mode 100644 index 0000000..b1c84c2 --- /dev/null +++ b/SarsooARTests/SarsooARTests.swift @@ -0,0 +1,34 @@ +// +// SarsooARTests.swift +// SarsooARTests +// +// Created by Andy Pack on 08/03/2020. +// Copyright © 2020 Sarsoo. All rights reserved. +// + +import XCTest +@testable import SarsooAR + +class SarsooARTests: XCTestCase { + + override func setUp() { + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testPerformanceExample() { + // 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/SarsooARUITests/Info.plist b/SarsooARUITests/Info.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/SarsooARUITests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/SarsooARUITests/SarsooARUITests.swift b/SarsooARUITests/SarsooARUITests.swift new file mode 100644 index 0000000..d1397cf --- /dev/null +++ b/SarsooARUITests/SarsooARUITests.swift @@ -0,0 +1,43 @@ +// +// SarsooARUITests.swift +// SarsooARUITests +// +// Created by Andy Pack on 08/03/2020. +// Copyright © 2020 Sarsoo. All rights reserved. +// + +import XCTest + +class SarsooARUITests: XCTestCase { + + override func setUp() { + // 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 tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() { + // UI tests must launch the application that they test. + let app = XCUIApplication() + app.launch() + + // Use recording to get started writing UI tests. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testLaunchPerformance() { + if #available(macOS 10.15, iOS 13.0, tvOS 13.0, *) { + // This measures how long it takes to launch your application. + measure(metrics: [XCTOSSignpostMetric.applicationLaunch]) { + XCUIApplication().launch() + } + } + } +}