├── TestSkeleton ├── Assets.xcassets │ ├── Contents.json │ └── AppIcon.appiconset │ │ └── Contents.json ├── AppDelegate.swift ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── Info.plist ├── SceneDelegate.swift └── ARSkeletonViewController.swift ├── README.md └── TestSkeleton.xcodeproj ├── project.xcworkspace ├── contents.xcworkspacedata ├── xcuserdata │ └── macOS.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── xcuserdata └── macOS.xcuserdatad │ └── xcschemes │ └── xcschememanagement.plist └── project.pbxproj /TestSkeleton/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ARSkeleton 2 | Small demo for visualizing ARSkeleton3D introduced in ARKit3 3 | 4 | *Project is still updating* 5 | 6 | ![Example](http://i.piccy.info/i9/58ce198d195f8c7e94d06dd54fa950a1/1559769457/58218/1321691/IMG_7604.jpg) 7 | -------------------------------------------------------------------------------- /TestSkeleton.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /TestSkeleton.xcodeproj/project.xcworkspace/xcuserdata/macOS.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfine/ARSkeleton/HEAD/TestSkeleton.xcodeproj/project.xcworkspace/xcuserdata/macOS.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /TestSkeleton.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /TestSkeleton.xcodeproj/xcuserdata/macOS.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | TestSkeleton.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /TestSkeleton/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // TestSkeleton 4 | // 5 | // Created by Mac on 6/5/19. 6 | // Copyright © 2019 AV. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | 15 | 16 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 17 | // Override point for customization after application launch. 18 | return true 19 | } 20 | 21 | func applicationWillTerminate(_ application: UIApplication) { 22 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 23 | } 24 | 25 | // MARK: UISceneSession Lifecycle 26 | 27 | func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { 28 | // Called when a new scene session is being created. 29 | // Use this method to select a configuration to create the new scene with. 30 | return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) 31 | } 32 | 33 | func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) { 34 | // Called when the user discards a scene session. 35 | // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. 36 | // Use this method to release any resources that were specific to the discarded scenes, as they will not return. 37 | } 38 | 39 | 40 | } 41 | 42 | -------------------------------------------------------------------------------- /TestSkeleton/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /TestSkeleton/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "size" : "1024x1024", 91 | "scale" : "1x" 92 | } 93 | ], 94 | "info" : { 95 | "version" : 1, 96 | "author" : "xcode" 97 | } 98 | } -------------------------------------------------------------------------------- /TestSkeleton/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | LSRequiresIPhoneOS 22 | 23 | UIApplicationSceneManifest 24 | 25 | UIApplicationSupportsMultipleScenes 26 | 27 | UISceneConfigurations 28 | 29 | UIWindowSceneSessionRoleApplication 30 | 31 | 32 | UILaunchStoryboardName 33 | LaunchScreen 34 | UISceneConfigurationName 35 | Default Configuration 36 | UISceneDelegateClassName 37 | $(PRODUCT_MODULE_NAME).SceneDelegate 38 | UISceneStoryboardFile 39 | Main 40 | 41 | 42 | 43 | 44 | UILaunchStoryboardName 45 | LaunchScreen 46 | UIMainStoryboardFile 47 | Main 48 | UIRequiredDeviceCapabilities 49 | 50 | armv7 51 | 52 | UISupportedInterfaceOrientations 53 | 54 | UIInterfaceOrientationPortrait 55 | UIInterfaceOrientationLandscapeLeft 56 | UIInterfaceOrientationLandscapeRight 57 | 58 | UISupportedInterfaceOrientations~ipad 59 | 60 | UIInterfaceOrientationPortrait 61 | UIInterfaceOrientationPortraitUpsideDown 62 | UIInterfaceOrientationLandscapeLeft 63 | UIInterfaceOrientationLandscapeRight 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /TestSkeleton/SceneDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SceneDelegate.swift 3 | // TestSkeleton 4 | // 5 | // Created by Mac on 6/5/19. 6 | // Copyright © 2019 AV. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class SceneDelegate: UIResponder, UIWindowSceneDelegate { 12 | 13 | var window: UIWindow? 14 | 15 | 16 | func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { 17 | // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. 18 | // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. 19 | // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead). 20 | guard let _ = (scene as? UIWindowScene) else { return } 21 | } 22 | 23 | func sceneDidDisconnect(_ scene: UIScene) { 24 | // Called as the scene is being released by the system. 25 | // This occurs shortly after the scene enters the background, or when its session is discarded. 26 | // Release any resources associated with this scene that can be re-created the next time the scene connects. 27 | // The scene may re-connect later, as its session was not neccessarily discarded (see `application:didDiscardSceneSessions` instead). 28 | } 29 | 30 | func sceneDidBecomeActive(_ scene: UIScene) { 31 | // Called when the scene has moved from an inactive state to an active state. 32 | // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive. 33 | } 34 | 35 | func sceneWillResignActive(_ scene: UIScene) { 36 | // Called when the scene will move from an active state to an inactive state. 37 | // This may occur due to temporary interruptions (ex. an incoming phone call). 38 | } 39 | 40 | func sceneWillEnterForeground(_ scene: UIScene) { 41 | // Called as the scene transitions from the background to the foreground. 42 | // Use this method to undo the changes made on entering the background. 43 | } 44 | 45 | func sceneDidEnterBackground(_ scene: UIScene) { 46 | // Called as the scene transitions from the foreground to the background. 47 | // Use this method to save data, release shared resources, and store enough scene-specific state information 48 | // to restore the scene back to its current state. 49 | } 50 | } 51 | 52 | -------------------------------------------------------------------------------- /TestSkeleton/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /TestSkeleton/ARSkeletonViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ARViewController.swift 3 | // ARMatteExampleSwift 4 | // 5 | // Created by Mac on 6/4/19. 6 | // Copyright © 2019 Apple. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import ARKit 11 | 12 | class ARSkeletonViewController: UIViewController, ARSessionDelegate { 13 | 14 | @IBOutlet weak var sceneView: ARSCNView! 15 | 16 | override func viewDidLoad() { 17 | super.viewDidLoad() 18 | self.sceneView.session.delegate = self 19 | } 20 | 21 | override func viewWillAppear(_ animated: Bool) { 22 | super.viewWillAppear(animated) 23 | 24 | // Run the view's session with BodyTrackingConfiguration 25 | let bodyBonfiguration = ARBodyTrackingConfiguration() 26 | self.sceneView.session.run(bodyBonfiguration) 27 | } 28 | 29 | override func viewWillDisappear(_ animated: Bool) { 30 | super.viewWillDisappear(animated) 31 | 32 | // Pause the view's session 33 | self.sceneView.session.pause() 34 | } 35 | 36 | func configSession() { 37 | let configuration = ARBodyTrackingConfiguration() 38 | self.sceneView.session.run(configuration) 39 | } 40 | 41 | func session(_ session: ARSession, didAdd anchors: [ARAnchor]) { 42 | 43 | for anch in anchors { 44 | if let anch = anch as? ARBodyAnchor { 45 | visualize(bodyAnchor: anch) 46 | } 47 | } 48 | } 49 | 50 | func session(_ session: ARSession, didUpdate anchors: [ARAnchor]) { 51 | for anch in anchors { 52 | if let anch = anch as? ARBodyAnchor { 53 | visualize(bodyAnchor: anch) 54 | } 55 | } 56 | } 57 | 58 | 59 | func visualize(bodyAnchor:ARBodyAnchor) { 60 | 61 | 62 | for jointName in bodyAnchor.skeleton.definition.jointNames { 63 | 64 | let jointType = ARSkeleton.JointName(rawValue: jointName) 65 | 66 | if let transform = bodyAnchor.skeleton.modelTransform(for: jointType) { 67 | 68 | var matrix = SCNMatrix4(transform) 69 | 70 | matrix = SCNMatrix4Mult(matrix, SCNMatrix4(bodyAnchor.transform)) 71 | let position = SCNVector3(matrix.m41, matrix.m42, matrix.m43) 72 | 73 | if let nodeToUpdate = self.sceneView.scene.rootNode.childNode(withName: jointName, 74 | recursively: false) { 75 | 76 | nodeToUpdate.isHidden = false 77 | nodeToUpdate.position = position 78 | 79 | } else { 80 | 81 | let jointNode = SphereNode(position: position) 82 | jointNode.name = jointName 83 | self.sceneView.scene.rootNode.addChildNode(jointNode) 84 | } 85 | 86 | } else { 87 | // hide node if it is already on screen 88 | if let nodeToHide = self.sceneView.scene.rootNode.childNode(withName: jointName, 89 | recursively: false) { 90 | nodeToHide.isHidden = true 91 | } 92 | } 93 | } 94 | } 95 | } 96 | 97 | class SphereNode: SCNNode { 98 | 99 | static let radius: CGFloat = 0.02 100 | 101 | let sphereGeometry: SCNSphere 102 | 103 | required init?(coder aDecoder: NSCoder) { 104 | sphereGeometry = SCNSphere(radius: SphereNode.radius) 105 | super.init(coder: aDecoder) 106 | } 107 | 108 | init(position: SCNVector3) { 109 | self.sphereGeometry = SCNSphere(radius: SphereNode.radius) 110 | 111 | super.init() 112 | 113 | let sphereNode = SCNNode(geometry: self.sphereGeometry) 114 | sphereNode.position = position 115 | 116 | self.addChildNode(sphereNode) 117 | } 118 | } 119 | -------------------------------------------------------------------------------- /TestSkeleton.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 50; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 224B9E4422A856F900B97AF4 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 224B9E4322A856F900B97AF4 /* AppDelegate.swift */; }; 11 | 224B9E4622A856F900B97AF4 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 224B9E4522A856F900B97AF4 /* SceneDelegate.swift */; }; 12 | 224B9E4B22A856F900B97AF4 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 224B9E4922A856F900B97AF4 /* Main.storyboard */; }; 13 | 224B9E4D22A856FA00B97AF4 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 224B9E4C22A856FA00B97AF4 /* Assets.xcassets */; }; 14 | 224B9E5022A856FA00B97AF4 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 224B9E4E22A856FA00B97AF4 /* LaunchScreen.storyboard */; }; 15 | 224B9E5822A8573400B97AF4 /* ARSkeletonViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 224B9E5722A8573400B97AF4 /* ARSkeletonViewController.swift */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXFileReference section */ 19 | 224B9E4022A856F900B97AF4 /* TestSkeleton.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TestSkeleton.app; sourceTree = BUILT_PRODUCTS_DIR; }; 20 | 224B9E4322A856F900B97AF4 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 21 | 224B9E4522A856F900B97AF4 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; 22 | 224B9E4A22A856F900B97AF4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 23 | 224B9E4C22A856FA00B97AF4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 24 | 224B9E4F22A856FA00B97AF4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 25 | 224B9E5122A856FA00B97AF4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 26 | 224B9E5722A8573400B97AF4 /* ARSkeletonViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ARSkeletonViewController.swift; sourceTree = ""; }; 27 | /* End PBXFileReference section */ 28 | 29 | /* Begin PBXFrameworksBuildPhase section */ 30 | 224B9E3D22A856F900B97AF4 /* Frameworks */ = { 31 | isa = PBXFrameworksBuildPhase; 32 | buildActionMask = 2147483647; 33 | files = ( 34 | ); 35 | runOnlyForDeploymentPostprocessing = 0; 36 | }; 37 | /* End PBXFrameworksBuildPhase section */ 38 | 39 | /* Begin PBXGroup section */ 40 | 224B9E3722A856F900B97AF4 = { 41 | isa = PBXGroup; 42 | children = ( 43 | 224B9E4222A856F900B97AF4 /* TestSkeleton */, 44 | 224B9E4122A856F900B97AF4 /* Products */, 45 | ); 46 | sourceTree = ""; 47 | }; 48 | 224B9E4122A856F900B97AF4 /* Products */ = { 49 | isa = PBXGroup; 50 | children = ( 51 | 224B9E4022A856F900B97AF4 /* TestSkeleton.app */, 52 | ); 53 | name = Products; 54 | sourceTree = ""; 55 | }; 56 | 224B9E4222A856F900B97AF4 /* TestSkeleton */ = { 57 | isa = PBXGroup; 58 | children = ( 59 | 224B9E4322A856F900B97AF4 /* AppDelegate.swift */, 60 | 224B9E4522A856F900B97AF4 /* SceneDelegate.swift */, 61 | 224B9E4922A856F900B97AF4 /* Main.storyboard */, 62 | 224B9E5722A8573400B97AF4 /* ARSkeletonViewController.swift */, 63 | 224B9E4C22A856FA00B97AF4 /* Assets.xcassets */, 64 | 224B9E4E22A856FA00B97AF4 /* LaunchScreen.storyboard */, 65 | 224B9E5122A856FA00B97AF4 /* Info.plist */, 66 | ); 67 | path = TestSkeleton; 68 | sourceTree = ""; 69 | }; 70 | /* End PBXGroup section */ 71 | 72 | /* Begin PBXNativeTarget section */ 73 | 224B9E3F22A856F900B97AF4 /* TestSkeleton */ = { 74 | isa = PBXNativeTarget; 75 | buildConfigurationList = 224B9E5422A856FA00B97AF4 /* Build configuration list for PBXNativeTarget "TestSkeleton" */; 76 | buildPhases = ( 77 | 224B9E3C22A856F900B97AF4 /* Sources */, 78 | 224B9E3D22A856F900B97AF4 /* Frameworks */, 79 | 224B9E3E22A856F900B97AF4 /* Resources */, 80 | ); 81 | buildRules = ( 82 | ); 83 | dependencies = ( 84 | ); 85 | name = TestSkeleton; 86 | productName = TestSkeleton; 87 | productReference = 224B9E4022A856F900B97AF4 /* TestSkeleton.app */; 88 | productType = "com.apple.product-type.application"; 89 | }; 90 | /* End PBXNativeTarget section */ 91 | 92 | /* Begin PBXProject section */ 93 | 224B9E3822A856F900B97AF4 /* Project object */ = { 94 | isa = PBXProject; 95 | attributes = { 96 | LastSwiftUpdateCheck = 1100; 97 | LastUpgradeCheck = 1100; 98 | ORGANIZATIONNAME = AV; 99 | TargetAttributes = { 100 | 224B9E3F22A856F900B97AF4 = { 101 | CreatedOnToolsVersion = 11.0; 102 | }; 103 | }; 104 | }; 105 | buildConfigurationList = 224B9E3B22A856F900B97AF4 /* Build configuration list for PBXProject "TestSkeleton" */; 106 | compatibilityVersion = "Xcode 9.3"; 107 | developmentRegion = en; 108 | hasScannedForEncodings = 0; 109 | knownRegions = ( 110 | en, 111 | Base, 112 | ); 113 | mainGroup = 224B9E3722A856F900B97AF4; 114 | productRefGroup = 224B9E4122A856F900B97AF4 /* Products */; 115 | projectDirPath = ""; 116 | projectRoot = ""; 117 | targets = ( 118 | 224B9E3F22A856F900B97AF4 /* TestSkeleton */, 119 | ); 120 | }; 121 | /* End PBXProject section */ 122 | 123 | /* Begin PBXResourcesBuildPhase section */ 124 | 224B9E3E22A856F900B97AF4 /* Resources */ = { 125 | isa = PBXResourcesBuildPhase; 126 | buildActionMask = 2147483647; 127 | files = ( 128 | 224B9E5022A856FA00B97AF4 /* LaunchScreen.storyboard in Resources */, 129 | 224B9E4D22A856FA00B97AF4 /* Assets.xcassets in Resources */, 130 | 224B9E4B22A856F900B97AF4 /* Main.storyboard in Resources */, 131 | ); 132 | runOnlyForDeploymentPostprocessing = 0; 133 | }; 134 | /* End PBXResourcesBuildPhase section */ 135 | 136 | /* Begin PBXSourcesBuildPhase section */ 137 | 224B9E3C22A856F900B97AF4 /* Sources */ = { 138 | isa = PBXSourcesBuildPhase; 139 | buildActionMask = 2147483647; 140 | files = ( 141 | 224B9E4422A856F900B97AF4 /* AppDelegate.swift in Sources */, 142 | 224B9E4622A856F900B97AF4 /* SceneDelegate.swift in Sources */, 143 | 224B9E5822A8573400B97AF4 /* ARSkeletonViewController.swift in Sources */, 144 | ); 145 | runOnlyForDeploymentPostprocessing = 0; 146 | }; 147 | /* End PBXSourcesBuildPhase section */ 148 | 149 | /* Begin PBXVariantGroup section */ 150 | 224B9E4922A856F900B97AF4 /* Main.storyboard */ = { 151 | isa = PBXVariantGroup; 152 | children = ( 153 | 224B9E4A22A856F900B97AF4 /* Base */, 154 | ); 155 | name = Main.storyboard; 156 | sourceTree = ""; 157 | }; 158 | 224B9E4E22A856FA00B97AF4 /* LaunchScreen.storyboard */ = { 159 | isa = PBXVariantGroup; 160 | children = ( 161 | 224B9E4F22A856FA00B97AF4 /* Base */, 162 | ); 163 | name = LaunchScreen.storyboard; 164 | sourceTree = ""; 165 | }; 166 | /* End PBXVariantGroup section */ 167 | 168 | /* Begin XCBuildConfiguration section */ 169 | 224B9E5222A856FA00B97AF4 /* Debug */ = { 170 | isa = XCBuildConfiguration; 171 | buildSettings = { 172 | ALWAYS_SEARCH_USER_PATHS = NO; 173 | CLANG_ANALYZER_NONNULL = YES; 174 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 175 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 176 | CLANG_CXX_LIBRARY = "libc++"; 177 | CLANG_ENABLE_MODULES = YES; 178 | CLANG_ENABLE_OBJC_ARC = YES; 179 | CLANG_ENABLE_OBJC_WEAK = YES; 180 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 181 | CLANG_WARN_BOOL_CONVERSION = YES; 182 | CLANG_WARN_COMMA = YES; 183 | CLANG_WARN_CONSTANT_CONVERSION = YES; 184 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 185 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 186 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 187 | CLANG_WARN_EMPTY_BODY = YES; 188 | CLANG_WARN_ENUM_CONVERSION = YES; 189 | CLANG_WARN_INFINITE_RECURSION = YES; 190 | CLANG_WARN_INT_CONVERSION = YES; 191 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 192 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 193 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 194 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 195 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 196 | CLANG_WARN_STRICT_PROTOTYPES = YES; 197 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 198 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 199 | CLANG_WARN_UNREACHABLE_CODE = YES; 200 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 201 | COPY_PHASE_STRIP = NO; 202 | DEBUG_INFORMATION_FORMAT = dwarf; 203 | ENABLE_STRICT_OBJC_MSGSEND = YES; 204 | ENABLE_TESTABILITY = YES; 205 | GCC_C_LANGUAGE_STANDARD = gnu11; 206 | GCC_DYNAMIC_NO_PIC = NO; 207 | GCC_NO_COMMON_BLOCKS = YES; 208 | GCC_OPTIMIZATION_LEVEL = 0; 209 | GCC_PREPROCESSOR_DEFINITIONS = ( 210 | "DEBUG=1", 211 | "$(inherited)", 212 | ); 213 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 214 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 215 | GCC_WARN_UNDECLARED_SELECTOR = YES; 216 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 217 | GCC_WARN_UNUSED_FUNCTION = YES; 218 | GCC_WARN_UNUSED_VARIABLE = YES; 219 | IPHONEOS_DEPLOYMENT_TARGET = 13.0; 220 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 221 | MTL_FAST_MATH = YES; 222 | ONLY_ACTIVE_ARCH = YES; 223 | SDKROOT = iphoneos; 224 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 225 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 226 | }; 227 | name = Debug; 228 | }; 229 | 224B9E5322A856FA00B97AF4 /* Release */ = { 230 | isa = XCBuildConfiguration; 231 | buildSettings = { 232 | ALWAYS_SEARCH_USER_PATHS = NO; 233 | CLANG_ANALYZER_NONNULL = YES; 234 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 235 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 236 | CLANG_CXX_LIBRARY = "libc++"; 237 | CLANG_ENABLE_MODULES = YES; 238 | CLANG_ENABLE_OBJC_ARC = YES; 239 | CLANG_ENABLE_OBJC_WEAK = YES; 240 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 241 | CLANG_WARN_BOOL_CONVERSION = YES; 242 | CLANG_WARN_COMMA = YES; 243 | CLANG_WARN_CONSTANT_CONVERSION = YES; 244 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 245 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 246 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 247 | CLANG_WARN_EMPTY_BODY = YES; 248 | CLANG_WARN_ENUM_CONVERSION = YES; 249 | CLANG_WARN_INFINITE_RECURSION = YES; 250 | CLANG_WARN_INT_CONVERSION = YES; 251 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 252 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 253 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 254 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 255 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 256 | CLANG_WARN_STRICT_PROTOTYPES = YES; 257 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 258 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 259 | CLANG_WARN_UNREACHABLE_CODE = YES; 260 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 261 | COPY_PHASE_STRIP = NO; 262 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 263 | ENABLE_NS_ASSERTIONS = NO; 264 | ENABLE_STRICT_OBJC_MSGSEND = YES; 265 | GCC_C_LANGUAGE_STANDARD = gnu11; 266 | GCC_NO_COMMON_BLOCKS = YES; 267 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 268 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 269 | GCC_WARN_UNDECLARED_SELECTOR = YES; 270 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 271 | GCC_WARN_UNUSED_FUNCTION = YES; 272 | GCC_WARN_UNUSED_VARIABLE = YES; 273 | IPHONEOS_DEPLOYMENT_TARGET = 13.0; 274 | MTL_ENABLE_DEBUG_INFO = NO; 275 | MTL_FAST_MATH = YES; 276 | SDKROOT = iphoneos; 277 | SWIFT_COMPILATION_MODE = wholemodule; 278 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 279 | VALIDATE_PRODUCT = YES; 280 | }; 281 | name = Release; 282 | }; 283 | 224B9E5522A856FA00B97AF4 /* Debug */ = { 284 | isa = XCBuildConfiguration; 285 | buildSettings = { 286 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 287 | CODE_SIGN_STYLE = Automatic; 288 | INFOPLIST_FILE = TestSkeleton/Info.plist; 289 | LD_RUNPATH_SEARCH_PATHS = ( 290 | "$(inherited)", 291 | "@executable_path/Frameworks", 292 | ); 293 | PRODUCT_BUNDLE_IDENTIFIER = com.project.TestSkeleton; 294 | PRODUCT_NAME = "$(TARGET_NAME)"; 295 | SWIFT_VERSION = 5.0; 296 | TARGETED_DEVICE_FAMILY = "1,2"; 297 | }; 298 | name = Debug; 299 | }; 300 | 224B9E5622A856FA00B97AF4 /* Release */ = { 301 | isa = XCBuildConfiguration; 302 | buildSettings = { 303 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 304 | CODE_SIGN_STYLE = Automatic; 305 | INFOPLIST_FILE = TestSkeleton/Info.plist; 306 | LD_RUNPATH_SEARCH_PATHS = ( 307 | "$(inherited)", 308 | "@executable_path/Frameworks", 309 | ); 310 | PRODUCT_BUNDLE_IDENTIFIER = com.project.TestSkeleton; 311 | PRODUCT_NAME = "$(TARGET_NAME)"; 312 | SWIFT_VERSION = 5.0; 313 | TARGETED_DEVICE_FAMILY = "1,2"; 314 | }; 315 | name = Release; 316 | }; 317 | /* End XCBuildConfiguration section */ 318 | 319 | /* Begin XCConfigurationList section */ 320 | 224B9E3B22A856F900B97AF4 /* Build configuration list for PBXProject "TestSkeleton" */ = { 321 | isa = XCConfigurationList; 322 | buildConfigurations = ( 323 | 224B9E5222A856FA00B97AF4 /* Debug */, 324 | 224B9E5322A856FA00B97AF4 /* Release */, 325 | ); 326 | defaultConfigurationIsVisible = 0; 327 | defaultConfigurationName = Release; 328 | }; 329 | 224B9E5422A856FA00B97AF4 /* Build configuration list for PBXNativeTarget "TestSkeleton" */ = { 330 | isa = XCConfigurationList; 331 | buildConfigurations = ( 332 | 224B9E5522A856FA00B97AF4 /* Debug */, 333 | 224B9E5622A856FA00B97AF4 /* Release */, 334 | ); 335 | defaultConfigurationIsVisible = 0; 336 | defaultConfigurationName = Release; 337 | }; 338 | /* End XCConfigurationList section */ 339 | }; 340 | rootObject = 224B9E3822A856F900B97AF4 /* Project object */; 341 | } 342 | --------------------------------------------------------------------------------