diff --git a/ARPlaneDetector.xcodeproj/project.pbxproj b/ARPlaneDetector.xcodeproj/project.pbxproj new file mode 100644 index 0000000..b94ac40 --- /dev/null +++ b/ARPlaneDetector.xcodeproj/project.pbxproj @@ -0,0 +1,593 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + 57FD137F202CD1E400C2AF98 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57FD137E202CD1E400C2AF98 /* AppDelegate.swift */; }; + 57FD1381202CD1E400C2AF98 /* art.scnassets in Resources */ = {isa = PBXBuildFile; fileRef = 57FD1380202CD1E400C2AF98 /* art.scnassets */; }; + 57FD1383202CD1E400C2AF98 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57FD1382202CD1E400C2AF98 /* ViewController.swift */; }; + 57FD1386202CD1E400C2AF98 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 57FD1384202CD1E400C2AF98 /* Main.storyboard */; }; + 57FD1388202CD1E600C2AF98 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 57FD1387202CD1E600C2AF98 /* Assets.xcassets */; }; + 57FD138B202CD1E600C2AF98 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 57FD1389202CD1E600C2AF98 /* LaunchScreen.storyboard */; }; + 57FD1396202CD1E600C2AF98 /* ARPlaneDetectorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57FD1395202CD1E600C2AF98 /* ARPlaneDetectorTests.swift */; }; + 57FD13A1202CD1E600C2AF98 /* ARPlaneDetectorUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57FD13A0202CD1E600C2AF98 /* ARPlaneDetectorUITests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 57FD1392202CD1E600C2AF98 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 57FD1373202CD1E400C2AF98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 57FD137A202CD1E400C2AF98; + remoteInfo = ARPlaneDetector; + }; + 57FD139D202CD1E600C2AF98 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 57FD1373202CD1E400C2AF98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 57FD137A202CD1E400C2AF98; + remoteInfo = ARPlaneDetector; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 57FD137B202CD1E400C2AF98 /* ARPlaneDetector.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ARPlaneDetector.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 57FD137E202CD1E400C2AF98 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 57FD1380202CD1E400C2AF98 /* art.scnassets */ = {isa = PBXFileReference; lastKnownFileType = wrapper.scnassets; path = art.scnassets; sourceTree = ""; }; + 57FD1382202CD1E400C2AF98 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 57FD1385202CD1E400C2AF98 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 57FD1387202CD1E600C2AF98 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 57FD138A202CD1E600C2AF98 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 57FD138C202CD1E600C2AF98 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 57FD1391202CD1E600C2AF98 /* ARPlaneDetectorTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ARPlaneDetectorTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 57FD1395202CD1E600C2AF98 /* ARPlaneDetectorTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ARPlaneDetectorTests.swift; sourceTree = ""; }; + 57FD1397202CD1E600C2AF98 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 57FD139C202CD1E600C2AF98 /* ARPlaneDetectorUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ARPlaneDetectorUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 57FD13A0202CD1E600C2AF98 /* ARPlaneDetectorUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ARPlaneDetectorUITests.swift; sourceTree = ""; }; + 57FD13A2202CD1E600C2AF98 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 57FD1378202CD1E400C2AF98 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 57FD138E202CD1E600C2AF98 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 57FD1399202CD1E600C2AF98 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 57FD1372202CD1E400C2AF98 = { + isa = PBXGroup; + children = ( + 57FD137D202CD1E400C2AF98 /* ARPlaneDetector */, + 57FD1394202CD1E600C2AF98 /* ARPlaneDetectorTests */, + 57FD139F202CD1E600C2AF98 /* ARPlaneDetectorUITests */, + 57FD137C202CD1E400C2AF98 /* Products */, + ); + sourceTree = ""; + }; + 57FD137C202CD1E400C2AF98 /* Products */ = { + isa = PBXGroup; + children = ( + 57FD137B202CD1E400C2AF98 /* ARPlaneDetector.app */, + 57FD1391202CD1E600C2AF98 /* ARPlaneDetectorTests.xctest */, + 57FD139C202CD1E600C2AF98 /* ARPlaneDetectorUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 57FD137D202CD1E400C2AF98 /* ARPlaneDetector */ = { + isa = PBXGroup; + children = ( + 57FD137E202CD1E400C2AF98 /* AppDelegate.swift */, + 57FD1380202CD1E400C2AF98 /* art.scnassets */, + 57FD1382202CD1E400C2AF98 /* ViewController.swift */, + 57FD1384202CD1E400C2AF98 /* Main.storyboard */, + 57FD1387202CD1E600C2AF98 /* Assets.xcassets */, + 57FD1389202CD1E600C2AF98 /* LaunchScreen.storyboard */, + 57FD138C202CD1E600C2AF98 /* Info.plist */, + ); + path = ARPlaneDetector; + sourceTree = ""; + }; + 57FD1394202CD1E600C2AF98 /* ARPlaneDetectorTests */ = { + isa = PBXGroup; + children = ( + 57FD1395202CD1E600C2AF98 /* ARPlaneDetectorTests.swift */, + 57FD1397202CD1E600C2AF98 /* Info.plist */, + ); + path = ARPlaneDetectorTests; + sourceTree = ""; + }; + 57FD139F202CD1E600C2AF98 /* ARPlaneDetectorUITests */ = { + isa = PBXGroup; + children = ( + 57FD13A0202CD1E600C2AF98 /* ARPlaneDetectorUITests.swift */, + 57FD13A2202CD1E600C2AF98 /* Info.plist */, + ); + path = ARPlaneDetectorUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 57FD137A202CD1E400C2AF98 /* ARPlaneDetector */ = { + isa = PBXNativeTarget; + buildConfigurationList = 57FD13A5202CD1E600C2AF98 /* Build configuration list for PBXNativeTarget "ARPlaneDetector" */; + buildPhases = ( + 57FD1377202CD1E400C2AF98 /* Sources */, + 57FD1378202CD1E400C2AF98 /* Frameworks */, + 57FD1379202CD1E400C2AF98 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = ARPlaneDetector; + productName = ARPlaneDetector; + productReference = 57FD137B202CD1E400C2AF98 /* ARPlaneDetector.app */; + productType = "com.apple.product-type.application"; + }; + 57FD1390202CD1E600C2AF98 /* ARPlaneDetectorTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 57FD13A8202CD1E600C2AF98 /* Build configuration list for PBXNativeTarget "ARPlaneDetectorTests" */; + buildPhases = ( + 57FD138D202CD1E600C2AF98 /* Sources */, + 57FD138E202CD1E600C2AF98 /* Frameworks */, + 57FD138F202CD1E600C2AF98 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 57FD1393202CD1E600C2AF98 /* PBXTargetDependency */, + ); + name = ARPlaneDetectorTests; + productName = ARPlaneDetectorTests; + productReference = 57FD1391202CD1E600C2AF98 /* ARPlaneDetectorTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 57FD139B202CD1E600C2AF98 /* ARPlaneDetectorUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 57FD13AB202CD1E600C2AF98 /* Build configuration list for PBXNativeTarget "ARPlaneDetectorUITests" */; + buildPhases = ( + 57FD1398202CD1E600C2AF98 /* Sources */, + 57FD1399202CD1E600C2AF98 /* Frameworks */, + 57FD139A202CD1E600C2AF98 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 57FD139E202CD1E600C2AF98 /* PBXTargetDependency */, + ); + name = ARPlaneDetectorUITests; + productName = ARPlaneDetectorUITests; + productReference = 57FD139C202CD1E600C2AF98 /* ARPlaneDetectorUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 57FD1373202CD1E400C2AF98 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0930; + LastUpgradeCheck = 0930; + ORGANIZATIONNAME = collectiveidea; + TargetAttributes = { + 57FD137A202CD1E400C2AF98 = { + CreatedOnToolsVersion = 9.3; + }; + 57FD1390202CD1E600C2AF98 = { + CreatedOnToolsVersion = 9.3; + TestTargetID = 57FD137A202CD1E400C2AF98; + }; + 57FD139B202CD1E600C2AF98 = { + CreatedOnToolsVersion = 9.3; + TestTargetID = 57FD137A202CD1E400C2AF98; + }; + }; + }; + buildConfigurationList = 57FD1376202CD1E400C2AF98 /* Build configuration list for PBXProject "ARPlaneDetector" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 57FD1372202CD1E400C2AF98; + productRefGroup = 57FD137C202CD1E400C2AF98 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 57FD137A202CD1E400C2AF98 /* ARPlaneDetector */, + 57FD1390202CD1E600C2AF98 /* ARPlaneDetectorTests */, + 57FD139B202CD1E600C2AF98 /* ARPlaneDetectorUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 57FD1379202CD1E400C2AF98 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 57FD1381202CD1E400C2AF98 /* art.scnassets in Resources */, + 57FD138B202CD1E600C2AF98 /* LaunchScreen.storyboard in Resources */, + 57FD1388202CD1E600C2AF98 /* Assets.xcassets in Resources */, + 57FD1386202CD1E400C2AF98 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 57FD138F202CD1E600C2AF98 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 57FD139A202CD1E600C2AF98 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 57FD1377202CD1E400C2AF98 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 57FD1383202CD1E400C2AF98 /* ViewController.swift in Sources */, + 57FD137F202CD1E400C2AF98 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 57FD138D202CD1E600C2AF98 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 57FD1396202CD1E600C2AF98 /* ARPlaneDetectorTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 57FD1398202CD1E600C2AF98 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 57FD13A1202CD1E600C2AF98 /* ARPlaneDetectorUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 57FD1393202CD1E600C2AF98 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 57FD137A202CD1E400C2AF98 /* ARPlaneDetector */; + targetProxy = 57FD1392202CD1E600C2AF98 /* PBXContainerItemProxy */; + }; + 57FD139E202CD1E600C2AF98 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 57FD137A202CD1E400C2AF98 /* ARPlaneDetector */; + targetProxy = 57FD139D202CD1E600C2AF98 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 57FD1384202CD1E400C2AF98 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 57FD1385202CD1E400C2AF98 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 57FD1389202CD1E600C2AF98 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 57FD138A202CD1E600C2AF98 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 57FD13A3202CD1E600C2AF98 /* 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; + CODE_SIGN_IDENTITY = "iPhone Developer"; + 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 = 11.3; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 57FD13A4202CD1E600C2AF98 /* 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; + CODE_SIGN_IDENTITY = "iPhone Developer"; + 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 = 11.3; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 57FD13A6202CD1E600C2AF98 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 3MXD5J8GME; + INFOPLIST_FILE = ARPlaneDetector/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.collectiveidea.ARPlaneDetector; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 57FD13A7202CD1E600C2AF98 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 3MXD5J8GME; + INFOPLIST_FILE = ARPlaneDetector/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.collectiveidea.ARPlaneDetector; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 57FD13A9202CD1E600C2AF98 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 3MXD5J8GME; + INFOPLIST_FILE = ARPlaneDetectorTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.collectiveidea.ARPlaneDetectorTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ARPlaneDetector.app/ARPlaneDetector"; + }; + name = Debug; + }; + 57FD13AA202CD1E600C2AF98 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 3MXD5J8GME; + INFOPLIST_FILE = ARPlaneDetectorTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.collectiveidea.ARPlaneDetectorTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ARPlaneDetector.app/ARPlaneDetector"; + }; + name = Release; + }; + 57FD13AC202CD1E600C2AF98 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 3MXD5J8GME; + INFOPLIST_FILE = ARPlaneDetectorUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.collectiveidea.ARPlaneDetectorUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = ARPlaneDetector; + }; + name = Debug; + }; + 57FD13AD202CD1E600C2AF98 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 3MXD5J8GME; + INFOPLIST_FILE = ARPlaneDetectorUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.collectiveidea.ARPlaneDetectorUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = ARPlaneDetector; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 57FD1376202CD1E400C2AF98 /* Build configuration list for PBXProject "ARPlaneDetector" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 57FD13A3202CD1E600C2AF98 /* Debug */, + 57FD13A4202CD1E600C2AF98 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 57FD13A5202CD1E600C2AF98 /* Build configuration list for PBXNativeTarget "ARPlaneDetector" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 57FD13A6202CD1E600C2AF98 /* Debug */, + 57FD13A7202CD1E600C2AF98 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 57FD13A8202CD1E600C2AF98 /* Build configuration list for PBXNativeTarget "ARPlaneDetectorTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 57FD13A9202CD1E600C2AF98 /* Debug */, + 57FD13AA202CD1E600C2AF98 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 57FD13AB202CD1E600C2AF98 /* Build configuration list for PBXNativeTarget "ARPlaneDetectorUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 57FD13AC202CD1E600C2AF98 /* Debug */, + 57FD13AD202CD1E600C2AF98 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 57FD1373202CD1E400C2AF98 /* Project object */; +} diff --git a/ARPlaneDetector.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/ARPlaneDetector.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..431ba0c --- /dev/null +++ b/ARPlaneDetector.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/ARPlaneDetector/AppDelegate.swift b/ARPlaneDetector/AppDelegate.swift new file mode 100644 index 0000000..6eee044 --- /dev/null +++ b/ARPlaneDetector/AppDelegate.swift @@ -0,0 +1,46 @@ +// +// AppDelegate.swift +// ARPlaneDetector +// +// Created by Ben Lambert on 2/8/18. +// Copyright © 2018 collectiveidea. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + 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. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + 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. + } + + func applicationWillTerminate(_ application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } + + +} + diff --git a/ARPlaneDetector/Assets.xcassets/AppIcon.appiconset/Contents.json b/ARPlaneDetector/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..d8db8d6 --- /dev/null +++ b/ARPlaneDetector/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/ARPlaneDetector/Assets.xcassets/Contents.json b/ARPlaneDetector/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/ARPlaneDetector/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/ARPlaneDetector/Base.lproj/LaunchScreen.storyboard b/ARPlaneDetector/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..f83f6fd --- /dev/null +++ b/ARPlaneDetector/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ARPlaneDetector/Base.lproj/Main.storyboard b/ARPlaneDetector/Base.lproj/Main.storyboard new file mode 100644 index 0000000..933e7d4 --- /dev/null +++ b/ARPlaneDetector/Base.lproj/Main.storyboard @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ARPlaneDetector/Info.plist b/ARPlaneDetector/Info.plist new file mode 100644 index 0000000..08ef16a --- /dev/null +++ b/ARPlaneDetector/Info.plist @@ -0,0 +1,50 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + NSCameraUsageDescription + This application will use the camera for Augmented Reality. + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + arm64 + arkit + + UIStatusBarHidden + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/ARPlaneDetector/ViewController.swift b/ARPlaneDetector/ViewController.swift new file mode 100644 index 0000000..95c65ee --- /dev/null +++ b/ARPlaneDetector/ViewController.swift @@ -0,0 +1,80 @@ +// +// ViewController.swift +// ARPlaneDetector +// +// Created by Ben Lambert on 2/8/18. +// Copyright © 2018 collectiveidea. All rights reserved. +// + +import UIKit +import SceneKit +import ARKit + +class ViewController: UIViewController, ARSCNViewDelegate { + + @IBOutlet var sceneView: ARSCNView! + + override func viewDidLoad() { + super.viewDidLoad() + + // Set the view's delegate + sceneView.delegate = self + + // Show statistics such as fps and timing information + sceneView.showsStatistics = true + + // Create a new scene + let scene = SCNScene(named: "art.scnassets/ship.scn")! + + // Set the scene to the view + sceneView.scene = scene + } + + override func viewWillAppear(_ animated: Bool) { + super.viewWillAppear(animated) + + // Create a session configuration + let configuration = ARWorldTrackingConfiguration() + + // Run the view's session + sceneView.session.run(configuration) + } + + override func viewWillDisappear(_ animated: Bool) { + super.viewWillDisappear(animated) + + // Pause the view's session + sceneView.session.pause() + } + + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Release any cached data, images, etc that aren't in use. + } + + // MARK: - ARSCNViewDelegate + +/* + // Override to create and configure nodes for anchors added to the view's session. + func renderer(_ renderer: SCNSceneRenderer, nodeFor anchor: ARAnchor) -> SCNNode? { + let node = SCNNode() + + return node + } +*/ + + func session(_ session: ARSession, didFailWithError error: Error) { + // Present an error message to the user + + } + + func sessionWasInterrupted(_ session: ARSession) { + // Inform the user that the session has been interrupted, for example, by presenting an overlay + + } + + func sessionInterruptionEnded(_ session: ARSession) { + // Reset tracking and/or remove existing anchors if consistent tracking is required + + } +} diff --git a/ARPlaneDetector/art.scnassets/ship.scn b/ARPlaneDetector/art.scnassets/ship.scn new file mode 100644 index 0000000..e22648f Binary files /dev/null and b/ARPlaneDetector/art.scnassets/ship.scn differ diff --git a/ARPlaneDetector/art.scnassets/texture.png b/ARPlaneDetector/art.scnassets/texture.png new file mode 100644 index 0000000..ba39258 Binary files /dev/null and b/ARPlaneDetector/art.scnassets/texture.png differ diff --git a/ARPlaneDetectorTests/ARPlaneDetectorTests.swift b/ARPlaneDetectorTests/ARPlaneDetectorTests.swift new file mode 100644 index 0000000..3045102 --- /dev/null +++ b/ARPlaneDetectorTests/ARPlaneDetectorTests.swift @@ -0,0 +1,36 @@ +// +// ARPlaneDetectorTests.swift +// ARPlaneDetectorTests +// +// Created by Ben Lambert on 2/8/18. +// Copyright © 2018 collectiveidea. All rights reserved. +// + +import XCTest +@testable import ARPlaneDetector + +class ARPlaneDetectorTests: XCTestCase { + + override func setUp() { + super.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. + super.tearDown() + } + + 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/ARPlaneDetectorTests/Info.plist b/ARPlaneDetectorTests/Info.plist new file mode 100644 index 0000000..6c40a6c --- /dev/null +++ b/ARPlaneDetectorTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/ARPlaneDetectorUITests/ARPlaneDetectorUITests.swift b/ARPlaneDetectorUITests/ARPlaneDetectorUITests.swift new file mode 100644 index 0000000..b5a900f --- /dev/null +++ b/ARPlaneDetectorUITests/ARPlaneDetectorUITests.swift @@ -0,0 +1,36 @@ +// +// ARPlaneDetectorUITests.swift +// ARPlaneDetectorUITests +// +// Created by Ben Lambert on 2/8/18. +// Copyright © 2018 collectiveidea. All rights reserved. +// + +import XCTest + +class ARPlaneDetectorUITests: XCTestCase { + + override func setUp() { + super.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 + // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. + XCUIApplication().launch() + + // 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. + super.tearDown() + } + + func testExample() { + // Use recording to get started writing UI tests. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + +} diff --git a/ARPlaneDetectorUITests/Info.plist b/ARPlaneDetectorUITests/Info.plist new file mode 100644 index 0000000..6c40a6c --- /dev/null +++ b/ARPlaneDetectorUITests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + +