├── .swift-version ├── Geodesy.xcodeproj ├── xcuserdata │ └── proxpero.xcuserdatad │ │ ├── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── project.xcworkspace │ └── contents.xcworkspacedata ├── xcshareddata │ └── xcschemes │ │ ├── Geodesy tvOS.xcscheme │ │ ├── Geodesy macOS.xcscheme │ │ ├── Geodesy watchOS.xcscheme │ │ └── Geodesy iOS.xcscheme └── project.pbxproj ├── .travis.yml ├── Geodesy.xcworkspace └── contents.xcworkspacedata ├── .swiftlint.yml ├── Source ├── Span.swift ├── Precision.swift ├── Geodesy+CoreLocation.swift └── Region.swift ├── Supporting Files ├── Geodesy.h └── Info.plist ├── Geodesy.podspec ├── GeodesyTests ├── Info.plist └── GeodesyTests.swift ├── LICENSE.md ├── .gitignore └── README.md /.swift-version: -------------------------------------------------------------------------------- 1 | 4.0 2 | -------------------------------------------------------------------------------- /Geodesy.xcodeproj/xcuserdata/proxpero.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: swift 2 | osx_image: xcode10.2 3 | xcode_project: Geodesy.xcodeproj 4 | xcode_scheme: "Geodesy iOS" 5 | xcode_sdk: iphonesimulator12.2 6 | after_success: 7 | - bash <(curl -s https://codecov.io/bash) 8 | -------------------------------------------------------------------------------- /Geodesy.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.swiftlint.yml: -------------------------------------------------------------------------------- 1 | disabled_rules: # rule identifiers to exclude from running 2 | - unused_optional_binding 3 | - void_return 4 | - opening_brace 5 | - class_delegate_protocol 6 | - syntactic_sugar 7 | - type_name 8 | - nesting 9 | -------------------------------------------------------------------------------- /Geodesy.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Source/Span.swift: -------------------------------------------------------------------------------- 1 | public struct Span { 2 | public let min: Double 3 | public let max: Double 4 | } 5 | 6 | extension Span { 7 | 8 | public var mean: Double { return (min + max) / 2 } 9 | public var distance: Double { return max - min } 10 | 11 | static let latitude = Span(min: -90.0, max: 90.0) 12 | static let longitude = Span(min: -180, max: 180) 13 | 14 | } 15 | -------------------------------------------------------------------------------- /Supporting Files/Geodesy.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | //! Project version number for Geodesy. 4 | FOUNDATION_EXPORT double GeodesyVersionNumber; 5 | 6 | //! Project version string for Geodesy. 7 | FOUNDATION_EXPORT const unsigned char GeodesyVersionString[]; 8 | 9 | // In this header, you should import all the public headers of your framework using statements like #import 10 | -------------------------------------------------------------------------------- /Geodesy.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = "Geodesy" 3 | s.version = "1.2.0" 4 | s.summary = "A Swift implementation of the geohash algorithm." 5 | s.homepage = "https://github.com/proxpero/Geodesy" 6 | s.license = { :type => "MIT", :file => "LICENSE.md"} 7 | s.author = "Todd Olsen" 8 | s.social_media_url = "http://twitter.com/proxpero" 9 | s.ios.deployment_target = "9.0" 10 | s.osx.deployment_target = "10.10" 11 | s.watchos.deployment_target = "2.0" 12 | s.tvos.deployment_target = "9.0" 13 | s.source = { :git => "https://github.com/proxpero/Geodesy.git", :tag => "1.2.0" } 14 | s.source_files = "Source/*.swift" 15 | end 16 | -------------------------------------------------------------------------------- /GeodesyTests/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 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Supporting Files/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 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | $(CURRENT_PROJECT_VERSION) 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright 2017 Todd Olsen 2 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 3 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 4 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /Source/Precision.swift: -------------------------------------------------------------------------------- 1 | public let defaultPrecision = 9 2 | 3 | public enum Precision: Int { 4 | 5 | /// ±2500 km 6 | case twentyFiveHundredKilometers = 1 7 | 8 | /// ±630 km 9 | case sixHundredThirtyKilometers = 2 10 | 11 | /// ±78 km 12 | case seventyEightKilometers = 3 13 | 14 | /// ±20 km 15 | case twentyKilometers = 4 16 | 17 | /// ±2.4 km, ±2400 m 18 | case twentyFourHundredMeters = 5 19 | 20 | /// ±0.61 km, ±610 m 21 | case sixHundredTenMeters = 6 22 | 23 | /// ±0.076 km, ±76 m 24 | case seventySixMeters = 7 25 | 26 | /// ±0.019 km, ±19 m 27 | case nineteenMeters = 8 28 | 29 | /// ±0.0024 km, ±2.4 m, ±240 cm 30 | case twoHundredFortyCentimeters = 9 31 | 32 | /// ±0.00060 km, ±0.6 m, ±60 cm 33 | case sixtyCentimeters = 10 34 | 35 | /// ±0.000074 km, ±0.07 m, ±7.4 cm, ±74 mm 36 | case seventyFourMillimeters = 11 37 | 38 | var margin: Double { 39 | switch self { 40 | case .twentyFiveHundredKilometers: return 2_500_000.0 41 | case .sixHundredThirtyKilometers: return 610_000.0 42 | case .seventyEightKilometers: return 78_000.0 43 | case .twentyKilometers: return 20_000.0 44 | case .twentyFourHundredMeters: return 2_400.0 45 | case .sixHundredTenMeters: return 610.0 46 | case .seventySixMeters: return 76.0 47 | case .nineteenMeters: return 19.0 48 | case .twoHundredFortyCentimeters: return 2.4 49 | case .sixtyCentimeters: return 0.6 50 | case .seventyFourMillimeters: return 0.07 51 | } 52 | } 53 | } 54 | 55 | -------------------------------------------------------------------------------- /Geodesy.xcodeproj/xcuserdata/proxpero.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Geodesy iOS.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | Geodesy macOS.xcscheme_^#shared#^_ 13 | 14 | orderHint 15 | 3 16 | 17 | Geodesy tvOS.xcscheme_^#shared#^_ 18 | 19 | orderHint 20 | 2 21 | 22 | Geodesy watchOS.xcscheme_^#shared#^_ 23 | 24 | orderHint 25 | 1 26 | 27 | 28 | SuppressBuildableAutocreation 29 | 30 | 52AE149A1FA21AFE007D9E40 31 | 32 | primary 33 | 34 | 35 | 52AE14A31FA21AFE007D9E40 36 | 37 | primary 38 | 39 | 40 | 52AE14B71FA21B45007D9E40 41 | 42 | primary 43 | 44 | 45 | 52AE14C41FA21B7F007D9E40 46 | 47 | primary 48 | 49 | 50 | 52AE14D11FA21BAA007D9E40 51 | 52 | primary 53 | 54 | 55 | 52F8C7E51FA22EE5002E75AC 56 | 57 | primary 58 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /.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 | *.moved-aside 22 | *.xccheckout 23 | *.xcscmblueprint 24 | 25 | ## Obj-C/Swift specific 26 | *.hmap 27 | *.ipa 28 | *.dSYM.zip 29 | *.dSYM 30 | 31 | ## Playgrounds 32 | timeline.xctimeline 33 | playground.xcworkspace 34 | 35 | # Swift Package Manager 36 | # 37 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 38 | # Packages/ 39 | # Package.pins 40 | # Package.resolved 41 | .build/ 42 | 43 | # CocoaPods 44 | # 45 | # We recommend against adding the Pods directory to your .gitignore. However 46 | # you should judge for yourself, the pros and cons are mentioned at: 47 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 48 | # 49 | # Pods/ 50 | 51 | # Carthage 52 | # 53 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 54 | # Carthage/Checkouts 55 | 56 | Carthage/Build 57 | 58 | # fastlane 59 | # 60 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 61 | # screenshots whenever they are needed. 62 | # For more information about the recommended setup visit: 63 | # https://docs.fastlane.tools/best-practices/source-control/#source-control 64 | 65 | fastlane/report.xml 66 | fastlane/Preview.html 67 | fastlane/screenshots 68 | fastlane/test_output -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Geodesy 2 | ![](https://travis-ci.org/proxpero/Geodesy.svg?branch=master) 3 | 4 | MIT 5 | 6 | 7 | CocoaPods 8 | 9 | 10 | Swift 11 | 12 | 13 | ### A Swift implementation of the [geohash][1] algorithm. 14 | 15 | Geodesy comes from the ancient Greek word [γεωδαισία][2] which means *dividing the earth*. This is basically what the geohash algorithm does. The hash is just a string of characters, the first divides the earth into 32 separate regions, measured precisely along lines of latitude and longitude. Then next character subdivides a region further into 32 subsections. On and on it goes, each added character more precisely specifying a location on the globe. Nice! 16 | 17 | The beauty of the algorithm really shines when you want to filter a list of locations by proximity to a given location. Instead of running some complicated trigonometry on all the points, you can simply compare geohashes. The nearest points will be the ones who share the longest prefix with the given point's geohash. 18 | 19 | let currentGeohash = user.location.geohash() 20 | let nearby = db.hotspots.where("geohash", beginsWith: currentGeohash.prefix(8)) 21 | 22 | Voilà. A hash length 8 characters long defines a square roughly 38 meters per side. 23 | 24 | ### Usage 25 | 26 | Geodesy is designed to be convenient to use with `CoreLocation`. There are a number of useful properties added in extensions on `CLLocation` and `CLLocationCoordinate2D`. 27 | ``` 28 | let location: CLLocation = manager.currentLocation 29 | let geohash = location.geohash(precision: 8) // An eight-character geohash of type String 30 | let neighbors = location.neighbors(precision: 8) // An array of nine eight-character strings representing the eight regions surrounding the original region. 31 | 32 | ``` 33 | 34 | ### Neighbors? 35 | 36 | To handle cases where a location sits near the border of its enclosing region, so that nearby locations potentially are just in the next region over, it is easy to include the eight neighboring regions in addition to actual one. 37 | 38 | 39 | [1]:[https://en.m.wikipedia.org/wiki/Geohash] 40 | [2]:[http://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext%3A1999.04.0057%3Aalphabetic+letter%3D*g%3Aentry+group%3D14%3Aentry%3Dgewdaisi%2Fa] 41 | -------------------------------------------------------------------------------- /Source/Geodesy+CoreLocation.swift: -------------------------------------------------------------------------------- 1 | #if os(OSX) || os(iOS) 2 | 3 | import CoreLocation 4 | 5 | extension Region { 6 | 7 | init(coordinate: CLLocationCoordinate2D, precision: Int = defaultPrecision) { 8 | self = Region(latitude: coordinate.latitude, longitude: coordinate.longitude, precision: precision) 9 | } 10 | 11 | init(location: CLLocation, precision: Int = defaultPrecision) { 12 | self = Region(coordinate: location.coordinate, precision: precision) 13 | } 14 | 15 | } 16 | 17 | extension CLLocationCoordinate2D { 18 | 19 | public init(geohash: String) { 20 | guard let region = Region(hash: geohash) else { 21 | self = kCLLocationCoordinate2DInvalid 22 | return 23 | } 24 | let (lat, lng) = region.center 25 | self = CLLocationCoordinate2DMake(lat, lng) 26 | } 27 | 28 | public func geohash(precision: Int = defaultPrecision) -> String { 29 | return Region(coordinate: self, precision: precision).hash 30 | } 31 | 32 | public func geohash(precision: Precision) -> String { 33 | return Region(coordinate: self, precision: precision.rawValue).hash 34 | } 35 | 36 | /// Geohash neighbors 37 | public func neighbors(precision: Int = defaultPrecision) -> [String] { 38 | return Region.init(coordinate: self, precision: precision).neighbors().map { $0.hash } 39 | } 40 | 41 | public func neighbors(precision: Precision) -> [String] { 42 | return neighbors(precision: precision.rawValue) 43 | } 44 | 45 | } 46 | 47 | extension CLLocation { 48 | 49 | public convenience init?(geohash: String) { 50 | guard let region = Region.init(hash: geohash) else { return nil } 51 | self.init(latitude: region.center.latitude, longitude: region.center.longitude) 52 | } 53 | 54 | public func geohash(precision: Int = defaultPrecision) -> String { 55 | return Region(coordinate: self.coordinate, precision: precision).hash 56 | } 57 | 58 | public func geohash(precision: Precision) -> String { 59 | return geohash(precision: precision.rawValue) 60 | } 61 | 62 | /// Geohash neighbors 63 | public func neighbors(precision: Int = defaultPrecision) -> [String] { 64 | return Region.init(location: self, precision: precision).neighbors().map { $0.hash } 65 | } 66 | 67 | public func neighbors(precision: Precision) -> [String] { 68 | return neighbors(precision: precision.rawValue) 69 | } 70 | 71 | } 72 | 73 | #endif 74 | -------------------------------------------------------------------------------- /Geodesy.xcodeproj/xcshareddata/xcschemes/Geodesy tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 64 | 65 | 71 | 72 | 73 | 74 | 75 | 76 | 82 | 83 | 89 | 90 | 91 | 92 | 94 | 95 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /Geodesy.xcodeproj/xcshareddata/xcschemes/Geodesy macOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 64 | 65 | 71 | 72 | 73 | 74 | 75 | 76 | 82 | 83 | 89 | 90 | 91 | 92 | 94 | 95 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /Geodesy.xcodeproj/xcshareddata/xcschemes/Geodesy watchOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 64 | 65 | 71 | 72 | 73 | 74 | 75 | 76 | 82 | 83 | 89 | 90 | 91 | 92 | 94 | 95 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /Geodesy.xcodeproj/xcshareddata/xcschemes/Geodesy iOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 34 | 40 | 41 | 42 | 43 | 44 | 50 | 51 | 52 | 53 | 54 | 55 | 65 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 84 | 90 | 91 | 92 | 93 | 95 | 96 | 99 | 100 | 101 | -------------------------------------------------------------------------------- /Source/Region.swift: -------------------------------------------------------------------------------- 1 | private let charmap = Array("0123456789bcdefghjkmnpqrstuvwxyz") 2 | 3 | public struct Region { 4 | public let horizontal: Span 5 | public let vertical: Span 6 | public let hash: String 7 | } 8 | 9 | extension Region { 10 | 11 | public var center: (latitude: Double, longitude: Double) { 12 | return (vertical.mean, horizontal.mean) 13 | } 14 | 15 | public var size: (vertical: Double, horizontal: Double) { 16 | return (vertical.distance, horizontal.distance) 17 | } 18 | 19 | public init(latitude: Double, longitude: Double, precision: Int) { 20 | 21 | var lat = Span.latitude 22 | var lng = Span.longitude 23 | 24 | var hash: Array = [] 25 | 26 | var parity = Parity.lng 27 | var char = 0 28 | var count = 0 29 | 30 | func inc() { 31 | let mask = 0b10000 >> count 32 | char |= mask 33 | } 34 | 35 | func compare(span: Span, source: Double) -> Span { 36 | let mean = span.mean 37 | let isLow = source < mean 38 | let (min, max) = isLow ? (span.min, mean) : (mean, span.max) 39 | if !isLow { inc() } 40 | return Span(min: min, max: max) 41 | } 42 | 43 | repeat { 44 | switch parity { 45 | case .lng: lng = compare(span: lng, source: longitude) 46 | case .lat: lat = compare(span: lat, source: latitude) 47 | } 48 | parity.flip() 49 | count += 1 50 | if count == 5 { 51 | hash.append(charmap[char]) 52 | count = 0 53 | char = 0 54 | } 55 | 56 | } while hash.count < precision 57 | 58 | let vert = Span(min: lat.min, max: lat.max) 59 | let hor = Span(min: lng.min, max: lng.min) 60 | 61 | self = Region(horizontal: hor, vertical: vert, hash: String(hash)) 62 | 63 | } 64 | 65 | public init?(hash: String) { 66 | 67 | var lat = Span.latitude 68 | var lng = Span.longitude 69 | 70 | var parity = Parity.lng 71 | 72 | for char in hash { 73 | guard let bitmap = charmap.firstIndex(of: char) else { return nil } 74 | var mask = 0b10000 75 | 76 | func compare(span: Span) -> Span { 77 | let mean = span.mean 78 | let isLow = bitmap & mask == 0 79 | let (min, max) = isLow ? (span.min, mean) : (mean, span.max) 80 | return Span(min: min, max: max) 81 | } 82 | 83 | while mask != 0 { 84 | switch parity { 85 | case .lng: lng = compare(span: lng) 86 | case .lat: lat = compare(span: lat) 87 | } 88 | parity.flip() 89 | mask >>= 1 90 | } 91 | } 92 | self = Region(horizontal: lng, vertical: lat, hash: hash) 93 | } 94 | 95 | func north(_ region: Region, _ precision: Int) -> Region { 96 | let lat = region.center.latitude 97 | let lng = region.center.longitude 98 | let v = region.vertical.distance 99 | let n = lat + v 100 | if n > 90.0 { 101 | var k = lng + 180.0 102 | if k > 180.0 { k -= 360.0 } 103 | return Region(latitude: lat, longitude: k, precision: precision) 104 | } 105 | return Region(latitude: n, longitude: lng, precision: precision) 106 | } 107 | 108 | func east(_ region: Region, _ precision: Int) -> Region { 109 | let lat = region.center.latitude 110 | let lng = region.center.longitude 111 | let h = region.horizontal.distance 112 | var n = lng + h 113 | if n > 180.0 { n -= 360.0 } 114 | return Region(latitude: lat, longitude: n, precision: precision) 115 | } 116 | 117 | func south(_ region: Region, _ precision: Int) -> Region { 118 | let lat = region.center.latitude 119 | let lng = region.center.longitude 120 | let v = region.vertical.distance 121 | let n = lat - v 122 | if n < -90.0 { 123 | var k = lng - 180 124 | if k < -180.0 { k += 360.0 } 125 | return Region(latitude: lat, longitude: k, precision: precision) 126 | } 127 | return Region(latitude: n, longitude: lng, precision: precision) 128 | } 129 | 130 | func west(_ region: Region, _ precision: Int) -> Region { 131 | let lat = region.center.latitude 132 | let lng = region.center.longitude 133 | let h = region.horizontal.distance 134 | var n = lng - h 135 | if n < -180.0 { n += 360.0 } 136 | return Region(latitude: lat, longitude: n, precision: precision) 137 | } 138 | 139 | func northeast(_ region: Region, _ precision: Int) -> Region { 140 | return north(east(region, precision), precision) 141 | } 142 | 143 | func southeast(_ region: Region, _ precision: Int) -> Region { 144 | return south(east(self, precision), precision) 145 | } 146 | 147 | func southwest(_ region: Region, _ precision: Int) -> Region { 148 | return south(west(self, precision), precision) 149 | } 150 | 151 | func northwest(_ region: Region, _ precision: Int) -> Region { 152 | return north(west(self, precision), precision) 153 | } 154 | 155 | public func neighbors() -> [Region] { 156 | let precision = hash.count 157 | return [ 158 | north(self, precision), 159 | northeast(self, precision), 160 | east(self, precision), 161 | southeast(self, precision), 162 | south(self, precision), 163 | southwest(self, precision), 164 | west(self, precision), 165 | northwest(self, precision) 166 | ] 167 | } 168 | 169 | private enum Parity { 170 | case lng 171 | case lat 172 | mutating func flip() { 173 | switch self { 174 | case .lng: self = .lat 175 | case .lat: self = .lng 176 | } 177 | } 178 | } 179 | 180 | } 181 | -------------------------------------------------------------------------------- /GeodesyTests/GeodesyTests.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import CoreLocation 3 | @testable import Geodesy 4 | 5 | class GeodesyTests: XCTestCase { 6 | 7 | func testEncodeDecode() { 8 | 9 | struct TestCase { 10 | let lat: Double 11 | let lng: Double 12 | let hash: String 13 | var precision: Int { 14 | return hash.count 15 | } 16 | } 17 | 18 | func runTestCase(_ testCase: TestCase) { 19 | let result = Region(latitude: testCase.lat, longitude: testCase.lng, precision: testCase.precision).hash 20 | let reverse = Region(hash: result) 21 | XCTAssertEqual(testCase.hash, result) 22 | XCTAssertNotNil(reverse) 23 | XCTAssertEqual(reverse!.center.latitude, testCase.lat, accuracy: 0.00005) 24 | XCTAssertEqual(reverse!.center.longitude, testCase.lng, accuracy: 0.00005) 25 | } 26 | 27 | [ // these values come from http://geohash.com 28 | TestCase(lat: 40.77955232064873, lng: -73.9636630564928, hash: "dr5ruztq1"), // Metropolitan Museum of Art, New York 29 | TestCase(lat: 37.9715286848901, lng: 23.726720362901688, hash: "swbb5bt20"), // Acropolis of Athens 30 | TestCase(lat: -77.84210082417549, lng: 166.68628692626953, hash: "pdnt1j32b"), // McMurdo Station, Antarctica 31 | TestCase(lat: -20.395640574216085, lng: 57.4394416809082, hash: "mk2ggp44u") // Black River Gorges National Park 32 | ].forEach(runTestCase) 33 | } 34 | 35 | func testCLCoordinates() { 36 | 37 | let precision: Precision = .twoHundredFortyCentimeters 38 | 39 | func runTestCase(coord: CLLocationCoordinate2D, hash: String) { 40 | let region = Region(coordinate: coord, precision: precision.rawValue).hash 41 | XCTAssertEqual(region, hash) 42 | } 43 | 44 | [ 45 | (CLLocationCoordinate2D(latitude: 40.77955232064873, longitude: -73.9636630564928), "dr5ruztq1"), 46 | (CLLocationCoordinate2D(latitude: 37.9715286848901, longitude: 23.726720362901688), "swbb5bt20"), 47 | (CLLocationCoordinate2D(latitude: -77.84210082417549, longitude: 166.68628692626953), "pdnt1j32b"), 48 | (CLLocationCoordinate2D(latitude: -20.395640574216085, longitude: 57.4394416809082), "mk2ggp44u") 49 | ].forEach(runTestCase) 50 | } 51 | 52 | func testNeighbors() { 53 | 54 | struct TestCase { 55 | let center: String 56 | let neighbors: [String] 57 | } 58 | 59 | func runTestCase(testCase: TestCase) { 60 | let region = Region(hash: testCase.center)! 61 | XCTAssertEqual(region.neighbors().map { $0.hash }, testCase.neighbors) 62 | } 63 | 64 | [ 65 | TestCase(center: "ezs42", neighbors: ["ezs48", "ezs49", "ezs43", "ezs41", "ezs40", "ezefp", "ezefr", "ezefx"]), 66 | TestCase(center: "u000", neighbors: ["u001", "u003", "u002", "spbr", "spbp", "ezzz", "gbpb", "gbpc"]), 67 | TestCase(center: "0", neighbors: ["2", "3", "1", "j", "h", "5", "p", "r"]), 68 | TestCase(center: "1", neighbors: ["3", "6", "4", "n", "j", "h", "0", "2"]), 69 | TestCase(center: "2", neighbors: ["8", "9", "3", "1", "0", "p", "r", "x"]), 70 | TestCase(center: "3", neighbors: ["9", "d", "6", "4", "1", "0", "2", "8"]), 71 | TestCase(center: "4", neighbors: ["6", "7", "5", "p", "n", "j", "1", "3"]), 72 | TestCase(center: "5", neighbors: ["7", "k", "h", "0", "p", "n", "4", "6"]), 73 | TestCase(center: "6", neighbors: ["d", "e", "7", "5", "4", "1", "3", "9"]), 74 | TestCase(center: "7", neighbors: ["e", "s", "k", "h", "5", "4", "6", "d"]), 75 | TestCase(center: "8", neighbors: ["b", "c", "9", "3", "2", "r", "x", "z"]), 76 | TestCase(center: "9", neighbors: ["c", "f", "d", "6", "3", "2", "8", "b"]), 77 | TestCase(center: "b", neighbors: ["u", "v", "c", "9", "8", "x", "z", "g"]), 78 | TestCase(center: "c", neighbors: ["v", "y", "f", "d", "9", "8", "b", "u"]), 79 | TestCase(center: "d", neighbors: ["f", "g", "e", "7", "6", "3", "9", "c"]), 80 | TestCase(center: "e", neighbors: ["g", "u", "s", "k", "7", "6", "d", "f"]), 81 | TestCase(center: "f", neighbors: ["y", "z", "g", "e", "d", "9", "c", "v"]), 82 | TestCase(center: "g", neighbors: ["z", "z", "u", "s", "e", "d", "f", "y"]), 83 | TestCase(center: "h", neighbors: ["k", "m", "j", "1", "0", "p", "5", "7"]), 84 | TestCase(center: "j", neighbors: ["m", "q", "n", "4", "1", "0", "h", "k"]), 85 | TestCase(center: "k", neighbors: ["s", "t", "m", "j", "h", "5", "7", "e"]), 86 | TestCase(center: "m", neighbors: ["t", "w", "q", "n", "j", "h", "k", "s"]), 87 | TestCase(center: "n", neighbors: ["q", "r", "p", "5", "4", "1", "j", "m"]), 88 | TestCase(center: "p", neighbors: ["r", "2", "0", "h", "5", "4", "n", "q"]), 89 | TestCase(center: "q", neighbors: ["w", "x", "r", "p", "n", "j", "m", "t"]), 90 | TestCase(center: "r", neighbors: ["x", "8", "2", "0", "p", "n", "q", "w"]), 91 | TestCase(center: "s", neighbors: ["u", "v", "t", "m", "k", "7", "e", "g"]), 92 | TestCase(center: "t", neighbors: ["v", "y", "w", "q", "m", "k", "s", "u"]), 93 | TestCase(center: "u", neighbors: ["b", "c", "v", "t", "s", "e", "g", "z"]), 94 | TestCase(center: "v", neighbors: ["c", "f", "y", "w", "t", "s", "u", "z"]), 95 | TestCase(center: "w", neighbors: ["y", "z", "x", "r", "q", "m", "t", "v"]), 96 | TestCase(center: "x", neighbors: ["z", "b", "8", "2", "r", "q", "w", "y"]), 97 | TestCase(center: "y", neighbors: ["f", "g", "z", "x", "w", "t", "v", "c"]), 98 | TestCase(center: "z", neighbors: ["g", "u", "b", "8", "x", "w", "y", "f"]) 99 | ].forEach(runTestCase) 100 | } 101 | 102 | func testNorth() { 103 | 104 | func runTest(center: String, neighbor: String) { 105 | let precision = center.count 106 | let region = Region(hash: center)! 107 | let north = region.north(region, precision) 108 | let hash = north.hash 109 | XCTAssertEqual(hash, neighbor) 110 | } 111 | 112 | [ 113 | ("b", "u"), 114 | ("c", "v"), 115 | ("f", "y"), 116 | ("g", "z"), 117 | ("u", "b"), 118 | ("v", "c"), 119 | ("y", "f"), 120 | ("z", "g"), 121 | ("r", "x"), 122 | ("2", "8"), 123 | ("3", "9"), 124 | ("6", "d"), 125 | ("7", "e"), 126 | ("k", "s"), 127 | ("m", "t"), 128 | ("q", "w"), 129 | ("r", "x") 130 | ].forEach(runTest) 131 | } 132 | 133 | func testSouth() { 134 | 135 | func runTest(center: String, neighbor: String) { 136 | let precision = center.count 137 | let region = Region(hash: center)! 138 | let south = region.south(region, precision) 139 | let hash = south.hash 140 | XCTAssertEqual(hash, neighbor) 141 | } 142 | 143 | [ 144 | ("p", "5"), 145 | ("0", "h"), 146 | ("1", "j"), 147 | ("4", "n"), 148 | ("5", "p"), 149 | ("h", "0"), 150 | ("j", "1"), 151 | ("n", "4"), 152 | ("8", "2"), 153 | ("9", "3"), 154 | ("d", "6"), 155 | ("e", "7"), 156 | ("s", "k"), 157 | ("t", "m"), 158 | ("w", "q"), 159 | ("x", "r") 160 | ].forEach(runTest) 161 | } 162 | 163 | func testEast() { 164 | 165 | func runTest(center: String, neighbor: String) { 166 | let precision = center.count 167 | let region = Region(hash: center)! 168 | let east = region.east(region, precision) 169 | let hash = east.hash 170 | XCTAssertEqual(hash, neighbor) 171 | } 172 | 173 | [ 174 | ("r", "2"), 175 | ("2", "3"), 176 | ("3", "6"), 177 | ("6", "7"), 178 | ("7", "k"), 179 | ("k", "m"), 180 | ("m", "q"), 181 | ("q", "r"), 182 | ("p", "0"), 183 | ("0", "1"), 184 | ("1", "4"), 185 | ("4", "5"), 186 | ("5", "h"), 187 | ("h", "j"), 188 | ("j", "n"), 189 | ("n", "p") 190 | ].forEach(runTest) 191 | } 192 | 193 | func testWest() { 194 | 195 | func runTest(center: String, neighbor: String) { 196 | let precision = center.count 197 | let region = Region(hash: center)! 198 | let west = region.west(region, precision) 199 | let hash = west.hash 200 | XCTAssertEqual(hash, neighbor) 201 | } 202 | 203 | [ 204 | ("r", "q"), 205 | ("2", "r"), 206 | ("3", "2"), 207 | ("6", "3"), 208 | ("7", "6"), 209 | ("k", "7"), 210 | ("m", "k"), 211 | ("q", "m"), 212 | ("p", "n"), 213 | ("0", "p"), 214 | ("1", "0"), 215 | ("4", "1"), 216 | ("5", "4"), 217 | ("h", "5"), 218 | ("j", "h"), 219 | ("n", "j") 220 | ].forEach(runTest) 221 | } 222 | 223 | func testNortheast() { 224 | 225 | func runTest(center: String, neighbor: String) { 226 | let precision = center.count 227 | let region = Region(hash: center)! 228 | let northeast = region.northeast(region, precision) 229 | let hash = northeast.hash 230 | XCTAssertEqual(hash, neighbor) 231 | } 232 | 233 | [ 234 | ("f", "z"), 235 | ("c", "y"), 236 | ("b", "v"), 237 | ("z", "u"), 238 | ("y", "g"), 239 | ("v", "f"), 240 | ("u", "c"), 241 | // ("g", "b"), // g nw -> z, 242 | ("r", "8"), 243 | ("2", "9"), 244 | ("3", "d"), 245 | ("6", "e"), 246 | ("7", "s"), 247 | ("k", "t"), 248 | ("m", "w"), 249 | ("q", "x") 250 | ].forEach(runTest) 251 | } 252 | 253 | func testSoutheast() { 254 | 255 | func runTest(center: String, neighbor: String) { 256 | let precision = center.count 257 | let region = Region(hash: center)! 258 | let southeast = region.southeast(region, precision) 259 | let hash = southeast.hash 260 | XCTAssertEqual(hash, neighbor) 261 | } 262 | 263 | [ 264 | ("p", "h"), 265 | ("0", "j"), 266 | ("1", "n"), 267 | ("4", "p"), 268 | ("5", "0"), 269 | ("h", "1"), 270 | ("j", "4"), 271 | ("n", "5"), 272 | ("s", "m"), 273 | ("t", "q"), 274 | ("w", "r"), 275 | ("x", "2"), 276 | ("8", "3"), 277 | ("9", "6"), 278 | ("d", "7"), 279 | ("e", "k") 280 | ].forEach(runTest) 281 | } 282 | 283 | func testSouthwest() { 284 | 285 | func runTest(center: String, neighbor: String) { 286 | let precision = center.count 287 | let region = Region(hash: center)! 288 | let southwest = region.southwest(region, precision) 289 | let hash = southwest.hash 290 | XCTAssertEqual(hash, neighbor) 291 | } 292 | 293 | [ 294 | ("0", "5"), 295 | ("1", "h"), 296 | ("4", "j"), 297 | ("5", "n"), 298 | ("h", "p"), 299 | ("j", "0"), 300 | ("n", "1"), 301 | ("p", "4"), 302 | ("8", "r"), 303 | ("9", "2"), 304 | ("d", "3"), 305 | ("e", "6"), 306 | ("s", "7"), 307 | ("t", "k"), 308 | ("w", "m"), 309 | ("x", "q") 310 | ].forEach(runTest) 311 | } 312 | 313 | func testNorthwest() { 314 | 315 | func runTest(center: String, neighbor: String) { 316 | let precision = center.count 317 | let region = Region(hash: center)! 318 | let northwest = region.northwest(region, precision) 319 | let hash = northwest.hash 320 | XCTAssertEqual(hash, neighbor) 321 | } 322 | 323 | [ 324 | ("u", "z"), 325 | // ("v", "b"), // g nw b -> z 326 | ("y", "c"), 327 | ("z", "f"), 328 | ("b", "g"), 329 | ("c", "u"), 330 | ("f", "v"), 331 | ("g", "y"), 332 | ("2", "x"), 333 | ("3", "8"), 334 | ("6", "9"), 335 | ("7", "d"), 336 | ("k", "e"), 337 | ("m", "s"), 338 | ("q", "t"), 339 | ("r", "w") 340 | ].forEach(runTest) 341 | } 342 | 343 | } 344 | -------------------------------------------------------------------------------- /Geodesy.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 48; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 52AE14A51FA21AFE007D9E40 /* Geodesy.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52AE149B1FA21AFE007D9E40 /* Geodesy.framework */; }; 11 | 52AE14AA1FA21AFE007D9E40 /* GeodesyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52AE14A91FA21AFE007D9E40 /* GeodesyTests.swift */; }; 12 | 52AE14E41FA21CDB007D9E40 /* Geodesy.h in Headers */ = {isa = PBXBuildFile; fileRef = 52AE14DB1FA21C94007D9E40 /* Geodesy.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 52AE14E51FA21CDC007D9E40 /* Geodesy.h in Headers */ = {isa = PBXBuildFile; fileRef = 52AE14DB1FA21C94007D9E40 /* Geodesy.h */; settings = {ATTRIBUTES = (Public, ); }; }; 14 | 52AE14E61FA21CDC007D9E40 /* Geodesy.h in Headers */ = {isa = PBXBuildFile; fileRef = 52AE14DB1FA21C94007D9E40 /* Geodesy.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | 52AE14E71FA21CDD007D9E40 /* Geodesy.h in Headers */ = {isa = PBXBuildFile; fileRef = 52AE14DB1FA21C94007D9E40 /* Geodesy.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | 52F8C7CF1FA22AFA002E75AC /* Precision.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52F8C7CE1FA22AFA002E75AC /* Precision.swift */; }; 17 | 52F8C7D01FA22AFA002E75AC /* Precision.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52F8C7CE1FA22AFA002E75AC /* Precision.swift */; }; 18 | 52F8C7D11FA22AFA002E75AC /* Precision.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52F8C7CE1FA22AFA002E75AC /* Precision.swift */; }; 19 | 52F8C7D21FA22AFA002E75AC /* Precision.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52F8C7CE1FA22AFA002E75AC /* Precision.swift */; }; 20 | 52F8C7D41FA22B34002E75AC /* Span.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52F8C7D31FA22B34002E75AC /* Span.swift */; }; 21 | 52F8C7D51FA22B34002E75AC /* Span.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52F8C7D31FA22B34002E75AC /* Span.swift */; }; 22 | 52F8C7D61FA22B34002E75AC /* Span.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52F8C7D31FA22B34002E75AC /* Span.swift */; }; 23 | 52F8C7D71FA22B34002E75AC /* Span.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52F8C7D31FA22B34002E75AC /* Span.swift */; }; 24 | 52F8C7D91FA22B3E002E75AC /* Region.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52F8C7D81FA22B3E002E75AC /* Region.swift */; }; 25 | 52F8C7DA1FA22B3E002E75AC /* Region.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52F8C7D81FA22B3E002E75AC /* Region.swift */; }; 26 | 52F8C7DB1FA22B3E002E75AC /* Region.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52F8C7D81FA22B3E002E75AC /* Region.swift */; }; 27 | 52F8C7DC1FA22B3E002E75AC /* Region.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52F8C7D81FA22B3E002E75AC /* Region.swift */; }; 28 | 52F8C7DE1FA22BD3002E75AC /* Geodesy+CoreLocation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52F8C7DD1FA22BD3002E75AC /* Geodesy+CoreLocation.swift */; }; 29 | 52F8C7DF1FA22BD3002E75AC /* Geodesy+CoreLocation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52F8C7DD1FA22BD3002E75AC /* Geodesy+CoreLocation.swift */; }; 30 | 52F8C7E01FA22BD3002E75AC /* Geodesy+CoreLocation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52F8C7DD1FA22BD3002E75AC /* Geodesy+CoreLocation.swift */; }; 31 | 52F8C7E11FA22BD3002E75AC /* Geodesy+CoreLocation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52F8C7DD1FA22BD3002E75AC /* Geodesy+CoreLocation.swift */; }; 32 | 52F8C7EB1FA22EE5002E75AC /* Geodesy.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52AE14D21FA21BAA007D9E40 /* Geodesy.framework */; }; 33 | 52F8C7F11FA22EF6002E75AC /* GeodesyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52AE14A91FA21AFE007D9E40 /* GeodesyTests.swift */; }; 34 | /* End PBXBuildFile section */ 35 | 36 | /* Begin PBXContainerItemProxy section */ 37 | 52AE14A61FA21AFE007D9E40 /* PBXContainerItemProxy */ = { 38 | isa = PBXContainerItemProxy; 39 | containerPortal = 52AE14901FA21ABE007D9E40 /* Project object */; 40 | proxyType = 1; 41 | remoteGlobalIDString = 52AE149A1FA21AFE007D9E40; 42 | remoteInfo = Geodesy; 43 | }; 44 | 52F8C7EC1FA22EE5002E75AC /* PBXContainerItemProxy */ = { 45 | isa = PBXContainerItemProxy; 46 | containerPortal = 52AE14901FA21ABE007D9E40 /* Project object */; 47 | proxyType = 1; 48 | remoteGlobalIDString = 52AE14D11FA21BAA007D9E40; 49 | remoteInfo = "Geodesy macOS"; 50 | }; 51 | /* End PBXContainerItemProxy section */ 52 | 53 | /* Begin PBXFileReference section */ 54 | 521F61881FA2C78500607A1D /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = SOURCE_ROOT; }; 55 | 528E55231FA36307008E4FED /* LICENSE.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = LICENSE.md; sourceTree = SOURCE_ROOT; }; 56 | 528E55241FA3F426008E4FED /* Geodesy.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = Geodesy.podspec; sourceTree = SOURCE_ROOT; }; 57 | 528E55251FA3F43D008E4FED /* .travis.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .travis.yml; sourceTree = SOURCE_ROOT; }; 58 | 528E55261FA3F44B008E4FED /* .gitignore */ = {isa = PBXFileReference; lastKnownFileType = text; path = .gitignore; sourceTree = SOURCE_ROOT; }; 59 | 52AE149B1FA21AFE007D9E40 /* Geodesy.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Geodesy.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 60 | 52AE14A41FA21AFE007D9E40 /* GeodesyTests iOS.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "GeodesyTests iOS.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 61 | 52AE14A91FA21AFE007D9E40 /* GeodesyTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GeodesyTests.swift; sourceTree = ""; }; 62 | 52AE14AB1FA21AFE007D9E40 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 63 | 52AE14B81FA21B45007D9E40 /* Geodesy.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Geodesy.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 64 | 52AE14C51FA21B7F007D9E40 /* Geodesy.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Geodesy.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 65 | 52AE14D21FA21BAA007D9E40 /* Geodesy.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Geodesy.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 66 | 52AE14DA1FA21C94007D9E40 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 67 | 52AE14DB1FA21C94007D9E40 /* Geodesy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Geodesy.h; sourceTree = ""; }; 68 | 52F8C7CE1FA22AFA002E75AC /* Precision.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Precision.swift; sourceTree = ""; }; 69 | 52F8C7D31FA22B34002E75AC /* Span.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Span.swift; sourceTree = ""; }; 70 | 52F8C7D81FA22B3E002E75AC /* Region.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Region.swift; sourceTree = ""; }; 71 | 52F8C7DD1FA22BD3002E75AC /* Geodesy+CoreLocation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Geodesy+CoreLocation.swift"; sourceTree = ""; }; 72 | 52F8C7E61FA22EE5002E75AC /* GeodesyTests macOS.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "GeodesyTests macOS.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 73 | /* End PBXFileReference section */ 74 | 75 | /* Begin PBXFrameworksBuildPhase section */ 76 | 52AE14971FA21AFE007D9E40 /* Frameworks */ = { 77 | isa = PBXFrameworksBuildPhase; 78 | buildActionMask = 2147483647; 79 | files = ( 80 | ); 81 | runOnlyForDeploymentPostprocessing = 0; 82 | }; 83 | 52AE14A11FA21AFE007D9E40 /* Frameworks */ = { 84 | isa = PBXFrameworksBuildPhase; 85 | buildActionMask = 2147483647; 86 | files = ( 87 | 52AE14A51FA21AFE007D9E40 /* Geodesy.framework in Frameworks */, 88 | ); 89 | runOnlyForDeploymentPostprocessing = 0; 90 | }; 91 | 52AE14B41FA21B45007D9E40 /* Frameworks */ = { 92 | isa = PBXFrameworksBuildPhase; 93 | buildActionMask = 2147483647; 94 | files = ( 95 | ); 96 | runOnlyForDeploymentPostprocessing = 0; 97 | }; 98 | 52AE14C11FA21B7F007D9E40 /* Frameworks */ = { 99 | isa = PBXFrameworksBuildPhase; 100 | buildActionMask = 2147483647; 101 | files = ( 102 | ); 103 | runOnlyForDeploymentPostprocessing = 0; 104 | }; 105 | 52AE14CE1FA21BAA007D9E40 /* Frameworks */ = { 106 | isa = PBXFrameworksBuildPhase; 107 | buildActionMask = 2147483647; 108 | files = ( 109 | ); 110 | runOnlyForDeploymentPostprocessing = 0; 111 | }; 112 | 52F8C7E31FA22EE5002E75AC /* Frameworks */ = { 113 | isa = PBXFrameworksBuildPhase; 114 | buildActionMask = 2147483647; 115 | files = ( 116 | 52F8C7EB1FA22EE5002E75AC /* Geodesy.framework in Frameworks */, 117 | ); 118 | runOnlyForDeploymentPostprocessing = 0; 119 | }; 120 | /* End PBXFrameworksBuildPhase section */ 121 | 122 | /* Begin PBXGroup section */ 123 | 521F61841FA2C1B000607A1D /* Supporting Files */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | 52AE14DB1FA21C94007D9E40 /* Geodesy.h */, 127 | 52AE14DA1FA21C94007D9E40 /* Info.plist */, 128 | 521F61881FA2C78500607A1D /* README.md */, 129 | 528E55231FA36307008E4FED /* LICENSE.md */, 130 | 528E55241FA3F426008E4FED /* Geodesy.podspec */, 131 | 528E55251FA3F43D008E4FED /* .travis.yml */, 132 | 528E55261FA3F44B008E4FED /* .gitignore */, 133 | ); 134 | path = "Supporting Files"; 135 | sourceTree = ""; 136 | }; 137 | 52AE148F1FA21ABE007D9E40 = { 138 | isa = PBXGroup; 139 | children = ( 140 | 52AE149D1FA21AFE007D9E40 /* Source */, 141 | 521F61841FA2C1B000607A1D /* Supporting Files */, 142 | 52AE14A81FA21AFE007D9E40 /* GeodesyTests */, 143 | 52AE149C1FA21AFE007D9E40 /* Products */, 144 | ); 145 | sourceTree = ""; 146 | }; 147 | 52AE149C1FA21AFE007D9E40 /* Products */ = { 148 | isa = PBXGroup; 149 | children = ( 150 | 52AE149B1FA21AFE007D9E40 /* Geodesy.framework */, 151 | 52AE14A41FA21AFE007D9E40 /* GeodesyTests iOS.xctest */, 152 | 52AE14B81FA21B45007D9E40 /* Geodesy.framework */, 153 | 52AE14C51FA21B7F007D9E40 /* Geodesy.framework */, 154 | 52AE14D21FA21BAA007D9E40 /* Geodesy.framework */, 155 | 52F8C7E61FA22EE5002E75AC /* GeodesyTests macOS.xctest */, 156 | ); 157 | name = Products; 158 | sourceTree = ""; 159 | }; 160 | 52AE149D1FA21AFE007D9E40 /* Source */ = { 161 | isa = PBXGroup; 162 | children = ( 163 | 52F8C7CE1FA22AFA002E75AC /* Precision.swift */, 164 | 52F8C7D31FA22B34002E75AC /* Span.swift */, 165 | 52F8C7D81FA22B3E002E75AC /* Region.swift */, 166 | 52F8C7DD1FA22BD3002E75AC /* Geodesy+CoreLocation.swift */, 167 | ); 168 | path = Source; 169 | sourceTree = ""; 170 | }; 171 | 52AE14A81FA21AFE007D9E40 /* GeodesyTests */ = { 172 | isa = PBXGroup; 173 | children = ( 174 | 52AE14A91FA21AFE007D9E40 /* GeodesyTests.swift */, 175 | 52AE14AB1FA21AFE007D9E40 /* Info.plist */, 176 | ); 177 | path = GeodesyTests; 178 | sourceTree = ""; 179 | }; 180 | /* End PBXGroup section */ 181 | 182 | /* Begin PBXHeadersBuildPhase section */ 183 | 52AE14981FA21AFE007D9E40 /* Headers */ = { 184 | isa = PBXHeadersBuildPhase; 185 | buildActionMask = 2147483647; 186 | files = ( 187 | 52AE14E71FA21CDD007D9E40 /* Geodesy.h in Headers */, 188 | ); 189 | runOnlyForDeploymentPostprocessing = 0; 190 | }; 191 | 52AE14B51FA21B45007D9E40 /* Headers */ = { 192 | isa = PBXHeadersBuildPhase; 193 | buildActionMask = 2147483647; 194 | files = ( 195 | 52AE14E61FA21CDC007D9E40 /* Geodesy.h in Headers */, 196 | ); 197 | runOnlyForDeploymentPostprocessing = 0; 198 | }; 199 | 52AE14C21FA21B7F007D9E40 /* Headers */ = { 200 | isa = PBXHeadersBuildPhase; 201 | buildActionMask = 2147483647; 202 | files = ( 203 | 52AE14E51FA21CDC007D9E40 /* Geodesy.h in Headers */, 204 | ); 205 | runOnlyForDeploymentPostprocessing = 0; 206 | }; 207 | 52AE14CF1FA21BAA007D9E40 /* Headers */ = { 208 | isa = PBXHeadersBuildPhase; 209 | buildActionMask = 2147483647; 210 | files = ( 211 | 52AE14E41FA21CDB007D9E40 /* Geodesy.h in Headers */, 212 | ); 213 | runOnlyForDeploymentPostprocessing = 0; 214 | }; 215 | /* End PBXHeadersBuildPhase section */ 216 | 217 | /* Begin PBXNativeTarget section */ 218 | 52AE149A1FA21AFE007D9E40 /* Geodesy iOS */ = { 219 | isa = PBXNativeTarget; 220 | buildConfigurationList = 52AE14AD1FA21AFE007D9E40 /* Build configuration list for PBXNativeTarget "Geodesy iOS" */; 221 | buildPhases = ( 222 | 52AE14961FA21AFE007D9E40 /* Sources */, 223 | 52AE14971FA21AFE007D9E40 /* Frameworks */, 224 | 52AE14981FA21AFE007D9E40 /* Headers */, 225 | 52AE14991FA21AFE007D9E40 /* Resources */, 226 | ); 227 | buildRules = ( 228 | ); 229 | dependencies = ( 230 | ); 231 | name = "Geodesy iOS"; 232 | productName = Geodesy; 233 | productReference = 52AE149B1FA21AFE007D9E40 /* Geodesy.framework */; 234 | productType = "com.apple.product-type.framework"; 235 | }; 236 | 52AE14A31FA21AFE007D9E40 /* GeodesyTests iOS */ = { 237 | isa = PBXNativeTarget; 238 | buildConfigurationList = 52AE14B01FA21AFE007D9E40 /* Build configuration list for PBXNativeTarget "GeodesyTests iOS" */; 239 | buildPhases = ( 240 | 52AE14A01FA21AFE007D9E40 /* Sources */, 241 | 52AE14A11FA21AFE007D9E40 /* Frameworks */, 242 | 52AE14A21FA21AFE007D9E40 /* Resources */, 243 | ); 244 | buildRules = ( 245 | ); 246 | dependencies = ( 247 | 52AE14A71FA21AFE007D9E40 /* PBXTargetDependency */, 248 | ); 249 | name = "GeodesyTests iOS"; 250 | productName = GeodesyTests; 251 | productReference = 52AE14A41FA21AFE007D9E40 /* GeodesyTests iOS.xctest */; 252 | productType = "com.apple.product-type.bundle.unit-test"; 253 | }; 254 | 52AE14B71FA21B45007D9E40 /* Geodesy watchOS */ = { 255 | isa = PBXNativeTarget; 256 | buildConfigurationList = 52AE14BD1FA21B45007D9E40 /* Build configuration list for PBXNativeTarget "Geodesy watchOS" */; 257 | buildPhases = ( 258 | 52AE14B31FA21B45007D9E40 /* Sources */, 259 | 52AE14B41FA21B45007D9E40 /* Frameworks */, 260 | 52AE14B51FA21B45007D9E40 /* Headers */, 261 | 52AE14B61FA21B45007D9E40 /* Resources */, 262 | ); 263 | buildRules = ( 264 | ); 265 | dependencies = ( 266 | ); 267 | name = "Geodesy watchOS"; 268 | productName = Geodesy; 269 | productReference = 52AE14B81FA21B45007D9E40 /* Geodesy.framework */; 270 | productType = "com.apple.product-type.framework"; 271 | }; 272 | 52AE14C41FA21B7F007D9E40 /* Geodesy tvOS */ = { 273 | isa = PBXNativeTarget; 274 | buildConfigurationList = 52AE14CA1FA21B7F007D9E40 /* Build configuration list for PBXNativeTarget "Geodesy tvOS" */; 275 | buildPhases = ( 276 | 52AE14C01FA21B7F007D9E40 /* Sources */, 277 | 52AE14C11FA21B7F007D9E40 /* Frameworks */, 278 | 52AE14C21FA21B7F007D9E40 /* Headers */, 279 | 52AE14C31FA21B7F007D9E40 /* Resources */, 280 | ); 281 | buildRules = ( 282 | ); 283 | dependencies = ( 284 | ); 285 | name = "Geodesy tvOS"; 286 | productName = Geodesy; 287 | productReference = 52AE14C51FA21B7F007D9E40 /* Geodesy.framework */; 288 | productType = "com.apple.product-type.framework"; 289 | }; 290 | 52AE14D11FA21BAA007D9E40 /* Geodesy macOS */ = { 291 | isa = PBXNativeTarget; 292 | buildConfigurationList = 52AE14D71FA21BAA007D9E40 /* Build configuration list for PBXNativeTarget "Geodesy macOS" */; 293 | buildPhases = ( 294 | 52AE14CD1FA21BAA007D9E40 /* Sources */, 295 | 52AE14CE1FA21BAA007D9E40 /* Frameworks */, 296 | 52AE14CF1FA21BAA007D9E40 /* Headers */, 297 | 52AE14D01FA21BAA007D9E40 /* Resources */, 298 | ); 299 | buildRules = ( 300 | ); 301 | dependencies = ( 302 | ); 303 | name = "Geodesy macOS"; 304 | productName = Geodesy; 305 | productReference = 52AE14D21FA21BAA007D9E40 /* Geodesy.framework */; 306 | productType = "com.apple.product-type.framework"; 307 | }; 308 | 52F8C7E51FA22EE5002E75AC /* GeodesyTests macOS */ = { 309 | isa = PBXNativeTarget; 310 | buildConfigurationList = 52F8C7EE1FA22EE5002E75AC /* Build configuration list for PBXNativeTarget "GeodesyTests macOS" */; 311 | buildPhases = ( 312 | 52F8C7E21FA22EE5002E75AC /* Sources */, 313 | 52F8C7E31FA22EE5002E75AC /* Frameworks */, 314 | 52F8C7E41FA22EE5002E75AC /* Resources */, 315 | ); 316 | buildRules = ( 317 | ); 318 | dependencies = ( 319 | 52F8C7ED1FA22EE5002E75AC /* PBXTargetDependency */, 320 | ); 321 | name = "GeodesyTests macOS"; 322 | productName = "GeodesyTests macOS"; 323 | productReference = 52F8C7E61FA22EE5002E75AC /* GeodesyTests macOS.xctest */; 324 | productType = "com.apple.product-type.bundle.unit-test"; 325 | }; 326 | /* End PBXNativeTarget section */ 327 | 328 | /* Begin PBXProject section */ 329 | 52AE14901FA21ABE007D9E40 /* Project object */ = { 330 | isa = PBXProject; 331 | attributes = { 332 | LastSwiftUpdateCheck = 0900; 333 | LastUpgradeCheck = 1020; 334 | TargetAttributes = { 335 | 52AE149A1FA21AFE007D9E40 = { 336 | CreatedOnToolsVersion = 9.0.1; 337 | LastSwiftMigration = 1020; 338 | ProvisioningStyle = Automatic; 339 | }; 340 | 52AE14A31FA21AFE007D9E40 = { 341 | CreatedOnToolsVersion = 9.0.1; 342 | LastSwiftMigration = 1020; 343 | ProvisioningStyle = Automatic; 344 | }; 345 | 52AE14B71FA21B45007D9E40 = { 346 | CreatedOnToolsVersion = 9.0.1; 347 | LastSwiftMigration = 1020; 348 | ProvisioningStyle = Automatic; 349 | }; 350 | 52AE14C41FA21B7F007D9E40 = { 351 | CreatedOnToolsVersion = 9.0.1; 352 | LastSwiftMigration = 1020; 353 | ProvisioningStyle = Automatic; 354 | }; 355 | 52AE14D11FA21BAA007D9E40 = { 356 | CreatedOnToolsVersion = 9.0.1; 357 | LastSwiftMigration = 1020; 358 | ProvisioningStyle = Automatic; 359 | }; 360 | 52F8C7E51FA22EE5002E75AC = { 361 | CreatedOnToolsVersion = 9.0.1; 362 | LastSwiftMigration = 1020; 363 | ProvisioningStyle = Automatic; 364 | }; 365 | }; 366 | }; 367 | buildConfigurationList = 52AE14931FA21ABE007D9E40 /* Build configuration list for PBXProject "Geodesy" */; 368 | compatibilityVersion = "Xcode 8.0"; 369 | developmentRegion = en; 370 | hasScannedForEncodings = 0; 371 | knownRegions = ( 372 | en, 373 | Base, 374 | ); 375 | mainGroup = 52AE148F1FA21ABE007D9E40; 376 | productRefGroup = 52AE149C1FA21AFE007D9E40 /* Products */; 377 | projectDirPath = ""; 378 | projectRoot = ""; 379 | targets = ( 380 | 52AE149A1FA21AFE007D9E40 /* Geodesy iOS */, 381 | 52AE14B71FA21B45007D9E40 /* Geodesy watchOS */, 382 | 52AE14C41FA21B7F007D9E40 /* Geodesy tvOS */, 383 | 52AE14D11FA21BAA007D9E40 /* Geodesy macOS */, 384 | 52AE14A31FA21AFE007D9E40 /* GeodesyTests iOS */, 385 | 52F8C7E51FA22EE5002E75AC /* GeodesyTests macOS */, 386 | ); 387 | }; 388 | /* End PBXProject section */ 389 | 390 | /* Begin PBXResourcesBuildPhase section */ 391 | 52AE14991FA21AFE007D9E40 /* Resources */ = { 392 | isa = PBXResourcesBuildPhase; 393 | buildActionMask = 2147483647; 394 | files = ( 395 | ); 396 | runOnlyForDeploymentPostprocessing = 0; 397 | }; 398 | 52AE14A21FA21AFE007D9E40 /* Resources */ = { 399 | isa = PBXResourcesBuildPhase; 400 | buildActionMask = 2147483647; 401 | files = ( 402 | ); 403 | runOnlyForDeploymentPostprocessing = 0; 404 | }; 405 | 52AE14B61FA21B45007D9E40 /* Resources */ = { 406 | isa = PBXResourcesBuildPhase; 407 | buildActionMask = 2147483647; 408 | files = ( 409 | ); 410 | runOnlyForDeploymentPostprocessing = 0; 411 | }; 412 | 52AE14C31FA21B7F007D9E40 /* Resources */ = { 413 | isa = PBXResourcesBuildPhase; 414 | buildActionMask = 2147483647; 415 | files = ( 416 | ); 417 | runOnlyForDeploymentPostprocessing = 0; 418 | }; 419 | 52AE14D01FA21BAA007D9E40 /* Resources */ = { 420 | isa = PBXResourcesBuildPhase; 421 | buildActionMask = 2147483647; 422 | files = ( 423 | ); 424 | runOnlyForDeploymentPostprocessing = 0; 425 | }; 426 | 52F8C7E41FA22EE5002E75AC /* Resources */ = { 427 | isa = PBXResourcesBuildPhase; 428 | buildActionMask = 2147483647; 429 | files = ( 430 | ); 431 | runOnlyForDeploymentPostprocessing = 0; 432 | }; 433 | /* End PBXResourcesBuildPhase section */ 434 | 435 | /* Begin PBXSourcesBuildPhase section */ 436 | 52AE14961FA21AFE007D9E40 /* Sources */ = { 437 | isa = PBXSourcesBuildPhase; 438 | buildActionMask = 2147483647; 439 | files = ( 440 | 52F8C7D91FA22B3E002E75AC /* Region.swift in Sources */, 441 | 52F8C7CF1FA22AFA002E75AC /* Precision.swift in Sources */, 442 | 52F8C7DE1FA22BD3002E75AC /* Geodesy+CoreLocation.swift in Sources */, 443 | 52F8C7D41FA22B34002E75AC /* Span.swift in Sources */, 444 | ); 445 | runOnlyForDeploymentPostprocessing = 0; 446 | }; 447 | 52AE14A01FA21AFE007D9E40 /* Sources */ = { 448 | isa = PBXSourcesBuildPhase; 449 | buildActionMask = 2147483647; 450 | files = ( 451 | 52AE14AA1FA21AFE007D9E40 /* GeodesyTests.swift in Sources */, 452 | ); 453 | runOnlyForDeploymentPostprocessing = 0; 454 | }; 455 | 52AE14B31FA21B45007D9E40 /* Sources */ = { 456 | isa = PBXSourcesBuildPhase; 457 | buildActionMask = 2147483647; 458 | files = ( 459 | 52F8C7DA1FA22B3E002E75AC /* Region.swift in Sources */, 460 | 52F8C7D01FA22AFA002E75AC /* Precision.swift in Sources */, 461 | 52F8C7DF1FA22BD3002E75AC /* Geodesy+CoreLocation.swift in Sources */, 462 | 52F8C7D51FA22B34002E75AC /* Span.swift in Sources */, 463 | ); 464 | runOnlyForDeploymentPostprocessing = 0; 465 | }; 466 | 52AE14C01FA21B7F007D9E40 /* Sources */ = { 467 | isa = PBXSourcesBuildPhase; 468 | buildActionMask = 2147483647; 469 | files = ( 470 | 52F8C7DB1FA22B3E002E75AC /* Region.swift in Sources */, 471 | 52F8C7D11FA22AFA002E75AC /* Precision.swift in Sources */, 472 | 52F8C7E01FA22BD3002E75AC /* Geodesy+CoreLocation.swift in Sources */, 473 | 52F8C7D61FA22B34002E75AC /* Span.swift in Sources */, 474 | ); 475 | runOnlyForDeploymentPostprocessing = 0; 476 | }; 477 | 52AE14CD1FA21BAA007D9E40 /* Sources */ = { 478 | isa = PBXSourcesBuildPhase; 479 | buildActionMask = 2147483647; 480 | files = ( 481 | 52F8C7DC1FA22B3E002E75AC /* Region.swift in Sources */, 482 | 52F8C7D21FA22AFA002E75AC /* Precision.swift in Sources */, 483 | 52F8C7E11FA22BD3002E75AC /* Geodesy+CoreLocation.swift in Sources */, 484 | 52F8C7D71FA22B34002E75AC /* Span.swift in Sources */, 485 | ); 486 | runOnlyForDeploymentPostprocessing = 0; 487 | }; 488 | 52F8C7E21FA22EE5002E75AC /* Sources */ = { 489 | isa = PBXSourcesBuildPhase; 490 | buildActionMask = 2147483647; 491 | files = ( 492 | 52F8C7F11FA22EF6002E75AC /* GeodesyTests.swift in Sources */, 493 | ); 494 | runOnlyForDeploymentPostprocessing = 0; 495 | }; 496 | /* End PBXSourcesBuildPhase section */ 497 | 498 | /* Begin PBXTargetDependency section */ 499 | 52AE14A71FA21AFE007D9E40 /* PBXTargetDependency */ = { 500 | isa = PBXTargetDependency; 501 | target = 52AE149A1FA21AFE007D9E40 /* Geodesy iOS */; 502 | targetProxy = 52AE14A61FA21AFE007D9E40 /* PBXContainerItemProxy */; 503 | }; 504 | 52F8C7ED1FA22EE5002E75AC /* PBXTargetDependency */ = { 505 | isa = PBXTargetDependency; 506 | target = 52AE14D11FA21BAA007D9E40 /* Geodesy macOS */; 507 | targetProxy = 52F8C7EC1FA22EE5002E75AC /* PBXContainerItemProxy */; 508 | }; 509 | /* End PBXTargetDependency section */ 510 | 511 | /* Begin XCBuildConfiguration section */ 512 | 52AE14941FA21ABE007D9E40 /* Debug */ = { 513 | isa = XCBuildConfiguration; 514 | buildSettings = { 515 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 516 | CLANG_WARN_BOOL_CONVERSION = YES; 517 | CLANG_WARN_COMMA = YES; 518 | CLANG_WARN_CONSTANT_CONVERSION = YES; 519 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 520 | CLANG_WARN_EMPTY_BODY = YES; 521 | CLANG_WARN_ENUM_CONVERSION = YES; 522 | CLANG_WARN_INFINITE_RECURSION = YES; 523 | CLANG_WARN_INT_CONVERSION = YES; 524 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 525 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 526 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 527 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 528 | CLANG_WARN_STRICT_PROTOTYPES = YES; 529 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 530 | CLANG_WARN_UNREACHABLE_CODE = YES; 531 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 532 | ENABLE_STRICT_OBJC_MSGSEND = YES; 533 | ENABLE_TESTABILITY = YES; 534 | GCC_NO_COMMON_BLOCKS = YES; 535 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 536 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 537 | GCC_WARN_UNDECLARED_SELECTOR = YES; 538 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 539 | GCC_WARN_UNUSED_FUNCTION = YES; 540 | GCC_WARN_UNUSED_VARIABLE = YES; 541 | ONLY_ACTIVE_ARCH = YES; 542 | }; 543 | name = Debug; 544 | }; 545 | 52AE14951FA21ABE007D9E40 /* Release */ = { 546 | isa = XCBuildConfiguration; 547 | buildSettings = { 548 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 549 | CLANG_WARN_BOOL_CONVERSION = YES; 550 | CLANG_WARN_COMMA = YES; 551 | CLANG_WARN_CONSTANT_CONVERSION = YES; 552 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 553 | CLANG_WARN_EMPTY_BODY = YES; 554 | CLANG_WARN_ENUM_CONVERSION = YES; 555 | CLANG_WARN_INFINITE_RECURSION = YES; 556 | CLANG_WARN_INT_CONVERSION = YES; 557 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 558 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 559 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 560 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 561 | CLANG_WARN_STRICT_PROTOTYPES = YES; 562 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 563 | CLANG_WARN_UNREACHABLE_CODE = YES; 564 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 565 | ENABLE_STRICT_OBJC_MSGSEND = YES; 566 | GCC_NO_COMMON_BLOCKS = YES; 567 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 568 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 569 | GCC_WARN_UNDECLARED_SELECTOR = YES; 570 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 571 | GCC_WARN_UNUSED_FUNCTION = YES; 572 | GCC_WARN_UNUSED_VARIABLE = YES; 573 | }; 574 | name = Release; 575 | }; 576 | 52AE14AE1FA21AFE007D9E40 /* Debug */ = { 577 | isa = XCBuildConfiguration; 578 | buildSettings = { 579 | ALWAYS_SEARCH_USER_PATHS = NO; 580 | CLANG_ANALYZER_NONNULL = YES; 581 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 582 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 583 | CLANG_CXX_LIBRARY = "libc++"; 584 | CLANG_ENABLE_MODULES = YES; 585 | CLANG_ENABLE_OBJC_ARC = YES; 586 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 587 | CLANG_WARN_BOOL_CONVERSION = YES; 588 | CLANG_WARN_COMMA = YES; 589 | CLANG_WARN_CONSTANT_CONVERSION = YES; 590 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 591 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 592 | CLANG_WARN_EMPTY_BODY = YES; 593 | CLANG_WARN_ENUM_CONVERSION = YES; 594 | CLANG_WARN_INFINITE_RECURSION = YES; 595 | CLANG_WARN_INT_CONVERSION = YES; 596 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 597 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 598 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 599 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 600 | CLANG_WARN_STRICT_PROTOTYPES = YES; 601 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 602 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 603 | CLANG_WARN_UNREACHABLE_CODE = YES; 604 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 605 | CODE_SIGN_IDENTITY = "iPhone Developer"; 606 | CODE_SIGN_STYLE = Automatic; 607 | COPY_PHASE_STRIP = NO; 608 | CURRENT_PROJECT_VERSION = 1; 609 | DEBUG_INFORMATION_FORMAT = dwarf; 610 | DEFINES_MODULE = YES; 611 | DEVELOPMENT_TEAM = 55SVD8WGE3; 612 | DYLIB_COMPATIBILITY_VERSION = 1; 613 | DYLIB_CURRENT_VERSION = 1; 614 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 615 | ENABLE_STRICT_OBJC_MSGSEND = YES; 616 | ENABLE_TESTABILITY = YES; 617 | GCC_C_LANGUAGE_STANDARD = gnu11; 618 | GCC_DYNAMIC_NO_PIC = NO; 619 | GCC_NO_COMMON_BLOCKS = YES; 620 | GCC_OPTIMIZATION_LEVEL = 0; 621 | GCC_PREPROCESSOR_DEFINITIONS = ( 622 | "DEBUG=1", 623 | "$(inherited)", 624 | ); 625 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 626 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 627 | GCC_WARN_UNDECLARED_SELECTOR = YES; 628 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 629 | GCC_WARN_UNUSED_FUNCTION = YES; 630 | GCC_WARN_UNUSED_VARIABLE = YES; 631 | INFOPLIST_FILE = "$(SRCROOT)/Supporting Files/Info.plist"; 632 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 633 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 634 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 635 | MTL_ENABLE_DEBUG_INFO = YES; 636 | ONLY_ACTIVE_ARCH = YES; 637 | PRODUCT_BUNDLE_IDENTIFIER = com.proxpero.ios.geodesy; 638 | PRODUCT_NAME = Geodesy; 639 | SDKROOT = iphoneos; 640 | SKIP_INSTALL = YES; 641 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 642 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 643 | SWIFT_VERSION = 5.0; 644 | TARGETED_DEVICE_FAMILY = "1,2"; 645 | VERSIONING_SYSTEM = "apple-generic"; 646 | VERSION_INFO_PREFIX = ""; 647 | }; 648 | name = Debug; 649 | }; 650 | 52AE14AF1FA21AFE007D9E40 /* Release */ = { 651 | isa = XCBuildConfiguration; 652 | buildSettings = { 653 | ALWAYS_SEARCH_USER_PATHS = NO; 654 | CLANG_ANALYZER_NONNULL = YES; 655 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 656 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 657 | CLANG_CXX_LIBRARY = "libc++"; 658 | CLANG_ENABLE_MODULES = YES; 659 | CLANG_ENABLE_OBJC_ARC = YES; 660 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 661 | CLANG_WARN_BOOL_CONVERSION = YES; 662 | CLANG_WARN_COMMA = YES; 663 | CLANG_WARN_CONSTANT_CONVERSION = YES; 664 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 665 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 666 | CLANG_WARN_EMPTY_BODY = YES; 667 | CLANG_WARN_ENUM_CONVERSION = YES; 668 | CLANG_WARN_INFINITE_RECURSION = YES; 669 | CLANG_WARN_INT_CONVERSION = YES; 670 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 671 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 672 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 673 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 674 | CLANG_WARN_STRICT_PROTOTYPES = YES; 675 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 676 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 677 | CLANG_WARN_UNREACHABLE_CODE = YES; 678 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 679 | CODE_SIGN_IDENTITY = "iPhone Developer"; 680 | CODE_SIGN_STYLE = Automatic; 681 | COPY_PHASE_STRIP = NO; 682 | CURRENT_PROJECT_VERSION = 1; 683 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 684 | DEFINES_MODULE = YES; 685 | DEVELOPMENT_TEAM = 55SVD8WGE3; 686 | DYLIB_COMPATIBILITY_VERSION = 1; 687 | DYLIB_CURRENT_VERSION = 1; 688 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 689 | ENABLE_NS_ASSERTIONS = NO; 690 | ENABLE_STRICT_OBJC_MSGSEND = YES; 691 | GCC_C_LANGUAGE_STANDARD = gnu11; 692 | GCC_NO_COMMON_BLOCKS = YES; 693 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 694 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 695 | GCC_WARN_UNDECLARED_SELECTOR = YES; 696 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 697 | GCC_WARN_UNUSED_FUNCTION = YES; 698 | GCC_WARN_UNUSED_VARIABLE = YES; 699 | INFOPLIST_FILE = "$(SRCROOT)/Supporting Files/Info.plist"; 700 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 701 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 702 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 703 | MTL_ENABLE_DEBUG_INFO = NO; 704 | PRODUCT_BUNDLE_IDENTIFIER = com.proxpero.ios.geodesy; 705 | PRODUCT_NAME = Geodesy; 706 | SDKROOT = iphoneos; 707 | SKIP_INSTALL = YES; 708 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 709 | SWIFT_VERSION = 5.0; 710 | TARGETED_DEVICE_FAMILY = "1,2"; 711 | VALIDATE_PRODUCT = YES; 712 | VERSIONING_SYSTEM = "apple-generic"; 713 | VERSION_INFO_PREFIX = ""; 714 | }; 715 | name = Release; 716 | }; 717 | 52AE14B11FA21AFE007D9E40 /* Debug */ = { 718 | isa = XCBuildConfiguration; 719 | buildSettings = { 720 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 721 | ALWAYS_SEARCH_USER_PATHS = NO; 722 | CLANG_ANALYZER_NONNULL = YES; 723 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 724 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 725 | CLANG_CXX_LIBRARY = "libc++"; 726 | CLANG_ENABLE_MODULES = YES; 727 | CLANG_ENABLE_OBJC_ARC = YES; 728 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 729 | CLANG_WARN_BOOL_CONVERSION = YES; 730 | CLANG_WARN_COMMA = YES; 731 | CLANG_WARN_CONSTANT_CONVERSION = YES; 732 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 733 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 734 | CLANG_WARN_EMPTY_BODY = YES; 735 | CLANG_WARN_ENUM_CONVERSION = YES; 736 | CLANG_WARN_INFINITE_RECURSION = YES; 737 | CLANG_WARN_INT_CONVERSION = YES; 738 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 739 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 740 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 741 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 742 | CLANG_WARN_STRICT_PROTOTYPES = YES; 743 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 744 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 745 | CLANG_WARN_UNREACHABLE_CODE = YES; 746 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 747 | CODE_SIGN_IDENTITY = "iPhone Developer"; 748 | CODE_SIGN_STYLE = Automatic; 749 | COPY_PHASE_STRIP = NO; 750 | DEBUG_INFORMATION_FORMAT = dwarf; 751 | DEVELOPMENT_TEAM = 55SVD8WGE3; 752 | ENABLE_STRICT_OBJC_MSGSEND = YES; 753 | ENABLE_TESTABILITY = YES; 754 | GCC_C_LANGUAGE_STANDARD = gnu11; 755 | GCC_DYNAMIC_NO_PIC = NO; 756 | GCC_NO_COMMON_BLOCKS = YES; 757 | GCC_OPTIMIZATION_LEVEL = 0; 758 | GCC_PREPROCESSOR_DEFINITIONS = ( 759 | "DEBUG=1", 760 | "$(inherited)", 761 | ); 762 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 763 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 764 | GCC_WARN_UNDECLARED_SELECTOR = YES; 765 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 766 | GCC_WARN_UNUSED_FUNCTION = YES; 767 | GCC_WARN_UNUSED_VARIABLE = YES; 768 | INFOPLIST_FILE = GeodesyTests/Info.plist; 769 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 770 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 771 | MTL_ENABLE_DEBUG_INFO = YES; 772 | ONLY_ACTIVE_ARCH = YES; 773 | PRODUCT_BUNDLE_IDENTIFIER = com.proxpero.GeodesyTests; 774 | PRODUCT_NAME = "$(TARGET_NAME)"; 775 | SDKROOT = iphoneos; 776 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 777 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 778 | SWIFT_VERSION = 5.0; 779 | TARGETED_DEVICE_FAMILY = "1,2"; 780 | }; 781 | name = Debug; 782 | }; 783 | 52AE14B21FA21AFE007D9E40 /* Release */ = { 784 | isa = XCBuildConfiguration; 785 | buildSettings = { 786 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 787 | ALWAYS_SEARCH_USER_PATHS = NO; 788 | CLANG_ANALYZER_NONNULL = YES; 789 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 790 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 791 | CLANG_CXX_LIBRARY = "libc++"; 792 | CLANG_ENABLE_MODULES = YES; 793 | CLANG_ENABLE_OBJC_ARC = YES; 794 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 795 | CLANG_WARN_BOOL_CONVERSION = YES; 796 | CLANG_WARN_COMMA = YES; 797 | CLANG_WARN_CONSTANT_CONVERSION = YES; 798 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 799 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 800 | CLANG_WARN_EMPTY_BODY = YES; 801 | CLANG_WARN_ENUM_CONVERSION = YES; 802 | CLANG_WARN_INFINITE_RECURSION = YES; 803 | CLANG_WARN_INT_CONVERSION = YES; 804 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 805 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 806 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 807 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 808 | CLANG_WARN_STRICT_PROTOTYPES = YES; 809 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 810 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 811 | CLANG_WARN_UNREACHABLE_CODE = YES; 812 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 813 | CODE_SIGN_IDENTITY = "iPhone Developer"; 814 | CODE_SIGN_STYLE = Automatic; 815 | COPY_PHASE_STRIP = NO; 816 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 817 | DEVELOPMENT_TEAM = 55SVD8WGE3; 818 | ENABLE_NS_ASSERTIONS = NO; 819 | ENABLE_STRICT_OBJC_MSGSEND = YES; 820 | GCC_C_LANGUAGE_STANDARD = gnu11; 821 | GCC_NO_COMMON_BLOCKS = YES; 822 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 823 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 824 | GCC_WARN_UNDECLARED_SELECTOR = YES; 825 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 826 | GCC_WARN_UNUSED_FUNCTION = YES; 827 | GCC_WARN_UNUSED_VARIABLE = YES; 828 | INFOPLIST_FILE = GeodesyTests/Info.plist; 829 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 830 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 831 | MTL_ENABLE_DEBUG_INFO = NO; 832 | PRODUCT_BUNDLE_IDENTIFIER = com.proxpero.GeodesyTests; 833 | PRODUCT_NAME = "$(TARGET_NAME)"; 834 | SDKROOT = iphoneos; 835 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 836 | SWIFT_VERSION = 5.0; 837 | TARGETED_DEVICE_FAMILY = "1,2"; 838 | VALIDATE_PRODUCT = YES; 839 | }; 840 | name = Release; 841 | }; 842 | 52AE14BE1FA21B45007D9E40 /* Debug */ = { 843 | isa = XCBuildConfiguration; 844 | buildSettings = { 845 | ALWAYS_SEARCH_USER_PATHS = NO; 846 | APPLICATION_EXTENSION_API_ONLY = YES; 847 | CLANG_ANALYZER_NONNULL = YES; 848 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 849 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 850 | CLANG_CXX_LIBRARY = "libc++"; 851 | CLANG_ENABLE_MODULES = YES; 852 | CLANG_ENABLE_OBJC_ARC = YES; 853 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 854 | CLANG_WARN_BOOL_CONVERSION = YES; 855 | CLANG_WARN_COMMA = YES; 856 | CLANG_WARN_CONSTANT_CONVERSION = YES; 857 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 858 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 859 | CLANG_WARN_EMPTY_BODY = YES; 860 | CLANG_WARN_ENUM_CONVERSION = YES; 861 | CLANG_WARN_INFINITE_RECURSION = YES; 862 | CLANG_WARN_INT_CONVERSION = YES; 863 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 864 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 865 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 866 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 867 | CLANG_WARN_STRICT_PROTOTYPES = YES; 868 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 869 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 870 | CLANG_WARN_UNREACHABLE_CODE = YES; 871 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 872 | CODE_SIGN_IDENTITY = ""; 873 | CODE_SIGN_STYLE = Automatic; 874 | COPY_PHASE_STRIP = NO; 875 | CURRENT_PROJECT_VERSION = 1; 876 | DEBUG_INFORMATION_FORMAT = dwarf; 877 | DEFINES_MODULE = YES; 878 | DEVELOPMENT_TEAM = 55SVD8WGE3; 879 | DYLIB_COMPATIBILITY_VERSION = 1; 880 | DYLIB_CURRENT_VERSION = 1; 881 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 882 | ENABLE_STRICT_OBJC_MSGSEND = YES; 883 | ENABLE_TESTABILITY = YES; 884 | GCC_C_LANGUAGE_STANDARD = gnu11; 885 | GCC_DYNAMIC_NO_PIC = NO; 886 | GCC_NO_COMMON_BLOCKS = YES; 887 | GCC_OPTIMIZATION_LEVEL = 0; 888 | GCC_PREPROCESSOR_DEFINITIONS = ( 889 | "DEBUG=1", 890 | "$(inherited)", 891 | ); 892 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 893 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 894 | GCC_WARN_UNDECLARED_SELECTOR = YES; 895 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 896 | GCC_WARN_UNUSED_FUNCTION = YES; 897 | GCC_WARN_UNUSED_VARIABLE = YES; 898 | INFOPLIST_FILE = "$(SRCROOT)/Supporting Files/Info.plist"; 899 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 900 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 901 | MTL_ENABLE_DEBUG_INFO = YES; 902 | ONLY_ACTIVE_ARCH = YES; 903 | PRODUCT_BUNDLE_IDENTIFIER = com.proxpero.watchOS.geodesy; 904 | PRODUCT_NAME = Geodesy; 905 | SDKROOT = watchos; 906 | SKIP_INSTALL = YES; 907 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 908 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 909 | SWIFT_VERSION = 5.0; 910 | TARGETED_DEVICE_FAMILY = 4; 911 | VERSIONING_SYSTEM = "apple-generic"; 912 | VERSION_INFO_PREFIX = ""; 913 | WATCHOS_DEPLOYMENT_TARGET = 4.0; 914 | }; 915 | name = Debug; 916 | }; 917 | 52AE14BF1FA21B45007D9E40 /* Release */ = { 918 | isa = XCBuildConfiguration; 919 | buildSettings = { 920 | ALWAYS_SEARCH_USER_PATHS = NO; 921 | APPLICATION_EXTENSION_API_ONLY = YES; 922 | CLANG_ANALYZER_NONNULL = YES; 923 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 924 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 925 | CLANG_CXX_LIBRARY = "libc++"; 926 | CLANG_ENABLE_MODULES = YES; 927 | CLANG_ENABLE_OBJC_ARC = YES; 928 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 929 | CLANG_WARN_BOOL_CONVERSION = YES; 930 | CLANG_WARN_COMMA = YES; 931 | CLANG_WARN_CONSTANT_CONVERSION = YES; 932 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 933 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 934 | CLANG_WARN_EMPTY_BODY = YES; 935 | CLANG_WARN_ENUM_CONVERSION = YES; 936 | CLANG_WARN_INFINITE_RECURSION = YES; 937 | CLANG_WARN_INT_CONVERSION = YES; 938 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 939 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 940 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 941 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 942 | CLANG_WARN_STRICT_PROTOTYPES = YES; 943 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 944 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 945 | CLANG_WARN_UNREACHABLE_CODE = YES; 946 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 947 | CODE_SIGN_IDENTITY = ""; 948 | CODE_SIGN_STYLE = Automatic; 949 | COPY_PHASE_STRIP = NO; 950 | CURRENT_PROJECT_VERSION = 1; 951 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 952 | DEFINES_MODULE = YES; 953 | DEVELOPMENT_TEAM = 55SVD8WGE3; 954 | DYLIB_COMPATIBILITY_VERSION = 1; 955 | DYLIB_CURRENT_VERSION = 1; 956 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 957 | ENABLE_NS_ASSERTIONS = NO; 958 | ENABLE_STRICT_OBJC_MSGSEND = YES; 959 | GCC_C_LANGUAGE_STANDARD = gnu11; 960 | GCC_NO_COMMON_BLOCKS = YES; 961 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 962 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 963 | GCC_WARN_UNDECLARED_SELECTOR = YES; 964 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 965 | GCC_WARN_UNUSED_FUNCTION = YES; 966 | GCC_WARN_UNUSED_VARIABLE = YES; 967 | INFOPLIST_FILE = "$(SRCROOT)/Supporting Files/Info.plist"; 968 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 969 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 970 | MTL_ENABLE_DEBUG_INFO = NO; 971 | PRODUCT_BUNDLE_IDENTIFIER = com.proxpero.watchOS.geodesy; 972 | PRODUCT_NAME = Geodesy; 973 | SDKROOT = watchos; 974 | SKIP_INSTALL = YES; 975 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 976 | SWIFT_VERSION = 5.0; 977 | TARGETED_DEVICE_FAMILY = 4; 978 | VALIDATE_PRODUCT = YES; 979 | VERSIONING_SYSTEM = "apple-generic"; 980 | VERSION_INFO_PREFIX = ""; 981 | WATCHOS_DEPLOYMENT_TARGET = 4.0; 982 | }; 983 | name = Release; 984 | }; 985 | 52AE14CB1FA21B7F007D9E40 /* Debug */ = { 986 | isa = XCBuildConfiguration; 987 | buildSettings = { 988 | ALWAYS_SEARCH_USER_PATHS = NO; 989 | CLANG_ANALYZER_NONNULL = YES; 990 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 991 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 992 | CLANG_CXX_LIBRARY = "libc++"; 993 | CLANG_ENABLE_MODULES = YES; 994 | CLANG_ENABLE_OBJC_ARC = YES; 995 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 996 | CLANG_WARN_BOOL_CONVERSION = YES; 997 | CLANG_WARN_COMMA = YES; 998 | CLANG_WARN_CONSTANT_CONVERSION = YES; 999 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1000 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1001 | CLANG_WARN_EMPTY_BODY = YES; 1002 | CLANG_WARN_ENUM_CONVERSION = YES; 1003 | CLANG_WARN_INFINITE_RECURSION = YES; 1004 | CLANG_WARN_INT_CONVERSION = YES; 1005 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1006 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1007 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1008 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1009 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1010 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1011 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 1012 | CLANG_WARN_UNREACHABLE_CODE = YES; 1013 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1014 | CODE_SIGN_IDENTITY = ""; 1015 | CODE_SIGN_STYLE = Automatic; 1016 | COPY_PHASE_STRIP = NO; 1017 | CURRENT_PROJECT_VERSION = 1; 1018 | DEBUG_INFORMATION_FORMAT = dwarf; 1019 | DEFINES_MODULE = YES; 1020 | DEVELOPMENT_TEAM = 55SVD8WGE3; 1021 | DYLIB_COMPATIBILITY_VERSION = 1; 1022 | DYLIB_CURRENT_VERSION = 1; 1023 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 1024 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1025 | ENABLE_TESTABILITY = YES; 1026 | GCC_C_LANGUAGE_STANDARD = gnu11; 1027 | GCC_DYNAMIC_NO_PIC = NO; 1028 | GCC_NO_COMMON_BLOCKS = YES; 1029 | GCC_OPTIMIZATION_LEVEL = 0; 1030 | GCC_PREPROCESSOR_DEFINITIONS = ( 1031 | "DEBUG=1", 1032 | "$(inherited)", 1033 | ); 1034 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1035 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1036 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1037 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1038 | GCC_WARN_UNUSED_FUNCTION = YES; 1039 | GCC_WARN_UNUSED_VARIABLE = YES; 1040 | INFOPLIST_FILE = "$(SRCROOT)/Supporting Files/Info.plist"; 1041 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 1042 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1043 | MTL_ENABLE_DEBUG_INFO = YES; 1044 | ONLY_ACTIVE_ARCH = YES; 1045 | PRODUCT_BUNDLE_IDENTIFIER = com.proxpero.tvOS.geodesy; 1046 | PRODUCT_NAME = Geodesy; 1047 | SDKROOT = appletvos; 1048 | SKIP_INSTALL = YES; 1049 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 1050 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 1051 | SWIFT_VERSION = 5.0; 1052 | TARGETED_DEVICE_FAMILY = 3; 1053 | TVOS_DEPLOYMENT_TARGET = 11.0; 1054 | VERSIONING_SYSTEM = "apple-generic"; 1055 | VERSION_INFO_PREFIX = ""; 1056 | }; 1057 | name = Debug; 1058 | }; 1059 | 52AE14CC1FA21B7F007D9E40 /* Release */ = { 1060 | isa = XCBuildConfiguration; 1061 | buildSettings = { 1062 | ALWAYS_SEARCH_USER_PATHS = NO; 1063 | CLANG_ANALYZER_NONNULL = YES; 1064 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 1065 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 1066 | CLANG_CXX_LIBRARY = "libc++"; 1067 | CLANG_ENABLE_MODULES = YES; 1068 | CLANG_ENABLE_OBJC_ARC = YES; 1069 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1070 | CLANG_WARN_BOOL_CONVERSION = YES; 1071 | CLANG_WARN_COMMA = YES; 1072 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1073 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1074 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1075 | CLANG_WARN_EMPTY_BODY = YES; 1076 | CLANG_WARN_ENUM_CONVERSION = YES; 1077 | CLANG_WARN_INFINITE_RECURSION = YES; 1078 | CLANG_WARN_INT_CONVERSION = YES; 1079 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1080 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1081 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1082 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1083 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1084 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1085 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 1086 | CLANG_WARN_UNREACHABLE_CODE = YES; 1087 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1088 | CODE_SIGN_IDENTITY = ""; 1089 | CODE_SIGN_STYLE = Automatic; 1090 | COPY_PHASE_STRIP = NO; 1091 | CURRENT_PROJECT_VERSION = 1; 1092 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1093 | DEFINES_MODULE = YES; 1094 | DEVELOPMENT_TEAM = 55SVD8WGE3; 1095 | DYLIB_COMPATIBILITY_VERSION = 1; 1096 | DYLIB_CURRENT_VERSION = 1; 1097 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 1098 | ENABLE_NS_ASSERTIONS = NO; 1099 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1100 | GCC_C_LANGUAGE_STANDARD = gnu11; 1101 | GCC_NO_COMMON_BLOCKS = YES; 1102 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1103 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1104 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1105 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1106 | GCC_WARN_UNUSED_FUNCTION = YES; 1107 | GCC_WARN_UNUSED_VARIABLE = YES; 1108 | INFOPLIST_FILE = "$(SRCROOT)/Supporting Files/Info.plist"; 1109 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 1110 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 1111 | MTL_ENABLE_DEBUG_INFO = NO; 1112 | PRODUCT_BUNDLE_IDENTIFIER = com.proxpero.tvOS.geodesy; 1113 | PRODUCT_NAME = Geodesy; 1114 | SDKROOT = appletvos; 1115 | SKIP_INSTALL = YES; 1116 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 1117 | SWIFT_VERSION = 5.0; 1118 | TARGETED_DEVICE_FAMILY = 3; 1119 | TVOS_DEPLOYMENT_TARGET = 11.0; 1120 | VALIDATE_PRODUCT = YES; 1121 | VERSIONING_SYSTEM = "apple-generic"; 1122 | VERSION_INFO_PREFIX = ""; 1123 | }; 1124 | name = Release; 1125 | }; 1126 | 52AE14D81FA21BAA007D9E40 /* Debug */ = { 1127 | isa = XCBuildConfiguration; 1128 | buildSettings = { 1129 | ALWAYS_SEARCH_USER_PATHS = NO; 1130 | CLANG_ANALYZER_NONNULL = YES; 1131 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 1132 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 1133 | CLANG_CXX_LIBRARY = "libc++"; 1134 | CLANG_ENABLE_MODULES = YES; 1135 | CLANG_ENABLE_OBJC_ARC = YES; 1136 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1137 | CLANG_WARN_BOOL_CONVERSION = YES; 1138 | CLANG_WARN_COMMA = YES; 1139 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1140 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1141 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1142 | CLANG_WARN_EMPTY_BODY = YES; 1143 | CLANG_WARN_ENUM_CONVERSION = YES; 1144 | CLANG_WARN_INFINITE_RECURSION = YES; 1145 | CLANG_WARN_INT_CONVERSION = YES; 1146 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1147 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1148 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1149 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1150 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1151 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1152 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 1153 | CLANG_WARN_UNREACHABLE_CODE = YES; 1154 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1155 | CODE_SIGN_IDENTITY = "Mac Developer"; 1156 | CODE_SIGN_STYLE = Automatic; 1157 | COMBINE_HIDPI_IMAGES = YES; 1158 | COPY_PHASE_STRIP = NO; 1159 | CURRENT_PROJECT_VERSION = 1; 1160 | DEBUG_INFORMATION_FORMAT = dwarf; 1161 | DEFINES_MODULE = YES; 1162 | DEVELOPMENT_TEAM = 55SVD8WGE3; 1163 | DYLIB_COMPATIBILITY_VERSION = 1; 1164 | DYLIB_CURRENT_VERSION = 1; 1165 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 1166 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1167 | ENABLE_TESTABILITY = YES; 1168 | FRAMEWORK_VERSION = A; 1169 | GCC_C_LANGUAGE_STANDARD = gnu11; 1170 | GCC_DYNAMIC_NO_PIC = NO; 1171 | GCC_NO_COMMON_BLOCKS = YES; 1172 | GCC_OPTIMIZATION_LEVEL = 0; 1173 | GCC_PREPROCESSOR_DEFINITIONS = ( 1174 | "DEBUG=1", 1175 | "$(inherited)", 1176 | ); 1177 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1178 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1179 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1180 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1181 | GCC_WARN_UNUSED_FUNCTION = YES; 1182 | GCC_WARN_UNUSED_VARIABLE = YES; 1183 | INFOPLIST_FILE = "$(SRCROOT)/Supporting Files/Info.plist"; 1184 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 1185 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; 1186 | MACOSX_DEPLOYMENT_TARGET = 10.13; 1187 | MTL_ENABLE_DEBUG_INFO = YES; 1188 | ONLY_ACTIVE_ARCH = YES; 1189 | PRODUCT_BUNDLE_IDENTIFIER = com.proxpero.macOS.geodesy; 1190 | PRODUCT_NAME = Geodesy; 1191 | SDKROOT = macosx; 1192 | SKIP_INSTALL = YES; 1193 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 1194 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 1195 | SWIFT_VERSION = 5.0; 1196 | VERSIONING_SYSTEM = "apple-generic"; 1197 | VERSION_INFO_PREFIX = ""; 1198 | }; 1199 | name = Debug; 1200 | }; 1201 | 52AE14D91FA21BAA007D9E40 /* Release */ = { 1202 | isa = XCBuildConfiguration; 1203 | buildSettings = { 1204 | ALWAYS_SEARCH_USER_PATHS = NO; 1205 | CLANG_ANALYZER_NONNULL = YES; 1206 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 1207 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 1208 | CLANG_CXX_LIBRARY = "libc++"; 1209 | CLANG_ENABLE_MODULES = YES; 1210 | CLANG_ENABLE_OBJC_ARC = YES; 1211 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1212 | CLANG_WARN_BOOL_CONVERSION = YES; 1213 | CLANG_WARN_COMMA = YES; 1214 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1215 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1216 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1217 | CLANG_WARN_EMPTY_BODY = YES; 1218 | CLANG_WARN_ENUM_CONVERSION = YES; 1219 | CLANG_WARN_INFINITE_RECURSION = YES; 1220 | CLANG_WARN_INT_CONVERSION = YES; 1221 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1222 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1223 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1224 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1225 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1226 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1227 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 1228 | CLANG_WARN_UNREACHABLE_CODE = YES; 1229 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1230 | CODE_SIGN_IDENTITY = "Mac Developer"; 1231 | CODE_SIGN_STYLE = Automatic; 1232 | COMBINE_HIDPI_IMAGES = YES; 1233 | COPY_PHASE_STRIP = NO; 1234 | CURRENT_PROJECT_VERSION = 1; 1235 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1236 | DEFINES_MODULE = YES; 1237 | DEVELOPMENT_TEAM = 55SVD8WGE3; 1238 | DYLIB_COMPATIBILITY_VERSION = 1; 1239 | DYLIB_CURRENT_VERSION = 1; 1240 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 1241 | ENABLE_NS_ASSERTIONS = NO; 1242 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1243 | FRAMEWORK_VERSION = A; 1244 | GCC_C_LANGUAGE_STANDARD = gnu11; 1245 | GCC_NO_COMMON_BLOCKS = YES; 1246 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1247 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1248 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1249 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1250 | GCC_WARN_UNUSED_FUNCTION = YES; 1251 | GCC_WARN_UNUSED_VARIABLE = YES; 1252 | INFOPLIST_FILE = "$(SRCROOT)/Supporting Files/Info.plist"; 1253 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 1254 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; 1255 | MACOSX_DEPLOYMENT_TARGET = 10.13; 1256 | MTL_ENABLE_DEBUG_INFO = NO; 1257 | PRODUCT_BUNDLE_IDENTIFIER = com.proxpero.macOS.geodesy; 1258 | PRODUCT_NAME = Geodesy; 1259 | SDKROOT = macosx; 1260 | SKIP_INSTALL = YES; 1261 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 1262 | SWIFT_VERSION = 5.0; 1263 | VERSIONING_SYSTEM = "apple-generic"; 1264 | VERSION_INFO_PREFIX = ""; 1265 | }; 1266 | name = Release; 1267 | }; 1268 | 52F8C7EF1FA22EE5002E75AC /* Debug */ = { 1269 | isa = XCBuildConfiguration; 1270 | buildSettings = { 1271 | ALWAYS_SEARCH_USER_PATHS = NO; 1272 | CLANG_ANALYZER_NONNULL = YES; 1273 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 1274 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 1275 | CLANG_CXX_LIBRARY = "libc++"; 1276 | CLANG_ENABLE_MODULES = YES; 1277 | CLANG_ENABLE_OBJC_ARC = YES; 1278 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1279 | CLANG_WARN_BOOL_CONVERSION = YES; 1280 | CLANG_WARN_COMMA = YES; 1281 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1282 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1283 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1284 | CLANG_WARN_EMPTY_BODY = YES; 1285 | CLANG_WARN_ENUM_CONVERSION = YES; 1286 | CLANG_WARN_INFINITE_RECURSION = YES; 1287 | CLANG_WARN_INT_CONVERSION = YES; 1288 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1289 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1290 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1291 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1292 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1293 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1294 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 1295 | CLANG_WARN_UNREACHABLE_CODE = YES; 1296 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1297 | CODE_SIGN_IDENTITY = "Mac Developer"; 1298 | CODE_SIGN_STYLE = Automatic; 1299 | COMBINE_HIDPI_IMAGES = YES; 1300 | COPY_PHASE_STRIP = NO; 1301 | DEBUG_INFORMATION_FORMAT = dwarf; 1302 | DEVELOPMENT_TEAM = 55SVD8WGE3; 1303 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1304 | ENABLE_TESTABILITY = YES; 1305 | GCC_C_LANGUAGE_STANDARD = gnu11; 1306 | GCC_DYNAMIC_NO_PIC = NO; 1307 | GCC_NO_COMMON_BLOCKS = YES; 1308 | GCC_OPTIMIZATION_LEVEL = 0; 1309 | GCC_PREPROCESSOR_DEFINITIONS = ( 1310 | "DEBUG=1", 1311 | "$(inherited)", 1312 | ); 1313 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1314 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1315 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1316 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1317 | GCC_WARN_UNUSED_FUNCTION = YES; 1318 | GCC_WARN_UNUSED_VARIABLE = YES; 1319 | INFOPLIST_FILE = GeodesyTests/Info.plist; 1320 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; 1321 | MACOSX_DEPLOYMENT_TARGET = 10.13; 1322 | MTL_ENABLE_DEBUG_INFO = YES; 1323 | ONLY_ACTIVE_ARCH = YES; 1324 | PRODUCT_BUNDLE_IDENTIFIER = "com.proxpero.GeodesyTests-macOS"; 1325 | PRODUCT_NAME = "$(TARGET_NAME)"; 1326 | SDKROOT = macosx; 1327 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 1328 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 1329 | SWIFT_VERSION = 5.0; 1330 | }; 1331 | name = Debug; 1332 | }; 1333 | 52F8C7F01FA22EE5002E75AC /* Release */ = { 1334 | isa = XCBuildConfiguration; 1335 | buildSettings = { 1336 | ALWAYS_SEARCH_USER_PATHS = NO; 1337 | CLANG_ANALYZER_NONNULL = YES; 1338 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 1339 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 1340 | CLANG_CXX_LIBRARY = "libc++"; 1341 | CLANG_ENABLE_MODULES = YES; 1342 | CLANG_ENABLE_OBJC_ARC = YES; 1343 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1344 | CLANG_WARN_BOOL_CONVERSION = YES; 1345 | CLANG_WARN_COMMA = YES; 1346 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1347 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1348 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 1349 | CLANG_WARN_EMPTY_BODY = YES; 1350 | CLANG_WARN_ENUM_CONVERSION = YES; 1351 | CLANG_WARN_INFINITE_RECURSION = YES; 1352 | CLANG_WARN_INT_CONVERSION = YES; 1353 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1354 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1355 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1356 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1357 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1358 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1359 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 1360 | CLANG_WARN_UNREACHABLE_CODE = YES; 1361 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1362 | CODE_SIGN_IDENTITY = "Mac Developer"; 1363 | CODE_SIGN_STYLE = Automatic; 1364 | COMBINE_HIDPI_IMAGES = YES; 1365 | COPY_PHASE_STRIP = NO; 1366 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1367 | DEVELOPMENT_TEAM = 55SVD8WGE3; 1368 | ENABLE_NS_ASSERTIONS = NO; 1369 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1370 | GCC_C_LANGUAGE_STANDARD = gnu11; 1371 | GCC_NO_COMMON_BLOCKS = YES; 1372 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1373 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1374 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1375 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1376 | GCC_WARN_UNUSED_FUNCTION = YES; 1377 | GCC_WARN_UNUSED_VARIABLE = YES; 1378 | INFOPLIST_FILE = GeodesyTests/Info.plist; 1379 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; 1380 | MACOSX_DEPLOYMENT_TARGET = 10.13; 1381 | MTL_ENABLE_DEBUG_INFO = NO; 1382 | PRODUCT_BUNDLE_IDENTIFIER = "com.proxpero.GeodesyTests-macOS"; 1383 | PRODUCT_NAME = "$(TARGET_NAME)"; 1384 | SDKROOT = macosx; 1385 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 1386 | SWIFT_VERSION = 5.0; 1387 | }; 1388 | name = Release; 1389 | }; 1390 | /* End XCBuildConfiguration section */ 1391 | 1392 | /* Begin XCConfigurationList section */ 1393 | 52AE14931FA21ABE007D9E40 /* Build configuration list for PBXProject "Geodesy" */ = { 1394 | isa = XCConfigurationList; 1395 | buildConfigurations = ( 1396 | 52AE14941FA21ABE007D9E40 /* Debug */, 1397 | 52AE14951FA21ABE007D9E40 /* Release */, 1398 | ); 1399 | defaultConfigurationIsVisible = 0; 1400 | defaultConfigurationName = Release; 1401 | }; 1402 | 52AE14AD1FA21AFE007D9E40 /* Build configuration list for PBXNativeTarget "Geodesy iOS" */ = { 1403 | isa = XCConfigurationList; 1404 | buildConfigurations = ( 1405 | 52AE14AE1FA21AFE007D9E40 /* Debug */, 1406 | 52AE14AF1FA21AFE007D9E40 /* Release */, 1407 | ); 1408 | defaultConfigurationIsVisible = 0; 1409 | defaultConfigurationName = Release; 1410 | }; 1411 | 52AE14B01FA21AFE007D9E40 /* Build configuration list for PBXNativeTarget "GeodesyTests iOS" */ = { 1412 | isa = XCConfigurationList; 1413 | buildConfigurations = ( 1414 | 52AE14B11FA21AFE007D9E40 /* Debug */, 1415 | 52AE14B21FA21AFE007D9E40 /* Release */, 1416 | ); 1417 | defaultConfigurationIsVisible = 0; 1418 | defaultConfigurationName = Release; 1419 | }; 1420 | 52AE14BD1FA21B45007D9E40 /* Build configuration list for PBXNativeTarget "Geodesy watchOS" */ = { 1421 | isa = XCConfigurationList; 1422 | buildConfigurations = ( 1423 | 52AE14BE1FA21B45007D9E40 /* Debug */, 1424 | 52AE14BF1FA21B45007D9E40 /* Release */, 1425 | ); 1426 | defaultConfigurationIsVisible = 0; 1427 | defaultConfigurationName = Release; 1428 | }; 1429 | 52AE14CA1FA21B7F007D9E40 /* Build configuration list for PBXNativeTarget "Geodesy tvOS" */ = { 1430 | isa = XCConfigurationList; 1431 | buildConfigurations = ( 1432 | 52AE14CB1FA21B7F007D9E40 /* Debug */, 1433 | 52AE14CC1FA21B7F007D9E40 /* Release */, 1434 | ); 1435 | defaultConfigurationIsVisible = 0; 1436 | defaultConfigurationName = Release; 1437 | }; 1438 | 52AE14D71FA21BAA007D9E40 /* Build configuration list for PBXNativeTarget "Geodesy macOS" */ = { 1439 | isa = XCConfigurationList; 1440 | buildConfigurations = ( 1441 | 52AE14D81FA21BAA007D9E40 /* Debug */, 1442 | 52AE14D91FA21BAA007D9E40 /* Release */, 1443 | ); 1444 | defaultConfigurationIsVisible = 0; 1445 | defaultConfigurationName = Release; 1446 | }; 1447 | 52F8C7EE1FA22EE5002E75AC /* Build configuration list for PBXNativeTarget "GeodesyTests macOS" */ = { 1448 | isa = XCConfigurationList; 1449 | buildConfigurations = ( 1450 | 52F8C7EF1FA22EE5002E75AC /* Debug */, 1451 | 52F8C7F01FA22EE5002E75AC /* Release */, 1452 | ); 1453 | defaultConfigurationIsVisible = 0; 1454 | defaultConfigurationName = Release; 1455 | }; 1456 | /* End XCConfigurationList section */ 1457 | }; 1458 | rootObject = 52AE14901FA21ABE007D9E40 /* Project object */; 1459 | } 1460 | --------------------------------------------------------------------------------