├── README.md ├── PanoView ├── Hellbrunn25.jpg ├── AppDelegate.swift ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json ├── Info.plist ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard └── ViewController.swift ├── PanoView.xcodeproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── project.pbxproj ├── LICENSE └── .gitignore /README.md: -------------------------------------------------------------------------------- 1 | # PanoView 2 | Demo of using CoreMortion and SceneKit to view 360º Panoramic Photos 3 | -------------------------------------------------------------------------------- /PanoView/Hellbrunn25.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iosdevzone/PanoView/HEAD/PanoView/Hellbrunn25.jpg -------------------------------------------------------------------------------- /PanoView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /PanoView.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /PanoView/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // PanoView 4 | // 5 | // Created by idz on 5/1/16. 6 | // Copyright © 2016 iOS Developer Zone. 7 | // License: MIT https://raw.githubusercontent.com/iosdevzone/PanoView/master/LICENSE 8 | // 9 | 10 | import UIKit 11 | 12 | @UIApplicationMain 13 | class AppDelegate: UIResponder, UIApplicationDelegate { 14 | var window: UIWindow? 15 | } 16 | 17 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 idz 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /PanoView/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "29x29", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "29x29", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "40x40", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "40x40", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "76x76", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "76x76", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } -------------------------------------------------------------------------------- /PanoView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationLandscapeLeft 36 | 37 | UISupportedInterfaceOrientations~ipad 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationPortraitUpsideDown 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata 19 | 20 | ## Other 21 | *.xccheckout 22 | *.moved-aside 23 | *.xcuserstate 24 | *.xcscmblueprint 25 | 26 | ## Obj-C/Swift specific 27 | *.hmap 28 | *.ipa 29 | 30 | ## Playgrounds 31 | timeline.xctimeline 32 | playground.xcworkspace 33 | 34 | # Swift Package Manager 35 | # 36 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 37 | # Packages/ 38 | .build/ 39 | 40 | # CocoaPods 41 | # 42 | # We recommend against adding the Pods directory to your .gitignore. However 43 | # you should judge for yourself, the pros and cons are mentioned at: 44 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 45 | # 46 | # Pods/ 47 | 48 | # Carthage 49 | # 50 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 51 | # Carthage/Checkouts 52 | 53 | Carthage/Build 54 | 55 | # fastlane 56 | # 57 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 58 | # screenshots whenever they are needed. 59 | # For more information about the recommended setup visit: 60 | # https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md 61 | 62 | fastlane/report.xml 63 | fastlane/screenshots 64 | -------------------------------------------------------------------------------- /PanoView/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 | 27 | -------------------------------------------------------------------------------- /PanoView/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // PanoView 4 | // 5 | // Created by idz on 5/1/16. 6 | // Copyright © 2016 iOS Developer Zone. 7 | // License: MIT https://raw.githubusercontent.com/iosdevzone/PanoView/master/LICENSE 8 | // 9 | 10 | import UIKit 11 | import SceneKit 12 | import CoreMotion 13 | import OSLog 14 | 15 | class ViewController: UIViewController { 16 | 17 | let motionManager = CMMotionManager() 18 | let cameraNode = SCNNode() 19 | 20 | 21 | @IBOutlet weak var sceneView: SCNView! 22 | 23 | override func viewDidLoad() { 24 | super.viewDidLoad() 25 | // Load assets 26 | guard let imagePath = Bundle.main.path(forResource: "Hellbrunn25", ofType: "jpg") else { 27 | fatalError("Failed to find path for panaromic file.") 28 | } 29 | guard let image = UIImage(contentsOfFile:imagePath) else { 30 | fatalError("Failed to load panoramic image") 31 | } 32 | 33 | // Set the scene 34 | let scene = SCNScene() 35 | sceneView.scene = scene 36 | sceneView.showsStatistics = true 37 | sceneView.allowsCameraControl = true 38 | 39 | //Create node, containing a sphere, using the panoramic image as a texture 40 | let material = SCNMaterial() 41 | material.isDoubleSided = true 42 | material.diffuse.contents = image 43 | 44 | let sphere = SCNSphere(radius: 20.0) 45 | sphere.materials = [material] 46 | 47 | let sphereNode = SCNNode(geometry: sphere) 48 | sphereNode.position = SCNVector3Make(0,0,0) 49 | scene.rootNode.addChildNode(sphereNode) 50 | 51 | // Camera, ... 52 | cameraNode.camera = SCNCamera() 53 | cameraNode.position = SCNVector3Make(0, 0, 0) 54 | scene.rootNode.addChildNode(cameraNode) 55 | 56 | // This used be a fatalError, but just logging it 57 | // allows us to run on the simulator. 58 | guard motionManager.isDeviceMotionAvailable else { 59 | os_log("Device motion is not available", type: .info) 60 | return 61 | } 62 | 63 | // Action 64 | motionManager.deviceMotionUpdateInterval = 1.0 / 60.0 65 | motionManager.startDeviceMotionUpdates(to: OperationQueue.main, withHandler: { 66 | data , error in 67 | 68 | guard let data = data else { return } 69 | 70 | let attitude: CMAttitude = data.attitude 71 | self.cameraNode.eulerAngles = SCNVector3Make(Float(attitude.roll - .pi/2.0), Float(attitude.yaw), Float(attitude.pitch)) 72 | }) 73 | } 74 | 75 | override func didReceiveMemoryWarning() { 76 | super.didReceiveMemoryWarning() 77 | // Dispose of any resources that can be recreated. 78 | } 79 | 80 | 81 | } 82 | 83 | -------------------------------------------------------------------------------- /PanoView/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 | 42 | -------------------------------------------------------------------------------- /PanoView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 54; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 30B76AA11CD6C82300960E1E /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 30B76AA01CD6C82300960E1E /* AppDelegate.swift */; }; 11 | 30B76AA31CD6C82300960E1E /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 30B76AA21CD6C82300960E1E /* ViewController.swift */; }; 12 | 30B76AA61CD6C82300960E1E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 30B76AA41CD6C82300960E1E /* Main.storyboard */; }; 13 | 30B76AA81CD6C82300960E1E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 30B76AA71CD6C82300960E1E /* Assets.xcassets */; }; 14 | 30B76AAB1CD6C82300960E1E /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 30B76AA91CD6C82300960E1E /* LaunchScreen.storyboard */; }; 15 | 30B76AC31CD6CD1700960E1E /* Hellbrunn25.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 30B76AC21CD6CD1700960E1E /* Hellbrunn25.jpg */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXFileReference section */ 19 | 30B76A9D1CD6C82300960E1E /* PanoView.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PanoView.app; sourceTree = BUILT_PRODUCTS_DIR; }; 20 | 30B76AA01CD6C82300960E1E /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 21 | 30B76AA21CD6C82300960E1E /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 22 | 30B76AA51CD6C82300960E1E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 23 | 30B76AA71CD6C82300960E1E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 24 | 30B76AAA1CD6C82300960E1E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 25 | 30B76AAC1CD6C82300960E1E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 26 | 30B76AC21CD6CD1700960E1E /* Hellbrunn25.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = Hellbrunn25.jpg; sourceTree = ""; }; 27 | /* End PBXFileReference section */ 28 | 29 | /* Begin PBXFrameworksBuildPhase section */ 30 | 30B76A9A1CD6C82300960E1E /* Frameworks */ = { 31 | isa = PBXFrameworksBuildPhase; 32 | buildActionMask = 2147483647; 33 | files = ( 34 | ); 35 | runOnlyForDeploymentPostprocessing = 0; 36 | }; 37 | /* End PBXFrameworksBuildPhase section */ 38 | 39 | /* Begin PBXGroup section */ 40 | 30B76A941CD6C82300960E1E = { 41 | isa = PBXGroup; 42 | children = ( 43 | 30B76A9F1CD6C82300960E1E /* PanoView */, 44 | 30B76A9E1CD6C82300960E1E /* Products */, 45 | ); 46 | sourceTree = ""; 47 | }; 48 | 30B76A9E1CD6C82300960E1E /* Products */ = { 49 | isa = PBXGroup; 50 | children = ( 51 | 30B76A9D1CD6C82300960E1E /* PanoView.app */, 52 | ); 53 | name = Products; 54 | sourceTree = ""; 55 | }; 56 | 30B76A9F1CD6C82300960E1E /* PanoView */ = { 57 | isa = PBXGroup; 58 | children = ( 59 | 30B76AC21CD6CD1700960E1E /* Hellbrunn25.jpg */, 60 | 30B76AA01CD6C82300960E1E /* AppDelegate.swift */, 61 | 30B76AA21CD6C82300960E1E /* ViewController.swift */, 62 | 30B76AA41CD6C82300960E1E /* Main.storyboard */, 63 | 30B76AA71CD6C82300960E1E /* Assets.xcassets */, 64 | 30B76AA91CD6C82300960E1E /* LaunchScreen.storyboard */, 65 | 30B76AAC1CD6C82300960E1E /* Info.plist */, 66 | ); 67 | path = PanoView; 68 | sourceTree = ""; 69 | }; 70 | /* End PBXGroup section */ 71 | 72 | /* Begin PBXNativeTarget section */ 73 | 30B76A9C1CD6C82300960E1E /* PanoView */ = { 74 | isa = PBXNativeTarget; 75 | buildConfigurationList = 30B76ABA1CD6C82300960E1E /* Build configuration list for PBXNativeTarget "PanoView" */; 76 | buildPhases = ( 77 | 30B76A991CD6C82300960E1E /* Sources */, 78 | 30B76A9A1CD6C82300960E1E /* Frameworks */, 79 | 30B76A9B1CD6C82300960E1E /* Resources */, 80 | ); 81 | buildRules = ( 82 | ); 83 | dependencies = ( 84 | ); 85 | name = PanoView; 86 | productName = PanoView; 87 | productReference = 30B76A9D1CD6C82300960E1E /* PanoView.app */; 88 | productType = "com.apple.product-type.application"; 89 | }; 90 | /* End PBXNativeTarget section */ 91 | 92 | /* Begin PBXProject section */ 93 | 30B76A951CD6C82300960E1E /* Project object */ = { 94 | isa = PBXProject; 95 | attributes = { 96 | BuildIndependentTargetsInParallel = YES; 97 | LastSwiftUpdateCheck = 0730; 98 | LastUpgradeCheck = 1500; 99 | ORGANIZATIONNAME = "iOS Developer Zone"; 100 | TargetAttributes = { 101 | 30B76A9C1CD6C82300960E1E = { 102 | CreatedOnToolsVersion = 7.3; 103 | LastSwiftMigration = ""; 104 | }; 105 | }; 106 | }; 107 | buildConfigurationList = 30B76A981CD6C82300960E1E /* Build configuration list for PBXProject "PanoView" */; 108 | compatibilityVersion = "Xcode 3.2"; 109 | developmentRegion = en; 110 | hasScannedForEncodings = 0; 111 | knownRegions = ( 112 | en, 113 | Base, 114 | ); 115 | mainGroup = 30B76A941CD6C82300960E1E; 116 | productRefGroup = 30B76A9E1CD6C82300960E1E /* Products */; 117 | projectDirPath = ""; 118 | projectRoot = ""; 119 | targets = ( 120 | 30B76A9C1CD6C82300960E1E /* PanoView */, 121 | ); 122 | }; 123 | /* End PBXProject section */ 124 | 125 | /* Begin PBXResourcesBuildPhase section */ 126 | 30B76A9B1CD6C82300960E1E /* Resources */ = { 127 | isa = PBXResourcesBuildPhase; 128 | buildActionMask = 2147483647; 129 | files = ( 130 | 30B76AAB1CD6C82300960E1E /* LaunchScreen.storyboard in Resources */, 131 | 30B76AC31CD6CD1700960E1E /* Hellbrunn25.jpg in Resources */, 132 | 30B76AA81CD6C82300960E1E /* Assets.xcassets in Resources */, 133 | 30B76AA61CD6C82300960E1E /* Main.storyboard in Resources */, 134 | ); 135 | runOnlyForDeploymentPostprocessing = 0; 136 | }; 137 | /* End PBXResourcesBuildPhase section */ 138 | 139 | /* Begin PBXSourcesBuildPhase section */ 140 | 30B76A991CD6C82300960E1E /* Sources */ = { 141 | isa = PBXSourcesBuildPhase; 142 | buildActionMask = 2147483647; 143 | files = ( 144 | 30B76AA31CD6C82300960E1E /* ViewController.swift in Sources */, 145 | 30B76AA11CD6C82300960E1E /* AppDelegate.swift in Sources */, 146 | ); 147 | runOnlyForDeploymentPostprocessing = 0; 148 | }; 149 | /* End PBXSourcesBuildPhase section */ 150 | 151 | /* Begin PBXVariantGroup section */ 152 | 30B76AA41CD6C82300960E1E /* Main.storyboard */ = { 153 | isa = PBXVariantGroup; 154 | children = ( 155 | 30B76AA51CD6C82300960E1E /* Base */, 156 | ); 157 | name = Main.storyboard; 158 | sourceTree = ""; 159 | }; 160 | 30B76AA91CD6C82300960E1E /* LaunchScreen.storyboard */ = { 161 | isa = PBXVariantGroup; 162 | children = ( 163 | 30B76AAA1CD6C82300960E1E /* Base */, 164 | ); 165 | name = LaunchScreen.storyboard; 166 | sourceTree = ""; 167 | }; 168 | /* End PBXVariantGroup section */ 169 | 170 | /* Begin XCBuildConfiguration section */ 171 | 30B76AB81CD6C82300960E1E /* Debug */ = { 172 | isa = XCBuildConfiguration; 173 | buildSettings = { 174 | ALWAYS_SEARCH_USER_PATHS = NO; 175 | CLANG_ANALYZER_NONNULL = YES; 176 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 177 | CLANG_CXX_LIBRARY = "libc++"; 178 | CLANG_ENABLE_MODULES = YES; 179 | CLANG_ENABLE_OBJC_ARC = 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_EMPTY_BODY = YES; 187 | CLANG_WARN_ENUM_CONVERSION = YES; 188 | CLANG_WARN_INFINITE_RECURSION = YES; 189 | CLANG_WARN_INT_CONVERSION = YES; 190 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 191 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 192 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 193 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 194 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 195 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 196 | CLANG_WARN_STRICT_PROTOTYPES = YES; 197 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 198 | CLANG_WARN_UNREACHABLE_CODE = YES; 199 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 200 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 201 | COPY_PHASE_STRIP = NO; 202 | DEBUG_INFORMATION_FORMAT = dwarf; 203 | ENABLE_STRICT_OBJC_MSGSEND = YES; 204 | ENABLE_TESTABILITY = YES; 205 | ENABLE_USER_SCRIPT_SANDBOXING = YES; 206 | GCC_C_LANGUAGE_STANDARD = gnu99; 207 | GCC_DYNAMIC_NO_PIC = NO; 208 | GCC_NO_COMMON_BLOCKS = YES; 209 | GCC_OPTIMIZATION_LEVEL = 0; 210 | GCC_PREPROCESSOR_DEFINITIONS = ( 211 | "DEBUG=1", 212 | "$(inherited)", 213 | ); 214 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 215 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 216 | GCC_WARN_UNDECLARED_SELECTOR = YES; 217 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 218 | GCC_WARN_UNUSED_FUNCTION = YES; 219 | GCC_WARN_UNUSED_VARIABLE = YES; 220 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 221 | MTL_ENABLE_DEBUG_INFO = YES; 222 | ONLY_ACTIVE_ARCH = YES; 223 | SDKROOT = iphoneos; 224 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 225 | TARGETED_DEVICE_FAMILY = "1,2"; 226 | }; 227 | name = Debug; 228 | }; 229 | 30B76AB91CD6C82300960E1E /* Release */ = { 230 | isa = XCBuildConfiguration; 231 | buildSettings = { 232 | ALWAYS_SEARCH_USER_PATHS = NO; 233 | CLANG_ANALYZER_NONNULL = YES; 234 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 235 | CLANG_CXX_LIBRARY = "libc++"; 236 | CLANG_ENABLE_MODULES = YES; 237 | CLANG_ENABLE_OBJC_ARC = YES; 238 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 239 | CLANG_WARN_BOOL_CONVERSION = YES; 240 | CLANG_WARN_COMMA = YES; 241 | CLANG_WARN_CONSTANT_CONVERSION = YES; 242 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 243 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 244 | CLANG_WARN_EMPTY_BODY = YES; 245 | CLANG_WARN_ENUM_CONVERSION = YES; 246 | CLANG_WARN_INFINITE_RECURSION = YES; 247 | CLANG_WARN_INT_CONVERSION = YES; 248 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 249 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 250 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 251 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 252 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 253 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 254 | CLANG_WARN_STRICT_PROTOTYPES = YES; 255 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 256 | CLANG_WARN_UNREACHABLE_CODE = YES; 257 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 258 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 259 | COPY_PHASE_STRIP = NO; 260 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 261 | ENABLE_NS_ASSERTIONS = NO; 262 | ENABLE_STRICT_OBJC_MSGSEND = YES; 263 | ENABLE_USER_SCRIPT_SANDBOXING = YES; 264 | GCC_C_LANGUAGE_STANDARD = gnu99; 265 | GCC_NO_COMMON_BLOCKS = YES; 266 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 267 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 268 | GCC_WARN_UNDECLARED_SELECTOR = YES; 269 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 270 | GCC_WARN_UNUSED_FUNCTION = YES; 271 | GCC_WARN_UNUSED_VARIABLE = YES; 272 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 273 | MTL_ENABLE_DEBUG_INFO = NO; 274 | SDKROOT = iphoneos; 275 | SWIFT_COMPILATION_MODE = wholemodule; 276 | TARGETED_DEVICE_FAMILY = "1,2"; 277 | VALIDATE_PRODUCT = YES; 278 | }; 279 | name = Release; 280 | }; 281 | 30B76ABB1CD6C82300960E1E /* Debug */ = { 282 | isa = XCBuildConfiguration; 283 | buildSettings = { 284 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 285 | DEVELOPMENT_TEAM = ""; 286 | INFOPLIST_FILE = PanoView/Info.plist; 287 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 288 | LD_RUNPATH_SEARCH_PATHS = ( 289 | "$(inherited)", 290 | "@executable_path/Frameworks", 291 | ); 292 | PRODUCT_BUNDLE_IDENTIFIER = com.iosdeveloperzone.PanoView; 293 | PRODUCT_NAME = "$(TARGET_NAME)"; 294 | SWIFT_VERSION = 5.0; 295 | }; 296 | name = Debug; 297 | }; 298 | 30B76ABC1CD6C82300960E1E /* Release */ = { 299 | isa = XCBuildConfiguration; 300 | buildSettings = { 301 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 302 | DEVELOPMENT_TEAM = ""; 303 | INFOPLIST_FILE = PanoView/Info.plist; 304 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 305 | LD_RUNPATH_SEARCH_PATHS = ( 306 | "$(inherited)", 307 | "@executable_path/Frameworks", 308 | ); 309 | PRODUCT_BUNDLE_IDENTIFIER = com.iosdeveloperzone.PanoView; 310 | PRODUCT_NAME = "$(TARGET_NAME)"; 311 | SWIFT_VERSION = 5.0; 312 | }; 313 | name = Release; 314 | }; 315 | /* End XCBuildConfiguration section */ 316 | 317 | /* Begin XCConfigurationList section */ 318 | 30B76A981CD6C82300960E1E /* Build configuration list for PBXProject "PanoView" */ = { 319 | isa = XCConfigurationList; 320 | buildConfigurations = ( 321 | 30B76AB81CD6C82300960E1E /* Debug */, 322 | 30B76AB91CD6C82300960E1E /* Release */, 323 | ); 324 | defaultConfigurationIsVisible = 0; 325 | defaultConfigurationName = Release; 326 | }; 327 | 30B76ABA1CD6C82300960E1E /* Build configuration list for PBXNativeTarget "PanoView" */ = { 328 | isa = XCConfigurationList; 329 | buildConfigurations = ( 330 | 30B76ABB1CD6C82300960E1E /* Debug */, 331 | 30B76ABC1CD6C82300960E1E /* Release */, 332 | ); 333 | defaultConfigurationIsVisible = 0; 334 | defaultConfigurationName = Release; 335 | }; 336 | /* End XCConfigurationList section */ 337 | }; 338 | rootObject = 30B76A951CD6C82300960E1E /* Project object */; 339 | } 340 | --------------------------------------------------------------------------------