├── .gitignore ├── Example ├── Nominatim.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── Nominatim-Example.xcscheme ├── Nominatim.xcworkspace │ └── contents.xcworkspacedata ├── Nominatim │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── Nominatim.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── Nominatim │ │ ├── Info.plist │ │ ├── Nominatim-dummy.m │ │ ├── Nominatim-prefix.pch │ │ ├── Nominatim-umbrella.h │ │ ├── Nominatim.modulemap │ │ └── Nominatim.xcconfig │ │ ├── Pods-Nominatim_Example │ │ ├── Info.plist │ │ ├── Pods-Nominatim_Example-acknowledgements.markdown │ │ ├── Pods-Nominatim_Example-acknowledgements.plist │ │ ├── Pods-Nominatim_Example-dummy.m │ │ ├── Pods-Nominatim_Example-frameworks.sh │ │ ├── Pods-Nominatim_Example-resources.sh │ │ ├── Pods-Nominatim_Example-umbrella.h │ │ ├── Pods-Nominatim_Example.debug.xcconfig │ │ ├── Pods-Nominatim_Example.modulemap │ │ └── Pods-Nominatim_Example.release.xcconfig │ │ └── Pods-Nominatim_Tests │ │ ├── Info.plist │ │ ├── Pods-Nominatim_Tests-acknowledgements.markdown │ │ ├── Pods-Nominatim_Tests-acknowledgements.plist │ │ ├── Pods-Nominatim_Tests-dummy.m │ │ ├── Pods-Nominatim_Tests-frameworks.sh │ │ ├── Pods-Nominatim_Tests-resources.sh │ │ ├── Pods-Nominatim_Tests-umbrella.h │ │ ├── Pods-Nominatim_Tests.debug.xcconfig │ │ ├── Pods-Nominatim_Tests.modulemap │ │ └── Pods-Nominatim_Tests.release.xcconfig └── Tests │ ├── Info.plist │ └── Tests.swift ├── LICENSE ├── Nominatim.podspec ├── Package.swift ├── Pods ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ └── Nominatim.swift ├── README.md └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## macOS 6 | .DS_Store 7 | 8 | ## Build generated 9 | build/ 10 | DerivedData/ 11 | 12 | ## Various settings 13 | *.pbxuser 14 | !default.pbxuser 15 | *.mode1v3 16 | !default.mode1v3 17 | *.mode2v3 18 | !default.mode2v3 19 | *.perspectivev3 20 | !default.perspectivev3 21 | xcuserdata/ 22 | 23 | ## Other 24 | *.moved-aside 25 | *.xcuserstate 26 | 27 | ## Obj-C/Swift specific 28 | *.hmap 29 | *.ipa 30 | *.dSYM.zip 31 | *.dSYM 32 | 33 | ## Playgrounds 34 | timeline.xctimeline 35 | playground.xcworkspace 36 | 37 | # Swift Package Manager 38 | # 39 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 40 | # Packages/ 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://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 64 | 65 | fastlane/report.xml 66 | fastlane/Preview.html 67 | fastlane/screenshots 68 | fastlane/test_output 69 | -------------------------------------------------------------------------------- /Example/Nominatim.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 17A4C9288B77D2F2AC8DE667 /* Pods_Nominatim_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DE035EBB7B6FF993AF666BA5 /* Pods_Nominatim_Tests.framework */; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 13 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 14 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 15 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 16 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 17 | EAEC1E9A46738BD5DAC933CA /* Pods_Nominatim_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 685C673C0C8BF69670620675 /* Pods_Nominatim_Example.framework */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 26 | remoteInfo = Nominatim; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 54FF1DDA46D17ED4F7200A93 /* Pods-Nominatim_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Nominatim_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Nominatim_Example/Pods-Nominatim_Example.debug.xcconfig"; sourceTree = ""; }; 32 | 5E1CEE7301ECE6734A1D2C60 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 33 | 607FACD01AFB9204008FA782 /* Nominatim_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Nominatim_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 35 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 36 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 37 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 38 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 39 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 40 | 607FACE51AFB9204008FA782 /* Nominatim_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Nominatim_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 42 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 43 | 685C673C0C8BF69670620675 /* Pods_Nominatim_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Nominatim_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 72A031B901F563E186AACD13 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 45 | AC3B7A90DF74578918B8FFE7 /* Pods-Nominatim_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Nominatim_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-Nominatim_Tests/Pods-Nominatim_Tests.release.xcconfig"; sourceTree = ""; }; 46 | CD78D2C6B535B7D41B6F029D /* Nominatim.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Nominatim.podspec; path = ../Nominatim.podspec; sourceTree = ""; }; 47 | D378EA91C86D8A7F9F931AE0 /* Pods-Nominatim_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Nominatim_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-Nominatim_Example/Pods-Nominatim_Example.release.xcconfig"; sourceTree = ""; }; 48 | D648A3BE3224622DA06740FB /* Pods-Nominatim_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Nominatim_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Nominatim_Tests/Pods-Nominatim_Tests.debug.xcconfig"; sourceTree = ""; }; 49 | DE035EBB7B6FF993AF666BA5 /* Pods_Nominatim_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Nominatim_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | EAEC1E9A46738BD5DAC933CA /* Pods_Nominatim_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | 17A4C9288B77D2F2AC8DE667 /* Pods_Nominatim_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 1C97B907532A118715E19AF4 /* Pods */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | 54FF1DDA46D17ED4F7200A93 /* Pods-Nominatim_Example.debug.xcconfig */, 76 | D378EA91C86D8A7F9F931AE0 /* Pods-Nominatim_Example.release.xcconfig */, 77 | D648A3BE3224622DA06740FB /* Pods-Nominatim_Tests.debug.xcconfig */, 78 | AC3B7A90DF74578918B8FFE7 /* Pods-Nominatim_Tests.release.xcconfig */, 79 | ); 80 | name = Pods; 81 | sourceTree = ""; 82 | }; 83 | 607FACC71AFB9204008FA782 = { 84 | isa = PBXGroup; 85 | children = ( 86 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 87 | 607FACD21AFB9204008FA782 /* Example for Nominatim */, 88 | 607FACE81AFB9204008FA782 /* Tests */, 89 | 607FACD11AFB9204008FA782 /* Products */, 90 | 1C97B907532A118715E19AF4 /* Pods */, 91 | D783A53AAA296C6414F75C34 /* Frameworks */, 92 | ); 93 | sourceTree = ""; 94 | }; 95 | 607FACD11AFB9204008FA782 /* Products */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 607FACD01AFB9204008FA782 /* Nominatim_Example.app */, 99 | 607FACE51AFB9204008FA782 /* Nominatim_Tests.xctest */, 100 | ); 101 | name = Products; 102 | sourceTree = ""; 103 | }; 104 | 607FACD21AFB9204008FA782 /* Example for Nominatim */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 108 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 109 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 110 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 111 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 112 | 607FACD31AFB9204008FA782 /* Supporting Files */, 113 | ); 114 | name = "Example for Nominatim"; 115 | path = Nominatim; 116 | sourceTree = ""; 117 | }; 118 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 607FACD41AFB9204008FA782 /* Info.plist */, 122 | ); 123 | name = "Supporting Files"; 124 | sourceTree = ""; 125 | }; 126 | 607FACE81AFB9204008FA782 /* Tests */ = { 127 | isa = PBXGroup; 128 | children = ( 129 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 130 | 607FACE91AFB9204008FA782 /* Supporting Files */, 131 | ); 132 | path = Tests; 133 | sourceTree = ""; 134 | }; 135 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | 607FACEA1AFB9204008FA782 /* Info.plist */, 139 | ); 140 | name = "Supporting Files"; 141 | sourceTree = ""; 142 | }; 143 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | CD78D2C6B535B7D41B6F029D /* Nominatim.podspec */, 147 | 72A031B901F563E186AACD13 /* README.md */, 148 | 5E1CEE7301ECE6734A1D2C60 /* LICENSE */, 149 | ); 150 | name = "Podspec Metadata"; 151 | sourceTree = ""; 152 | }; 153 | D783A53AAA296C6414F75C34 /* Frameworks */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | 685C673C0C8BF69670620675 /* Pods_Nominatim_Example.framework */, 157 | DE035EBB7B6FF993AF666BA5 /* Pods_Nominatim_Tests.framework */, 158 | ); 159 | name = Frameworks; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* Nominatim_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Nominatim_Example" */; 168 | buildPhases = ( 169 | 2182F71571D1C93A10F54DB7 /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | 86EC1334F1E950E22A6E96CF /* [CP] Embed Pods Frameworks */, 174 | CD303FBAE37D4993CB1855FE /* [CP] Copy Pods Resources */, 175 | ); 176 | buildRules = ( 177 | ); 178 | dependencies = ( 179 | ); 180 | name = Nominatim_Example; 181 | productName = Nominatim; 182 | productReference = 607FACD01AFB9204008FA782 /* Nominatim_Example.app */; 183 | productType = "com.apple.product-type.application"; 184 | }; 185 | 607FACE41AFB9204008FA782 /* Nominatim_Tests */ = { 186 | isa = PBXNativeTarget; 187 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Nominatim_Tests" */; 188 | buildPhases = ( 189 | 1BD922D0A278C64A03CACADE /* [CP] Check Pods Manifest.lock */, 190 | 607FACE11AFB9204008FA782 /* Sources */, 191 | 607FACE21AFB9204008FA782 /* Frameworks */, 192 | 607FACE31AFB9204008FA782 /* Resources */, 193 | 2AEE2C5517D7202EBCB59AEC /* [CP] Embed Pods Frameworks */, 194 | 2CA475F273D91D5E3CE1761C /* [CP] Copy Pods Resources */, 195 | ); 196 | buildRules = ( 197 | ); 198 | dependencies = ( 199 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 200 | ); 201 | name = Nominatim_Tests; 202 | productName = Tests; 203 | productReference = 607FACE51AFB9204008FA782 /* Nominatim_Tests.xctest */; 204 | productType = "com.apple.product-type.bundle.unit-test"; 205 | }; 206 | /* End PBXNativeTarget section */ 207 | 208 | /* Begin PBXProject section */ 209 | 607FACC81AFB9204008FA782 /* Project object */ = { 210 | isa = PBXProject; 211 | attributes = { 212 | LastSwiftUpdateCheck = 0830; 213 | LastUpgradeCheck = 0830; 214 | ORGANIZATIONNAME = CocoaPods; 215 | TargetAttributes = { 216 | 607FACCF1AFB9204008FA782 = { 217 | CreatedOnToolsVersion = 6.3.1; 218 | DevelopmentTeam = A4EYM2SZG7; 219 | LastSwiftMigration = 0900; 220 | }; 221 | 607FACE41AFB9204008FA782 = { 222 | CreatedOnToolsVersion = 6.3.1; 223 | LastSwiftMigration = 0900; 224 | TestTargetID = 607FACCF1AFB9204008FA782; 225 | }; 226 | }; 227 | }; 228 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "Nominatim" */; 229 | compatibilityVersion = "Xcode 3.2"; 230 | developmentRegion = English; 231 | hasScannedForEncodings = 0; 232 | knownRegions = ( 233 | en, 234 | Base, 235 | ); 236 | mainGroup = 607FACC71AFB9204008FA782; 237 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 238 | projectDirPath = ""; 239 | projectRoot = ""; 240 | targets = ( 241 | 607FACCF1AFB9204008FA782 /* Nominatim_Example */, 242 | 607FACE41AFB9204008FA782 /* Nominatim_Tests */, 243 | ); 244 | }; 245 | /* End PBXProject section */ 246 | 247 | /* Begin PBXResourcesBuildPhase section */ 248 | 607FACCE1AFB9204008FA782 /* Resources */ = { 249 | isa = PBXResourcesBuildPhase; 250 | buildActionMask = 2147483647; 251 | files = ( 252 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 253 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 254 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 255 | ); 256 | runOnlyForDeploymentPostprocessing = 0; 257 | }; 258 | 607FACE31AFB9204008FA782 /* Resources */ = { 259 | isa = PBXResourcesBuildPhase; 260 | buildActionMask = 2147483647; 261 | files = ( 262 | ); 263 | runOnlyForDeploymentPostprocessing = 0; 264 | }; 265 | /* End PBXResourcesBuildPhase section */ 266 | 267 | /* Begin PBXShellScriptBuildPhase section */ 268 | 1BD922D0A278C64A03CACADE /* [CP] Check Pods Manifest.lock */ = { 269 | isa = PBXShellScriptBuildPhase; 270 | buildActionMask = 2147483647; 271 | files = ( 272 | ); 273 | inputPaths = ( 274 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 275 | "${PODS_ROOT}/Manifest.lock", 276 | ); 277 | name = "[CP] Check Pods Manifest.lock"; 278 | outputPaths = ( 279 | "$(DERIVED_FILE_DIR)/Pods-Nominatim_Tests-checkManifestLockResult.txt", 280 | ); 281 | runOnlyForDeploymentPostprocessing = 0; 282 | shellPath = /bin/sh; 283 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 284 | showEnvVarsInLog = 0; 285 | }; 286 | 2182F71571D1C93A10F54DB7 /* [CP] Check Pods Manifest.lock */ = { 287 | isa = PBXShellScriptBuildPhase; 288 | buildActionMask = 2147483647; 289 | files = ( 290 | ); 291 | inputPaths = ( 292 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 293 | "${PODS_ROOT}/Manifest.lock", 294 | ); 295 | name = "[CP] Check Pods Manifest.lock"; 296 | outputPaths = ( 297 | "$(DERIVED_FILE_DIR)/Pods-Nominatim_Example-checkManifestLockResult.txt", 298 | ); 299 | runOnlyForDeploymentPostprocessing = 0; 300 | shellPath = /bin/sh; 301 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 302 | showEnvVarsInLog = 0; 303 | }; 304 | 2AEE2C5517D7202EBCB59AEC /* [CP] Embed Pods Frameworks */ = { 305 | isa = PBXShellScriptBuildPhase; 306 | buildActionMask = 2147483647; 307 | files = ( 308 | ); 309 | inputPaths = ( 310 | ); 311 | name = "[CP] Embed Pods Frameworks"; 312 | outputPaths = ( 313 | ); 314 | runOnlyForDeploymentPostprocessing = 0; 315 | shellPath = /bin/sh; 316 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Nominatim_Tests/Pods-Nominatim_Tests-frameworks.sh\"\n"; 317 | showEnvVarsInLog = 0; 318 | }; 319 | 2CA475F273D91D5E3CE1761C /* [CP] Copy Pods Resources */ = { 320 | isa = PBXShellScriptBuildPhase; 321 | buildActionMask = 2147483647; 322 | files = ( 323 | ); 324 | inputPaths = ( 325 | ); 326 | name = "[CP] Copy Pods Resources"; 327 | outputPaths = ( 328 | ); 329 | runOnlyForDeploymentPostprocessing = 0; 330 | shellPath = /bin/sh; 331 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Nominatim_Tests/Pods-Nominatim_Tests-resources.sh\"\n"; 332 | showEnvVarsInLog = 0; 333 | }; 334 | 86EC1334F1E950E22A6E96CF /* [CP] Embed Pods Frameworks */ = { 335 | isa = PBXShellScriptBuildPhase; 336 | buildActionMask = 2147483647; 337 | files = ( 338 | ); 339 | inputPaths = ( 340 | "${SRCROOT}/Pods/Target Support Files/Pods-Nominatim_Example/Pods-Nominatim_Example-frameworks.sh", 341 | "${BUILT_PRODUCTS_DIR}/Nominatim/Nominatim.framework", 342 | ); 343 | name = "[CP] Embed Pods Frameworks"; 344 | outputPaths = ( 345 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Nominatim.framework", 346 | ); 347 | runOnlyForDeploymentPostprocessing = 0; 348 | shellPath = /bin/sh; 349 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Nominatim_Example/Pods-Nominatim_Example-frameworks.sh\"\n"; 350 | showEnvVarsInLog = 0; 351 | }; 352 | CD303FBAE37D4993CB1855FE /* [CP] Copy Pods Resources */ = { 353 | isa = PBXShellScriptBuildPhase; 354 | buildActionMask = 2147483647; 355 | files = ( 356 | ); 357 | inputPaths = ( 358 | ); 359 | name = "[CP] Copy Pods Resources"; 360 | outputPaths = ( 361 | ); 362 | runOnlyForDeploymentPostprocessing = 0; 363 | shellPath = /bin/sh; 364 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Nominatim_Example/Pods-Nominatim_Example-resources.sh\"\n"; 365 | showEnvVarsInLog = 0; 366 | }; 367 | /* End PBXShellScriptBuildPhase section */ 368 | 369 | /* Begin PBXSourcesBuildPhase section */ 370 | 607FACCC1AFB9204008FA782 /* Sources */ = { 371 | isa = PBXSourcesBuildPhase; 372 | buildActionMask = 2147483647; 373 | files = ( 374 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 375 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 376 | ); 377 | runOnlyForDeploymentPostprocessing = 0; 378 | }; 379 | 607FACE11AFB9204008FA782 /* Sources */ = { 380 | isa = PBXSourcesBuildPhase; 381 | buildActionMask = 2147483647; 382 | files = ( 383 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 384 | ); 385 | runOnlyForDeploymentPostprocessing = 0; 386 | }; 387 | /* End PBXSourcesBuildPhase section */ 388 | 389 | /* Begin PBXTargetDependency section */ 390 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 391 | isa = PBXTargetDependency; 392 | target = 607FACCF1AFB9204008FA782 /* Nominatim_Example */; 393 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 394 | }; 395 | /* End PBXTargetDependency section */ 396 | 397 | /* Begin PBXVariantGroup section */ 398 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 399 | isa = PBXVariantGroup; 400 | children = ( 401 | 607FACDA1AFB9204008FA782 /* Base */, 402 | ); 403 | name = Main.storyboard; 404 | sourceTree = ""; 405 | }; 406 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 407 | isa = PBXVariantGroup; 408 | children = ( 409 | 607FACDF1AFB9204008FA782 /* Base */, 410 | ); 411 | name = LaunchScreen.xib; 412 | sourceTree = ""; 413 | }; 414 | /* End PBXVariantGroup section */ 415 | 416 | /* Begin XCBuildConfiguration section */ 417 | 607FACED1AFB9204008FA782 /* Debug */ = { 418 | isa = XCBuildConfiguration; 419 | buildSettings = { 420 | ALWAYS_SEARCH_USER_PATHS = NO; 421 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 422 | CLANG_CXX_LIBRARY = "libc++"; 423 | CLANG_ENABLE_MODULES = YES; 424 | CLANG_ENABLE_OBJC_ARC = YES; 425 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 426 | CLANG_WARN_BOOL_CONVERSION = YES; 427 | CLANG_WARN_COMMA = YES; 428 | CLANG_WARN_CONSTANT_CONVERSION = YES; 429 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 430 | CLANG_WARN_EMPTY_BODY = YES; 431 | CLANG_WARN_ENUM_CONVERSION = YES; 432 | CLANG_WARN_INFINITE_RECURSION = YES; 433 | CLANG_WARN_INT_CONVERSION = YES; 434 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 435 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 436 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 437 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 438 | CLANG_WARN_STRICT_PROTOTYPES = YES; 439 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 440 | CLANG_WARN_UNREACHABLE_CODE = YES; 441 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 442 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 443 | COPY_PHASE_STRIP = NO; 444 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 445 | ENABLE_STRICT_OBJC_MSGSEND = YES; 446 | ENABLE_TESTABILITY = YES; 447 | GCC_C_LANGUAGE_STANDARD = gnu99; 448 | GCC_DYNAMIC_NO_PIC = NO; 449 | GCC_NO_COMMON_BLOCKS = YES; 450 | GCC_OPTIMIZATION_LEVEL = 0; 451 | GCC_PREPROCESSOR_DEFINITIONS = ( 452 | "DEBUG=1", 453 | "$(inherited)", 454 | ); 455 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 456 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 457 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 458 | GCC_WARN_UNDECLARED_SELECTOR = YES; 459 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 460 | GCC_WARN_UNUSED_FUNCTION = YES; 461 | GCC_WARN_UNUSED_VARIABLE = YES; 462 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 463 | MTL_ENABLE_DEBUG_INFO = YES; 464 | ONLY_ACTIVE_ARCH = YES; 465 | SDKROOT = iphoneos; 466 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 467 | }; 468 | name = Debug; 469 | }; 470 | 607FACEE1AFB9204008FA782 /* Release */ = { 471 | isa = XCBuildConfiguration; 472 | buildSettings = { 473 | ALWAYS_SEARCH_USER_PATHS = NO; 474 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 475 | CLANG_CXX_LIBRARY = "libc++"; 476 | CLANG_ENABLE_MODULES = YES; 477 | CLANG_ENABLE_OBJC_ARC = YES; 478 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 479 | CLANG_WARN_BOOL_CONVERSION = YES; 480 | CLANG_WARN_COMMA = YES; 481 | CLANG_WARN_CONSTANT_CONVERSION = YES; 482 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 483 | CLANG_WARN_EMPTY_BODY = YES; 484 | CLANG_WARN_ENUM_CONVERSION = YES; 485 | CLANG_WARN_INFINITE_RECURSION = YES; 486 | CLANG_WARN_INT_CONVERSION = YES; 487 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 488 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 489 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 490 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 491 | CLANG_WARN_STRICT_PROTOTYPES = YES; 492 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 493 | CLANG_WARN_UNREACHABLE_CODE = YES; 494 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 495 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 496 | COPY_PHASE_STRIP = NO; 497 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 498 | ENABLE_NS_ASSERTIONS = NO; 499 | ENABLE_STRICT_OBJC_MSGSEND = YES; 500 | GCC_C_LANGUAGE_STANDARD = gnu99; 501 | GCC_NO_COMMON_BLOCKS = YES; 502 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 503 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 504 | GCC_WARN_UNDECLARED_SELECTOR = YES; 505 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 506 | GCC_WARN_UNUSED_FUNCTION = YES; 507 | GCC_WARN_UNUSED_VARIABLE = YES; 508 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 509 | MTL_ENABLE_DEBUG_INFO = NO; 510 | SDKROOT = iphoneos; 511 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 512 | VALIDATE_PRODUCT = YES; 513 | }; 514 | name = Release; 515 | }; 516 | 607FACF01AFB9204008FA782 /* Debug */ = { 517 | isa = XCBuildConfiguration; 518 | baseConfigurationReference = 54FF1DDA46D17ED4F7200A93 /* Pods-Nominatim_Example.debug.xcconfig */; 519 | buildSettings = { 520 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 521 | DEVELOPMENT_TEAM = A4EYM2SZG7; 522 | INFOPLIST_FILE = Nominatim/Info.plist; 523 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 524 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 525 | MODULE_NAME = ExampleApp; 526 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 527 | PRODUCT_NAME = "$(TARGET_NAME)"; 528 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 529 | SWIFT_VERSION = 4.0; 530 | }; 531 | name = Debug; 532 | }; 533 | 607FACF11AFB9204008FA782 /* Release */ = { 534 | isa = XCBuildConfiguration; 535 | baseConfigurationReference = D378EA91C86D8A7F9F931AE0 /* Pods-Nominatim_Example.release.xcconfig */; 536 | buildSettings = { 537 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 538 | DEVELOPMENT_TEAM = A4EYM2SZG7; 539 | INFOPLIST_FILE = Nominatim/Info.plist; 540 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 541 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 542 | MODULE_NAME = ExampleApp; 543 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 544 | PRODUCT_NAME = "$(TARGET_NAME)"; 545 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 546 | SWIFT_VERSION = 4.0; 547 | }; 548 | name = Release; 549 | }; 550 | 607FACF31AFB9204008FA782 /* Debug */ = { 551 | isa = XCBuildConfiguration; 552 | baseConfigurationReference = D648A3BE3224622DA06740FB /* Pods-Nominatim_Tests.debug.xcconfig */; 553 | buildSettings = { 554 | FRAMEWORK_SEARCH_PATHS = ( 555 | "$(SDKROOT)/Developer/Library/Frameworks", 556 | "$(inherited)", 557 | ); 558 | GCC_PREPROCESSOR_DEFINITIONS = ( 559 | "DEBUG=1", 560 | "$(inherited)", 561 | ); 562 | INFOPLIST_FILE = Tests/Info.plist; 563 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 564 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 565 | PRODUCT_NAME = "$(TARGET_NAME)"; 566 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 567 | SWIFT_VERSION = 4.0; 568 | }; 569 | name = Debug; 570 | }; 571 | 607FACF41AFB9204008FA782 /* Release */ = { 572 | isa = XCBuildConfiguration; 573 | baseConfigurationReference = AC3B7A90DF74578918B8FFE7 /* Pods-Nominatim_Tests.release.xcconfig */; 574 | buildSettings = { 575 | FRAMEWORK_SEARCH_PATHS = ( 576 | "$(SDKROOT)/Developer/Library/Frameworks", 577 | "$(inherited)", 578 | ); 579 | INFOPLIST_FILE = Tests/Info.plist; 580 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 581 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 582 | PRODUCT_NAME = "$(TARGET_NAME)"; 583 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 584 | SWIFT_VERSION = 4.0; 585 | }; 586 | name = Release; 587 | }; 588 | /* End XCBuildConfiguration section */ 589 | 590 | /* Begin XCConfigurationList section */ 591 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "Nominatim" */ = { 592 | isa = XCConfigurationList; 593 | buildConfigurations = ( 594 | 607FACED1AFB9204008FA782 /* Debug */, 595 | 607FACEE1AFB9204008FA782 /* Release */, 596 | ); 597 | defaultConfigurationIsVisible = 0; 598 | defaultConfigurationName = Release; 599 | }; 600 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Nominatim_Example" */ = { 601 | isa = XCConfigurationList; 602 | buildConfigurations = ( 603 | 607FACF01AFB9204008FA782 /* Debug */, 604 | 607FACF11AFB9204008FA782 /* Release */, 605 | ); 606 | defaultConfigurationIsVisible = 0; 607 | defaultConfigurationName = Release; 608 | }; 609 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "Nominatim_Tests" */ = { 610 | isa = XCConfigurationList; 611 | buildConfigurations = ( 612 | 607FACF31AFB9204008FA782 /* Debug */, 613 | 607FACF41AFB9204008FA782 /* Release */, 614 | ); 615 | defaultConfigurationIsVisible = 0; 616 | defaultConfigurationName = Release; 617 | }; 618 | /* End XCConfigurationList section */ 619 | }; 620 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 621 | } 622 | -------------------------------------------------------------------------------- /Example/Nominatim.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Nominatim.xcodeproj/xcshareddata/xcschemes/Nominatim-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 48 | 54 | 55 | 56 | 57 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 80 | 82 | 88 | 89 | 90 | 91 | 92 | 93 | 99 | 101 | 107 | 108 | 109 | 110 | 112 | 113 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /Example/Nominatim.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/Nominatim/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // Nominatim 4 | // 5 | // Created by caloon on 12/21/2017. 6 | // Copyright (c) 2017 caloon. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/Nominatim/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/Nominatim/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Example/Nominatim/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Example/Nominatim/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/Nominatim/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // Nominatim 4 | // 5 | // Created by caloon on 12/21/2017. 6 | // Copyright (c) 2017 caloon. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import Nominatim 11 | 12 | class ViewController: UIViewController { 13 | 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | 17 | 18 | // Search for Addresses 19 | Nominatim.getLocation(fromAddress: "Stephansplatz, 1010 Vienna, Austria", completion: {(location) -> Void in 20 | 21 | if location != nil { 22 | print("Geolocation of Stephansplatz, 1010 Vienna, Austria: " + "lat=" + location!.latitude + " long=" + location!.longitude) 23 | } 24 | }) 25 | 26 | // Search for Landmarks 27 | Nominatim.getLocation(fromAddress: "Schloss Neuschwanstein", completion: {(location) -> Void in 28 | 29 | if location != nil { 30 | print("Geolocation of Schloss Neuschwanstein: " + "lat=" + location!.latitude + " long=" + location!.longitude) 31 | } 32 | 33 | }) 34 | 35 | // Search with Latitude and Longitude 36 | Nominatim.getLocation(fromLatitude: "55.6867243", longitude: "12.5700724", completion: {(error, location) -> Void in 37 | 38 | if location != nil { 39 | print("City for geolocation 55.6867243/12.5700724: " + location!.city!) 40 | } 41 | }) 42 | 43 | } 44 | } 45 | 46 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'Nominatim_Example' do 4 | pod 'Nominatim', :path => '../' 5 | 6 | target 'Nominatim_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Nominatim (0.3.0) 3 | 4 | DEPENDENCIES: 5 | - Nominatim (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | Nominatim: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | Nominatim: 1fe448b604d57429dd210ac87f883d19343e3e27 13 | 14 | PODFILE CHECKSUM: 0e123bf565f98aadd14265bf1f89514fad3a1e8e 15 | 16 | COCOAPODS: 1.3.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/Nominatim.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Nominatim", 3 | "version": "0.3.0", 4 | "summary": "A Swift wrapper for (reverse) geocoding of OpenStreetMap data", 5 | "description": "Use NominatimKit to access OpenStreetMaps and the free Nominatim API to gather location data for a specific latitude, address or landmark.", 6 | "homepage": "https://github.com/caloon/NominatimKit", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "caloon": "me@josefmoser.de" 13 | }, 14 | "source": { 15 | "git": "https://github.com/caloon/NominatimKit.git", 16 | "tag": "0.3.0" 17 | }, 18 | "social_media_url": "https://twitter.com/josef_moser", 19 | "platforms": { 20 | "ios": "9.3" 21 | }, 22 | "source_files": "Pods/Classes/Nominatim.swift" 23 | } 24 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Nominatim (0.3.0) 3 | 4 | DEPENDENCIES: 5 | - Nominatim (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | Nominatim: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | Nominatim: 1fe448b604d57429dd210ac87f883d19343e3e27 13 | 14 | PODFILE CHECKSUM: 0e123bf565f98aadd14265bf1f89514fad3a1e8e 15 | 16 | COCOAPODS: 1.3.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 0858A7E5BD1F18DFBE3317C458E40F02 /* Nominatim-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 39D715E883EF9F5EC579CB8E208572E4 /* Nominatim-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 0DA8D3B4447461773622B11823C53428 /* Pods-Nominatim_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 83579F4564F3B2841108A10D7E5D926D /* Pods-Nominatim_Tests-dummy.m */; }; 12 | 1E8CEE84859AE7A321041B1C062E708A /* Pods-Nominatim_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C55A1C3ED414B6C0DD76FEDCFB80E20A /* Pods-Nominatim_Example-dummy.m */; }; 13 | 509289FC9B0FBDB91FFBDB93E60E5F78 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 14 | 8669D1E689469F18FF54C256685EE719 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 15 | A343791BF25ECF33BE38B2EE29A73711 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 16 | BB97A553F8811D77A3249F1B37479D99 /* Pods-Nominatim_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = FE8CE18F8EA5239AC699D02C7A64D1FE /* Pods-Nominatim_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | C39BD2D88ABBFB8EA98A303B62B231D0 /* Nominatim-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = CB6BA2AB236DC150A6BEFE1A62EAFE4A /* Nominatim-dummy.m */; }; 18 | CFDA14698A72DA6FAC0A9C4C74621B08 /* Pods-Nominatim_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 822DF516500EED0D31C65AF9404E16DC /* Pods-Nominatim_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 19 | E9A64771E8B850D705282B06F8DD1CEA /* Nominatim.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4C93912551255FC0485E55F9F3A4CB1 /* Nominatim.swift */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | A61A3A47E4DDDB8242EB1F0961F73308 /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = 6F62BC4D5577D9F8396A47568C72BB57; 28 | remoteInfo = Nominatim; 29 | }; 30 | /* End PBXContainerItemProxy section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 0BFF9A3C7BEE731A5CBF611FC5F836CA /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 34 | 149AA7617A7EB215DB65658673806B42 /* Pods-Nominatim_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Nominatim_Example.debug.xcconfig"; sourceTree = ""; }; 35 | 1D7D8BC53B3D3080BD0D4696B5D57269 /* Pods-Nominatim_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-Nominatim_Tests.modulemap"; sourceTree = ""; }; 36 | 2CED22D62C18CABE4AFBCA68578B1E1D /* Pods-Nominatim_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Nominatim_Tests-frameworks.sh"; sourceTree = ""; }; 37 | 36D17E2AA4CE0489EF54CE941E9DED95 /* Pods-Nominatim_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-Nominatim_Example.modulemap"; sourceTree = ""; }; 38 | 39D715E883EF9F5EC579CB8E208572E4 /* Nominatim-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Nominatim-umbrella.h"; sourceTree = ""; }; 39 | 42BA71296FF7933DD8C10E1001E2035A /* Pods-Nominatim_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Nominatim_Tests-acknowledgements.plist"; sourceTree = ""; }; 40 | 4A8B8B932E94DCEED26636AD5B94A9C8 /* Pods-Nominatim_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Nominatim_Tests-resources.sh"; sourceTree = ""; }; 41 | 58B8B4CFC37BCE2D1F6FEA02E1BD3619 /* Pods-Nominatim_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Nominatim_Example-frameworks.sh"; sourceTree = ""; }; 42 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 43 | 7A1D799FDC7764EBF01FB92E73169756 /* Nominatim-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Nominatim-prefix.pch"; sourceTree = ""; }; 44 | 822DF516500EED0D31C65AF9404E16DC /* Pods-Nominatim_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Nominatim_Tests-umbrella.h"; sourceTree = ""; }; 45 | 83579F4564F3B2841108A10D7E5D926D /* Pods-Nominatim_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Nominatim_Tests-dummy.m"; sourceTree = ""; }; 46 | 8A1E2666DBDA799B532E9181778D969A /* Nominatim.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Nominatim.xcconfig; sourceTree = ""; }; 47 | 8DB5192ACEDE886956B1F795317DE053 /* Pods-Nominatim_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Nominatim_Tests.release.xcconfig"; sourceTree = ""; }; 48 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 49 | 9867DD7A5C327EF584023B7D5B7EA5C5 /* Pods-Nominatim_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Nominatim_Example-acknowledgements.markdown"; sourceTree = ""; }; 50 | 9A19231CBEFF6AE92E069EDAB3248416 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 51 | A6549A9AE0CEAC52EC93E7C965BA3812 /* Nominatim.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Nominatim.framework; path = Nominatim.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | A6854BA6D8C5A6B03CE237F80FC7C7B9 /* Nominatim.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = Nominatim.modulemap; sourceTree = ""; }; 53 | AEF48C6FF8FACB96CA471F5EF90524B0 /* Pods-Nominatim_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Nominatim_Tests.debug.xcconfig"; sourceTree = ""; }; 54 | B4C93912551255FC0485E55F9F3A4CB1 /* Nominatim.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Nominatim.swift; path = Pods/Classes/Nominatim.swift; sourceTree = ""; }; 55 | C55A1C3ED414B6C0DD76FEDCFB80E20A /* Pods-Nominatim_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Nominatim_Example-dummy.m"; sourceTree = ""; }; 56 | CB6BA2AB236DC150A6BEFE1A62EAFE4A /* Nominatim-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Nominatim-dummy.m"; sourceTree = ""; }; 57 | CBAFF2078378699C6971714394D67CDE /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 58 | E7192C4CA49EA65C225878B711E83318 /* Pods-Nominatim_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Nominatim_Example.release.xcconfig"; sourceTree = ""; }; 59 | E79533AA4F205C0557F2B6B48DE158A5 /* Pods_Nominatim_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_Nominatim_Tests.framework; path = "Pods-Nominatim_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 60 | EC21295177FB4ED1B4D77DA69F2E433E /* Pods-Nominatim_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Nominatim_Example-resources.sh"; sourceTree = ""; }; 61 | F0CB11FF52D7EC6AACBB5DE8ACF3059E /* Pods-Nominatim_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Nominatim_Example-acknowledgements.plist"; sourceTree = ""; }; 62 | F97D84946D7B3B3801013E957D13CFB0 /* Pods-Nominatim_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Nominatim_Tests-acknowledgements.markdown"; sourceTree = ""; }; 63 | FE8CE18F8EA5239AC699D02C7A64D1FE /* Pods-Nominatim_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Nominatim_Example-umbrella.h"; sourceTree = ""; }; 64 | FEE381CEC561EF9A1FDF291C9DB6BA40 /* Pods_Nominatim_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_Nominatim_Example.framework; path = "Pods-Nominatim_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 65 | /* End PBXFileReference section */ 66 | 67 | /* Begin PBXFrameworksBuildPhase section */ 68 | 42EE053C2DEE88B04AEE8989FB232F27 /* Frameworks */ = { 69 | isa = PBXFrameworksBuildPhase; 70 | buildActionMask = 2147483647; 71 | files = ( 72 | 509289FC9B0FBDB91FFBDB93E60E5F78 /* Foundation.framework in Frameworks */, 73 | ); 74 | runOnlyForDeploymentPostprocessing = 0; 75 | }; 76 | 5E7454952B5F038F431C322940DC30B4 /* Frameworks */ = { 77 | isa = PBXFrameworksBuildPhase; 78 | buildActionMask = 2147483647; 79 | files = ( 80 | A343791BF25ECF33BE38B2EE29A73711 /* Foundation.framework in Frameworks */, 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | D53F73643692307C7C581ED22BD2A11B /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | 8669D1E689469F18FF54C256685EE719 /* Foundation.framework in Frameworks */, 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | /* End PBXFrameworksBuildPhase section */ 93 | 94 | /* Begin PBXGroup section */ 95 | 03B89E6384EC8CA9AB2E9DB711FB5919 /* Development Pods */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 5B6C6AB0787C7A34D86837B61685C337 /* Nominatim */, 99 | ); 100 | name = "Development Pods"; 101 | sourceTree = ""; 102 | }; 103 | 190A3DE7A08CAF66746359B82B157FF5 /* Pods-Nominatim_Example */ = { 104 | isa = PBXGroup; 105 | children = ( 106 | 9A19231CBEFF6AE92E069EDAB3248416 /* Info.plist */, 107 | 36D17E2AA4CE0489EF54CE941E9DED95 /* Pods-Nominatim_Example.modulemap */, 108 | 9867DD7A5C327EF584023B7D5B7EA5C5 /* Pods-Nominatim_Example-acknowledgements.markdown */, 109 | F0CB11FF52D7EC6AACBB5DE8ACF3059E /* Pods-Nominatim_Example-acknowledgements.plist */, 110 | C55A1C3ED414B6C0DD76FEDCFB80E20A /* Pods-Nominatim_Example-dummy.m */, 111 | 58B8B4CFC37BCE2D1F6FEA02E1BD3619 /* Pods-Nominatim_Example-frameworks.sh */, 112 | EC21295177FB4ED1B4D77DA69F2E433E /* Pods-Nominatim_Example-resources.sh */, 113 | FE8CE18F8EA5239AC699D02C7A64D1FE /* Pods-Nominatim_Example-umbrella.h */, 114 | 149AA7617A7EB215DB65658673806B42 /* Pods-Nominatim_Example.debug.xcconfig */, 115 | E7192C4CA49EA65C225878B711E83318 /* Pods-Nominatim_Example.release.xcconfig */, 116 | ); 117 | name = "Pods-Nominatim_Example"; 118 | path = "Target Support Files/Pods-Nominatim_Example"; 119 | sourceTree = ""; 120 | }; 121 | 445DBD6CDC93F62CD6585D341DCE7722 /* Support Files */ = { 122 | isa = PBXGroup; 123 | children = ( 124 | 0BFF9A3C7BEE731A5CBF611FC5F836CA /* Info.plist */, 125 | A6854BA6D8C5A6B03CE237F80FC7C7B9 /* Nominatim.modulemap */, 126 | 8A1E2666DBDA799B532E9181778D969A /* Nominatim.xcconfig */, 127 | CB6BA2AB236DC150A6BEFE1A62EAFE4A /* Nominatim-dummy.m */, 128 | 7A1D799FDC7764EBF01FB92E73169756 /* Nominatim-prefix.pch */, 129 | 39D715E883EF9F5EC579CB8E208572E4 /* Nominatim-umbrella.h */, 130 | ); 131 | name = "Support Files"; 132 | path = "Example/Pods/Target Support Files/Nominatim"; 133 | sourceTree = ""; 134 | }; 135 | 539D1BDBA2DA52BC0B9E37EC3A886444 /* Pods-Nominatim_Tests */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | CBAFF2078378699C6971714394D67CDE /* Info.plist */, 139 | 1D7D8BC53B3D3080BD0D4696B5D57269 /* Pods-Nominatim_Tests.modulemap */, 140 | F97D84946D7B3B3801013E957D13CFB0 /* Pods-Nominatim_Tests-acknowledgements.markdown */, 141 | 42BA71296FF7933DD8C10E1001E2035A /* Pods-Nominatim_Tests-acknowledgements.plist */, 142 | 83579F4564F3B2841108A10D7E5D926D /* Pods-Nominatim_Tests-dummy.m */, 143 | 2CED22D62C18CABE4AFBCA68578B1E1D /* Pods-Nominatim_Tests-frameworks.sh */, 144 | 4A8B8B932E94DCEED26636AD5B94A9C8 /* Pods-Nominatim_Tests-resources.sh */, 145 | 822DF516500EED0D31C65AF9404E16DC /* Pods-Nominatim_Tests-umbrella.h */, 146 | AEF48C6FF8FACB96CA471F5EF90524B0 /* Pods-Nominatim_Tests.debug.xcconfig */, 147 | 8DB5192ACEDE886956B1F795317DE053 /* Pods-Nominatim_Tests.release.xcconfig */, 148 | ); 149 | name = "Pods-Nominatim_Tests"; 150 | path = "Target Support Files/Pods-Nominatim_Tests"; 151 | sourceTree = ""; 152 | }; 153 | 5B6C6AB0787C7A34D86837B61685C337 /* Nominatim */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | B4C93912551255FC0485E55F9F3A4CB1 /* Nominatim.swift */, 157 | 445DBD6CDC93F62CD6585D341DCE7722 /* Support Files */, 158 | ); 159 | name = Nominatim; 160 | path = ../..; 161 | sourceTree = ""; 162 | }; 163 | 7DB346D0F39D3F0E887471402A8071AB = { 164 | isa = PBXGroup; 165 | children = ( 166 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 167 | 03B89E6384EC8CA9AB2E9DB711FB5919 /* Development Pods */, 168 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 169 | CD00442EC2623203B60D1B5F6164409F /* Products */, 170 | D3F2AD5626239BF62275D304EDA10385 /* Targets Support Files */, 171 | ); 172 | sourceTree = ""; 173 | }; 174 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 175 | isa = PBXGroup; 176 | children = ( 177 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 178 | ); 179 | name = Frameworks; 180 | sourceTree = ""; 181 | }; 182 | CD00442EC2623203B60D1B5F6164409F /* Products */ = { 183 | isa = PBXGroup; 184 | children = ( 185 | A6549A9AE0CEAC52EC93E7C965BA3812 /* Nominatim.framework */, 186 | FEE381CEC561EF9A1FDF291C9DB6BA40 /* Pods_Nominatim_Example.framework */, 187 | E79533AA4F205C0557F2B6B48DE158A5 /* Pods_Nominatim_Tests.framework */, 188 | ); 189 | name = Products; 190 | sourceTree = ""; 191 | }; 192 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 193 | isa = PBXGroup; 194 | children = ( 195 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 196 | ); 197 | name = iOS; 198 | sourceTree = ""; 199 | }; 200 | D3F2AD5626239BF62275D304EDA10385 /* Targets Support Files */ = { 201 | isa = PBXGroup; 202 | children = ( 203 | 190A3DE7A08CAF66746359B82B157FF5 /* Pods-Nominatim_Example */, 204 | 539D1BDBA2DA52BC0B9E37EC3A886444 /* Pods-Nominatim_Tests */, 205 | ); 206 | name = "Targets Support Files"; 207 | sourceTree = ""; 208 | }; 209 | /* End PBXGroup section */ 210 | 211 | /* Begin PBXHeadersBuildPhase section */ 212 | 1908112701202CCE368253F503AEC835 /* Headers */ = { 213 | isa = PBXHeadersBuildPhase; 214 | buildActionMask = 2147483647; 215 | files = ( 216 | BB97A553F8811D77A3249F1B37479D99 /* Pods-Nominatim_Example-umbrella.h in Headers */, 217 | ); 218 | runOnlyForDeploymentPostprocessing = 0; 219 | }; 220 | CEC160126010E8D58DF65094D3A98A0A /* Headers */ = { 221 | isa = PBXHeadersBuildPhase; 222 | buildActionMask = 2147483647; 223 | files = ( 224 | 0858A7E5BD1F18DFBE3317C458E40F02 /* Nominatim-umbrella.h in Headers */, 225 | ); 226 | runOnlyForDeploymentPostprocessing = 0; 227 | }; 228 | F7BE9600BA53062FFB27D0E19F3A0ECE /* Headers */ = { 229 | isa = PBXHeadersBuildPhase; 230 | buildActionMask = 2147483647; 231 | files = ( 232 | CFDA14698A72DA6FAC0A9C4C74621B08 /* Pods-Nominatim_Tests-umbrella.h in Headers */, 233 | ); 234 | runOnlyForDeploymentPostprocessing = 0; 235 | }; 236 | /* End PBXHeadersBuildPhase section */ 237 | 238 | /* Begin PBXNativeTarget section */ 239 | 2641B9FF17ACEDE1ECC09FA91633A6EC /* Pods-Nominatim_Tests */ = { 240 | isa = PBXNativeTarget; 241 | buildConfigurationList = E3E79551AF87F92252F620DB392CD76E /* Build configuration list for PBXNativeTarget "Pods-Nominatim_Tests" */; 242 | buildPhases = ( 243 | DF9A1D3D8B4D242D63F7CD0B44AC72D4 /* Sources */, 244 | D53F73643692307C7C581ED22BD2A11B /* Frameworks */, 245 | F7BE9600BA53062FFB27D0E19F3A0ECE /* Headers */, 246 | ); 247 | buildRules = ( 248 | ); 249 | dependencies = ( 250 | ); 251 | name = "Pods-Nominatim_Tests"; 252 | productName = "Pods-Nominatim_Tests"; 253 | productReference = E79533AA4F205C0557F2B6B48DE158A5 /* Pods_Nominatim_Tests.framework */; 254 | productType = "com.apple.product-type.framework"; 255 | }; 256 | 30C7EA28E4BA5361BBABC50D5B84B7F5 /* Pods-Nominatim_Example */ = { 257 | isa = PBXNativeTarget; 258 | buildConfigurationList = 4076F48F6ABF53BB4CB242CA6DC2BE3D /* Build configuration list for PBXNativeTarget "Pods-Nominatim_Example" */; 259 | buildPhases = ( 260 | 473FEFCDFAE05FD8766D0AD953BD4E27 /* Sources */, 261 | 42EE053C2DEE88B04AEE8989FB232F27 /* Frameworks */, 262 | 1908112701202CCE368253F503AEC835 /* Headers */, 263 | ); 264 | buildRules = ( 265 | ); 266 | dependencies = ( 267 | 083E16D429E50E503ACABFB5E14A393C /* PBXTargetDependency */, 268 | ); 269 | name = "Pods-Nominatim_Example"; 270 | productName = "Pods-Nominatim_Example"; 271 | productReference = FEE381CEC561EF9A1FDF291C9DB6BA40 /* Pods_Nominatim_Example.framework */; 272 | productType = "com.apple.product-type.framework"; 273 | }; 274 | 6F62BC4D5577D9F8396A47568C72BB57 /* Nominatim */ = { 275 | isa = PBXNativeTarget; 276 | buildConfigurationList = 27BE019A8BE52D7EFEB6661E6C57214C /* Build configuration list for PBXNativeTarget "Nominatim" */; 277 | buildPhases = ( 278 | 56ABC9A8F23AE2EB6AAAA9643FA97843 /* Sources */, 279 | 5E7454952B5F038F431C322940DC30B4 /* Frameworks */, 280 | CEC160126010E8D58DF65094D3A98A0A /* Headers */, 281 | ); 282 | buildRules = ( 283 | ); 284 | dependencies = ( 285 | ); 286 | name = Nominatim; 287 | productName = Nominatim; 288 | productReference = A6549A9AE0CEAC52EC93E7C965BA3812 /* Nominatim.framework */; 289 | productType = "com.apple.product-type.framework"; 290 | }; 291 | /* End PBXNativeTarget section */ 292 | 293 | /* Begin PBXProject section */ 294 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 295 | isa = PBXProject; 296 | attributes = { 297 | LastSwiftUpdateCheck = 0830; 298 | LastUpgradeCheck = 0700; 299 | }; 300 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 301 | compatibilityVersion = "Xcode 3.2"; 302 | developmentRegion = English; 303 | hasScannedForEncodings = 0; 304 | knownRegions = ( 305 | en, 306 | ); 307 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 308 | productRefGroup = CD00442EC2623203B60D1B5F6164409F /* Products */; 309 | projectDirPath = ""; 310 | projectRoot = ""; 311 | targets = ( 312 | 6F62BC4D5577D9F8396A47568C72BB57 /* Nominatim */, 313 | 30C7EA28E4BA5361BBABC50D5B84B7F5 /* Pods-Nominatim_Example */, 314 | 2641B9FF17ACEDE1ECC09FA91633A6EC /* Pods-Nominatim_Tests */, 315 | ); 316 | }; 317 | /* End PBXProject section */ 318 | 319 | /* Begin PBXSourcesBuildPhase section */ 320 | 473FEFCDFAE05FD8766D0AD953BD4E27 /* Sources */ = { 321 | isa = PBXSourcesBuildPhase; 322 | buildActionMask = 2147483647; 323 | files = ( 324 | 1E8CEE84859AE7A321041B1C062E708A /* Pods-Nominatim_Example-dummy.m in Sources */, 325 | ); 326 | runOnlyForDeploymentPostprocessing = 0; 327 | }; 328 | 56ABC9A8F23AE2EB6AAAA9643FA97843 /* Sources */ = { 329 | isa = PBXSourcesBuildPhase; 330 | buildActionMask = 2147483647; 331 | files = ( 332 | C39BD2D88ABBFB8EA98A303B62B231D0 /* Nominatim-dummy.m in Sources */, 333 | E9A64771E8B850D705282B06F8DD1CEA /* Nominatim.swift in Sources */, 334 | ); 335 | runOnlyForDeploymentPostprocessing = 0; 336 | }; 337 | DF9A1D3D8B4D242D63F7CD0B44AC72D4 /* Sources */ = { 338 | isa = PBXSourcesBuildPhase; 339 | buildActionMask = 2147483647; 340 | files = ( 341 | 0DA8D3B4447461773622B11823C53428 /* Pods-Nominatim_Tests-dummy.m in Sources */, 342 | ); 343 | runOnlyForDeploymentPostprocessing = 0; 344 | }; 345 | /* End PBXSourcesBuildPhase section */ 346 | 347 | /* Begin PBXTargetDependency section */ 348 | 083E16D429E50E503ACABFB5E14A393C /* PBXTargetDependency */ = { 349 | isa = PBXTargetDependency; 350 | name = Nominatim; 351 | target = 6F62BC4D5577D9F8396A47568C72BB57 /* Nominatim */; 352 | targetProxy = A61A3A47E4DDDB8242EB1F0961F73308 /* PBXContainerItemProxy */; 353 | }; 354 | /* End PBXTargetDependency section */ 355 | 356 | /* Begin XCBuildConfiguration section */ 357 | 30493D556ADA1591C8310D445A86209B /* Debug */ = { 358 | isa = XCBuildConfiguration; 359 | baseConfigurationReference = AEF48C6FF8FACB96CA471F5EF90524B0 /* Pods-Nominatim_Tests.debug.xcconfig */; 360 | buildSettings = { 361 | CODE_SIGN_IDENTITY = ""; 362 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 363 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 364 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 365 | CURRENT_PROJECT_VERSION = 1; 366 | DEFINES_MODULE = YES; 367 | DYLIB_COMPATIBILITY_VERSION = 1; 368 | DYLIB_CURRENT_VERSION = 1; 369 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 370 | INFOPLIST_FILE = "Target Support Files/Pods-Nominatim_Tests/Info.plist"; 371 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 372 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 373 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 374 | MACH_O_TYPE = staticlib; 375 | MODULEMAP_FILE = "Target Support Files/Pods-Nominatim_Tests/Pods-Nominatim_Tests.modulemap"; 376 | OTHER_LDFLAGS = ""; 377 | OTHER_LIBTOOLFLAGS = ""; 378 | PODS_ROOT = "$(SRCROOT)"; 379 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 380 | PRODUCT_NAME = Pods_Nominatim_Tests; 381 | SDKROOT = iphoneos; 382 | SKIP_INSTALL = YES; 383 | TARGETED_DEVICE_FAMILY = "1,2"; 384 | VERSIONING_SYSTEM = "apple-generic"; 385 | VERSION_INFO_PREFIX = ""; 386 | }; 387 | name = Debug; 388 | }; 389 | 33DA7F43A1D2FA3C74A8C8FC246E1FA6 /* Debug */ = { 390 | isa = XCBuildConfiguration; 391 | buildSettings = { 392 | ALWAYS_SEARCH_USER_PATHS = NO; 393 | CLANG_ANALYZER_NONNULL = YES; 394 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 395 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 396 | CLANG_CXX_LIBRARY = "libc++"; 397 | CLANG_ENABLE_MODULES = YES; 398 | CLANG_ENABLE_OBJC_ARC = YES; 399 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 400 | CLANG_WARN_BOOL_CONVERSION = YES; 401 | CLANG_WARN_COMMA = YES; 402 | CLANG_WARN_CONSTANT_CONVERSION = YES; 403 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 404 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 405 | CLANG_WARN_EMPTY_BODY = YES; 406 | CLANG_WARN_ENUM_CONVERSION = YES; 407 | CLANG_WARN_INFINITE_RECURSION = YES; 408 | CLANG_WARN_INT_CONVERSION = YES; 409 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 410 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 411 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 412 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 413 | CLANG_WARN_STRICT_PROTOTYPES = YES; 414 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 415 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 416 | CLANG_WARN_UNREACHABLE_CODE = YES; 417 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 418 | CODE_SIGNING_REQUIRED = NO; 419 | COPY_PHASE_STRIP = NO; 420 | DEBUG_INFORMATION_FORMAT = dwarf; 421 | ENABLE_STRICT_OBJC_MSGSEND = YES; 422 | ENABLE_TESTABILITY = YES; 423 | GCC_C_LANGUAGE_STANDARD = gnu11; 424 | GCC_DYNAMIC_NO_PIC = NO; 425 | GCC_NO_COMMON_BLOCKS = YES; 426 | GCC_OPTIMIZATION_LEVEL = 0; 427 | GCC_PREPROCESSOR_DEFINITIONS = ( 428 | "POD_CONFIGURATION_DEBUG=1", 429 | "DEBUG=1", 430 | "$(inherited)", 431 | ); 432 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 433 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 434 | GCC_WARN_UNDECLARED_SELECTOR = YES; 435 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 436 | GCC_WARN_UNUSED_FUNCTION = YES; 437 | GCC_WARN_UNUSED_VARIABLE = YES; 438 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 439 | MTL_ENABLE_DEBUG_INFO = YES; 440 | ONLY_ACTIVE_ARCH = YES; 441 | PRODUCT_NAME = "$(TARGET_NAME)"; 442 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 443 | STRIP_INSTALLED_PRODUCT = NO; 444 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 445 | SYMROOT = "${SRCROOT}/../build"; 446 | }; 447 | name = Debug; 448 | }; 449 | 3F64748161AFFF101CF332F27D8D6DAC /* Release */ = { 450 | isa = XCBuildConfiguration; 451 | baseConfigurationReference = 8DB5192ACEDE886956B1F795317DE053 /* Pods-Nominatim_Tests.release.xcconfig */; 452 | buildSettings = { 453 | CODE_SIGN_IDENTITY = ""; 454 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 455 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 456 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 457 | CURRENT_PROJECT_VERSION = 1; 458 | DEFINES_MODULE = YES; 459 | DYLIB_COMPATIBILITY_VERSION = 1; 460 | DYLIB_CURRENT_VERSION = 1; 461 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 462 | INFOPLIST_FILE = "Target Support Files/Pods-Nominatim_Tests/Info.plist"; 463 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 464 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 465 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 466 | MACH_O_TYPE = staticlib; 467 | MODULEMAP_FILE = "Target Support Files/Pods-Nominatim_Tests/Pods-Nominatim_Tests.modulemap"; 468 | OTHER_LDFLAGS = ""; 469 | OTHER_LIBTOOLFLAGS = ""; 470 | PODS_ROOT = "$(SRCROOT)"; 471 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 472 | PRODUCT_NAME = Pods_Nominatim_Tests; 473 | SDKROOT = iphoneos; 474 | SKIP_INSTALL = YES; 475 | TARGETED_DEVICE_FAMILY = "1,2"; 476 | VALIDATE_PRODUCT = YES; 477 | VERSIONING_SYSTEM = "apple-generic"; 478 | VERSION_INFO_PREFIX = ""; 479 | }; 480 | name = Release; 481 | }; 482 | 4B906E406E31A7169DC62257FBF7B5A5 /* Release */ = { 483 | isa = XCBuildConfiguration; 484 | baseConfigurationReference = 8A1E2666DBDA799B532E9181778D969A /* Nominatim.xcconfig */; 485 | buildSettings = { 486 | CODE_SIGN_IDENTITY = ""; 487 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 488 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 489 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 490 | CURRENT_PROJECT_VERSION = 1; 491 | DEFINES_MODULE = YES; 492 | DYLIB_COMPATIBILITY_VERSION = 1; 493 | DYLIB_CURRENT_VERSION = 1; 494 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 495 | GCC_PREFIX_HEADER = "Target Support Files/Nominatim/Nominatim-prefix.pch"; 496 | INFOPLIST_FILE = "Target Support Files/Nominatim/Info.plist"; 497 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 498 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 499 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 500 | MODULEMAP_FILE = "Target Support Files/Nominatim/Nominatim.modulemap"; 501 | PRODUCT_NAME = Nominatim; 502 | SDKROOT = iphoneos; 503 | SKIP_INSTALL = YES; 504 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 505 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 506 | SWIFT_VERSION = 4.0; 507 | TARGETED_DEVICE_FAMILY = "1,2"; 508 | VALIDATE_PRODUCT = YES; 509 | VERSIONING_SYSTEM = "apple-generic"; 510 | VERSION_INFO_PREFIX = ""; 511 | }; 512 | name = Release; 513 | }; 514 | 5510694B1BB2064E051C452A1A37075D /* Release */ = { 515 | isa = XCBuildConfiguration; 516 | baseConfigurationReference = E7192C4CA49EA65C225878B711E83318 /* Pods-Nominatim_Example.release.xcconfig */; 517 | buildSettings = { 518 | CODE_SIGN_IDENTITY = ""; 519 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 520 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 521 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 522 | CURRENT_PROJECT_VERSION = 1; 523 | DEFINES_MODULE = YES; 524 | DYLIB_COMPATIBILITY_VERSION = 1; 525 | DYLIB_CURRENT_VERSION = 1; 526 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 527 | INFOPLIST_FILE = "Target Support Files/Pods-Nominatim_Example/Info.plist"; 528 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 529 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 530 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 531 | MACH_O_TYPE = staticlib; 532 | MODULEMAP_FILE = "Target Support Files/Pods-Nominatim_Example/Pods-Nominatim_Example.modulemap"; 533 | OTHER_LDFLAGS = ""; 534 | OTHER_LIBTOOLFLAGS = ""; 535 | PODS_ROOT = "$(SRCROOT)"; 536 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 537 | PRODUCT_NAME = Pods_Nominatim_Example; 538 | SDKROOT = iphoneos; 539 | SKIP_INSTALL = YES; 540 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 541 | TARGETED_DEVICE_FAMILY = "1,2"; 542 | VALIDATE_PRODUCT = YES; 543 | VERSIONING_SYSTEM = "apple-generic"; 544 | VERSION_INFO_PREFIX = ""; 545 | }; 546 | name = Release; 547 | }; 548 | 5F8B44C028326BCC9AA74EF15EC28C50 /* Debug */ = { 549 | isa = XCBuildConfiguration; 550 | baseConfigurationReference = 149AA7617A7EB215DB65658673806B42 /* Pods-Nominatim_Example.debug.xcconfig */; 551 | buildSettings = { 552 | CODE_SIGN_IDENTITY = ""; 553 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 554 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 555 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 556 | CURRENT_PROJECT_VERSION = 1; 557 | DEFINES_MODULE = YES; 558 | DYLIB_COMPATIBILITY_VERSION = 1; 559 | DYLIB_CURRENT_VERSION = 1; 560 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 561 | INFOPLIST_FILE = "Target Support Files/Pods-Nominatim_Example/Info.plist"; 562 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 563 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 564 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 565 | MACH_O_TYPE = staticlib; 566 | MODULEMAP_FILE = "Target Support Files/Pods-Nominatim_Example/Pods-Nominatim_Example.modulemap"; 567 | OTHER_LDFLAGS = ""; 568 | OTHER_LIBTOOLFLAGS = ""; 569 | PODS_ROOT = "$(SRCROOT)"; 570 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 571 | PRODUCT_NAME = Pods_Nominatim_Example; 572 | SDKROOT = iphoneos; 573 | SKIP_INSTALL = YES; 574 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 575 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 576 | TARGETED_DEVICE_FAMILY = "1,2"; 577 | VERSIONING_SYSTEM = "apple-generic"; 578 | VERSION_INFO_PREFIX = ""; 579 | }; 580 | name = Debug; 581 | }; 582 | 731DC216E1A58545B559F6E0A2418060 /* Release */ = { 583 | isa = XCBuildConfiguration; 584 | buildSettings = { 585 | ALWAYS_SEARCH_USER_PATHS = NO; 586 | CLANG_ANALYZER_NONNULL = YES; 587 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 588 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 589 | CLANG_CXX_LIBRARY = "libc++"; 590 | CLANG_ENABLE_MODULES = YES; 591 | CLANG_ENABLE_OBJC_ARC = YES; 592 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 593 | CLANG_WARN_BOOL_CONVERSION = YES; 594 | CLANG_WARN_COMMA = YES; 595 | CLANG_WARN_CONSTANT_CONVERSION = YES; 596 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 597 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 598 | CLANG_WARN_EMPTY_BODY = YES; 599 | CLANG_WARN_ENUM_CONVERSION = YES; 600 | CLANG_WARN_INFINITE_RECURSION = YES; 601 | CLANG_WARN_INT_CONVERSION = YES; 602 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 603 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 604 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 605 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 606 | CLANG_WARN_STRICT_PROTOTYPES = YES; 607 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 608 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 609 | CLANG_WARN_UNREACHABLE_CODE = YES; 610 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 611 | CODE_SIGNING_REQUIRED = NO; 612 | COPY_PHASE_STRIP = NO; 613 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 614 | ENABLE_NS_ASSERTIONS = NO; 615 | ENABLE_STRICT_OBJC_MSGSEND = YES; 616 | GCC_C_LANGUAGE_STANDARD = gnu11; 617 | GCC_NO_COMMON_BLOCKS = YES; 618 | GCC_PREPROCESSOR_DEFINITIONS = ( 619 | "POD_CONFIGURATION_RELEASE=1", 620 | "$(inherited)", 621 | ); 622 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 623 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 624 | GCC_WARN_UNDECLARED_SELECTOR = YES; 625 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 626 | GCC_WARN_UNUSED_FUNCTION = YES; 627 | GCC_WARN_UNUSED_VARIABLE = YES; 628 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 629 | MTL_ENABLE_DEBUG_INFO = NO; 630 | PRODUCT_NAME = "$(TARGET_NAME)"; 631 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 632 | STRIP_INSTALLED_PRODUCT = NO; 633 | SYMROOT = "${SRCROOT}/../build"; 634 | }; 635 | name = Release; 636 | }; 637 | DD117768D11D72AC491335388612D9EC /* Debug */ = { 638 | isa = XCBuildConfiguration; 639 | baseConfigurationReference = 8A1E2666DBDA799B532E9181778D969A /* Nominatim.xcconfig */; 640 | buildSettings = { 641 | CODE_SIGN_IDENTITY = ""; 642 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 643 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 644 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 645 | CURRENT_PROJECT_VERSION = 1; 646 | DEFINES_MODULE = YES; 647 | DYLIB_COMPATIBILITY_VERSION = 1; 648 | DYLIB_CURRENT_VERSION = 1; 649 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 650 | GCC_PREFIX_HEADER = "Target Support Files/Nominatim/Nominatim-prefix.pch"; 651 | INFOPLIST_FILE = "Target Support Files/Nominatim/Info.plist"; 652 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 653 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 654 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 655 | MODULEMAP_FILE = "Target Support Files/Nominatim/Nominatim.modulemap"; 656 | PRODUCT_NAME = Nominatim; 657 | SDKROOT = iphoneos; 658 | SKIP_INSTALL = YES; 659 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 660 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 661 | SWIFT_VERSION = 4.0; 662 | TARGETED_DEVICE_FAMILY = "1,2"; 663 | VERSIONING_SYSTEM = "apple-generic"; 664 | VERSION_INFO_PREFIX = ""; 665 | }; 666 | name = Debug; 667 | }; 668 | /* End XCBuildConfiguration section */ 669 | 670 | /* Begin XCConfigurationList section */ 671 | 27BE019A8BE52D7EFEB6661E6C57214C /* Build configuration list for PBXNativeTarget "Nominatim" */ = { 672 | isa = XCConfigurationList; 673 | buildConfigurations = ( 674 | DD117768D11D72AC491335388612D9EC /* Debug */, 675 | 4B906E406E31A7169DC62257FBF7B5A5 /* Release */, 676 | ); 677 | defaultConfigurationIsVisible = 0; 678 | defaultConfigurationName = Release; 679 | }; 680 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 681 | isa = XCConfigurationList; 682 | buildConfigurations = ( 683 | 33DA7F43A1D2FA3C74A8C8FC246E1FA6 /* Debug */, 684 | 731DC216E1A58545B559F6E0A2418060 /* Release */, 685 | ); 686 | defaultConfigurationIsVisible = 0; 687 | defaultConfigurationName = Release; 688 | }; 689 | 4076F48F6ABF53BB4CB242CA6DC2BE3D /* Build configuration list for PBXNativeTarget "Pods-Nominatim_Example" */ = { 690 | isa = XCConfigurationList; 691 | buildConfigurations = ( 692 | 5F8B44C028326BCC9AA74EF15EC28C50 /* Debug */, 693 | 5510694B1BB2064E051C452A1A37075D /* Release */, 694 | ); 695 | defaultConfigurationIsVisible = 0; 696 | defaultConfigurationName = Release; 697 | }; 698 | E3E79551AF87F92252F620DB392CD76E /* Build configuration list for PBXNativeTarget "Pods-Nominatim_Tests" */ = { 699 | isa = XCConfigurationList; 700 | buildConfigurations = ( 701 | 30493D556ADA1591C8310D445A86209B /* Debug */, 702 | 3F64748161AFFF101CF332F27D8D6DAC /* Release */, 703 | ); 704 | defaultConfigurationIsVisible = 0; 705 | defaultConfigurationName = Release; 706 | }; 707 | /* End XCConfigurationList section */ 708 | }; 709 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 710 | } 711 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Nominatim/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.3.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Nominatim/Nominatim-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Nominatim : NSObject 3 | @end 4 | @implementation PodsDummy_Nominatim 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Nominatim/Nominatim-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Nominatim/Nominatim-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double NominatimVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char NominatimVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Nominatim/Nominatim.modulemap: -------------------------------------------------------------------------------- 1 | framework module Nominatim { 2 | umbrella header "Nominatim-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Nominatim/Nominatim.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Nominatim 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Example/Pods-Nominatim_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## Nominatim 5 | 6 | Copyright (c) 2017 caloon 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Example/Pods-Nominatim_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2017 caloon <me@josefmoser.de> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | Nominatim 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Example/Pods-Nominatim_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Nominatim_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Nominatim_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Example/Pods-Nominatim_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 10 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 11 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 12 | 13 | install_framework() 14 | { 15 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 16 | local source="${BUILT_PRODUCTS_DIR}/$1" 17 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 18 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 19 | elif [ -r "$1" ]; then 20 | local source="$1" 21 | fi 22 | 23 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 24 | 25 | if [ -L "${source}" ]; then 26 | echo "Symlinked..." 27 | source="$(readlink "${source}")" 28 | fi 29 | 30 | # Use filter instead of exclude so missing patterns don't throw errors. 31 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 32 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 33 | 34 | local basename 35 | basename="$(basename -s .framework "$1")" 36 | binary="${destination}/${basename}.framework/${basename}" 37 | if ! [ -r "$binary" ]; then 38 | binary="${destination}/${basename}" 39 | fi 40 | 41 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 42 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 43 | strip_invalid_archs "$binary" 44 | fi 45 | 46 | # Resign the code if required by the build settings to avoid unstable apps 47 | code_sign_if_enabled "${destination}/$(basename "$1")" 48 | 49 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 50 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 51 | local swift_runtime_libs 52 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 53 | for lib in $swift_runtime_libs; do 54 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 55 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 56 | code_sign_if_enabled "${destination}/${lib}" 57 | done 58 | fi 59 | } 60 | 61 | # Copies the dSYM of a vendored framework 62 | install_dsym() { 63 | local source="$1" 64 | if [ -r "$source" ]; then 65 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" 66 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" 67 | fi 68 | } 69 | 70 | # Signs a framework with the provided identity 71 | code_sign_if_enabled() { 72 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 73 | # Use the current code_sign_identitiy 74 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 75 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 76 | 77 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 78 | code_sign_cmd="$code_sign_cmd &" 79 | fi 80 | echo "$code_sign_cmd" 81 | eval "$code_sign_cmd" 82 | fi 83 | } 84 | 85 | # Strip invalid architectures 86 | strip_invalid_archs() { 87 | binary="$1" 88 | # Get architectures for current file 89 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 90 | stripped="" 91 | for arch in $archs; do 92 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 93 | # Strip non-valid architectures in-place 94 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 95 | stripped="$stripped $arch" 96 | fi 97 | done 98 | if [[ "$stripped" ]]; then 99 | echo "Stripped $binary of architectures:$stripped" 100 | fi 101 | } 102 | 103 | 104 | if [[ "$CONFIGURATION" == "Debug" ]]; then 105 | install_framework "${BUILT_PRODUCTS_DIR}/Nominatim/Nominatim.framework" 106 | fi 107 | if [[ "$CONFIGURATION" == "Release" ]]; then 108 | install_framework "${BUILT_PRODUCTS_DIR}/Nominatim/Nominatim.framework" 109 | fi 110 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 111 | wait 112 | fi 113 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Example/Pods-Nominatim_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.xib) 55 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 56 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Example/Pods-Nominatim_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_Nominatim_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_Nominatim_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Example/Pods-Nominatim_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Nominatim" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nominatim/Nominatim.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Nominatim" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Example/Pods-Nominatim_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_Nominatim_Example { 2 | umbrella header "Pods-Nominatim_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Example/Pods-Nominatim_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Nominatim" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nominatim/Nominatim.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "Nominatim" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Tests/Pods-Nominatim_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Tests/Pods-Nominatim_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Tests/Pods-Nominatim_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Nominatim_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Nominatim_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Tests/Pods-Nominatim_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 10 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 11 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 12 | 13 | install_framework() 14 | { 15 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 16 | local source="${BUILT_PRODUCTS_DIR}/$1" 17 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 18 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 19 | elif [ -r "$1" ]; then 20 | local source="$1" 21 | fi 22 | 23 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 24 | 25 | if [ -L "${source}" ]; then 26 | echo "Symlinked..." 27 | source="$(readlink "${source}")" 28 | fi 29 | 30 | # Use filter instead of exclude so missing patterns don't throw errors. 31 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 32 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 33 | 34 | local basename 35 | basename="$(basename -s .framework "$1")" 36 | binary="${destination}/${basename}.framework/${basename}" 37 | if ! [ -r "$binary" ]; then 38 | binary="${destination}/${basename}" 39 | fi 40 | 41 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 42 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 43 | strip_invalid_archs "$binary" 44 | fi 45 | 46 | # Resign the code if required by the build settings to avoid unstable apps 47 | code_sign_if_enabled "${destination}/$(basename "$1")" 48 | 49 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 50 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 51 | local swift_runtime_libs 52 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 53 | for lib in $swift_runtime_libs; do 54 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 55 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 56 | code_sign_if_enabled "${destination}/${lib}" 57 | done 58 | fi 59 | } 60 | 61 | # Copies the dSYM of a vendored framework 62 | install_dsym() { 63 | local source="$1" 64 | if [ -r "$source" ]; then 65 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" 66 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" 67 | fi 68 | } 69 | 70 | # Signs a framework with the provided identity 71 | code_sign_if_enabled() { 72 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 73 | # Use the current code_sign_identitiy 74 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 75 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 76 | 77 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 78 | code_sign_cmd="$code_sign_cmd &" 79 | fi 80 | echo "$code_sign_cmd" 81 | eval "$code_sign_cmd" 82 | fi 83 | } 84 | 85 | # Strip invalid architectures 86 | strip_invalid_archs() { 87 | binary="$1" 88 | # Get architectures for current file 89 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 90 | stripped="" 91 | for arch in $archs; do 92 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 93 | # Strip non-valid architectures in-place 94 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 95 | stripped="$stripped $arch" 96 | fi 97 | done 98 | if [[ "$stripped" ]]; then 99 | echo "Stripped $binary of architectures:$stripped" 100 | fi 101 | } 102 | 103 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 104 | wait 105 | fi 106 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Tests/Pods-Nominatim_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.xib) 55 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 56 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Tests/Pods-Nominatim_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_Nominatim_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_Nominatim_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Tests/Pods-Nominatim_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Nominatim" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nominatim/Nominatim.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Tests/Pods-Nominatim_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_Nominatim_Tests { 2 | umbrella header "Pods-Nominatim_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Nominatim_Tests/Pods-Nominatim_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Nominatim" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Nominatim/Nominatim.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import Nominatim 4 | 5 | class Tests: XCTestCase { 6 | 7 | override func setUp() { 8 | super.setUp() 9 | // Put setup code here. This method is called before the invocation of each test method in the class. 10 | } 11 | 12 | override func tearDown() { 13 | // Put teardown code here. This method is called after the invocation of each test method in the class. 14 | super.tearDown() 15 | } 16 | 17 | func testExample() { 18 | // This is an example of a functional test case. 19 | XCTAssert(true, "Pass") 20 | } 21 | 22 | func testPerformanceExample() { 23 | // This is an example of a performance test case. 24 | self.measure() { 25 | // Put the code you want to measure the time of here. 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 caloon 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /Nominatim.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint Nominatim.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'Nominatim' 11 | s.version = '0.9.1' 12 | s.summary = 'A Swift wrapper for (reverse) geocoding of OpenStreetMap data' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = 'Use NominatimKit to access OpenStreetMaps and the free Nominatim API to gather location data for a specific latitude, address or landmark.' 21 | 22 | s.homepage = 'https://github.com/caloon/NominatimKit' 23 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 24 | s.license = { :type => 'MIT', :file => 'LICENSE' } 25 | s.author = { 'caloon' => 'me@josefmoser.de' } 26 | s.source = { :git => 'https://github.com/caloon/NominatimKit.git', :tag => s.version.to_s } 27 | s.social_media_url = 'https://twitter.com/josef_moser' 28 | 29 | s.ios.deployment_target = '9.3' 30 | 31 | s.source_files = 'Pods/Classes/Nominatim.swift' 32 | 33 | # s.resource_bundles = { 34 | # 'Nominatim' => ['Nominatim/Assets/*.png'] 35 | # } 36 | 37 | # s.public_header_files = 'Pod/Classes/**/*.h' 38 | # s.frameworks = 'UIKit', 'MapKit' 39 | # s.dependency 'AFNetworking', '~> 2.3' 40 | end 41 | -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- 1 | // swift-tools-version:5.3 2 | // The swift-tools-version declares the minimum version of Swift required to build this package. 3 | 4 | import PackageDescription 5 | 6 | let package = Package( 7 | name: "Nominatim", 8 | products: [ 9 | .library( 10 | name: "Nominatim", 11 | targets: ["Nominatim"] 12 | ), 13 | ], 14 | targets: [ 15 | .target( 16 | name: "Nominatim", 17 | path: "Pods/Classes" 18 | ) 19 | ] 20 | ) 21 | -------------------------------------------------------------------------------- /Pods/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caloon/NominatimKit/63234269fde1ed78a418a66fee840fa2478eb0ee/Pods/Assets/.gitkeep -------------------------------------------------------------------------------- /Pods/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caloon/NominatimKit/63234269fde1ed78a418a66fee840fa2478eb0ee/Pods/Classes/.gitkeep -------------------------------------------------------------------------------- /Pods/Classes/Nominatim.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Nominatim.swift 3 | // NominationSwift 4 | // 5 | // Created by Josef Moser on 30/11/2016. 6 | // Copyright © 2016 Josef. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | 11 | public class Nominatim { 12 | 13 | public class func getLocation(fromAddress address: String, completion: @escaping (_ result: Location?) -> Void) { 14 | 15 | let queryURL = URL(string:"https://nominatim.openstreetmap.org/search/" + address.addingPercentEncoding(withAllowedCharacters: .urlHostAllowed)! + "?format=json&addressdetails=1&limit=1")! 16 | let session = URLSession.shared 17 | 18 | session.dataTask(with: queryURL, completionHandler: { data, response, error -> Void in 19 | 20 | if (error != nil) { 21 | completion(nil) 22 | } 23 | 24 | if let httpResponse = response as? HTTPURLResponse { 25 | if httpResponse.statusCode == 200 { 26 | do { 27 | guard let data = data else { return } 28 | let jsonResult = try JSONSerialization.jsonObject(with: data, options: JSONSerialization.ReadingOptions.mutableContainers) 29 | 30 | if let array = jsonResult as? Array> { 31 | 32 | var houseNumber,road, postcode, cityDistrict, city, country, countryCode, county, state: String? 33 | if !array.isEmpty { 34 | if let address = array[0]["address"] as? Dictionary { 35 | houseNumber = address["house_number"] 36 | road = address["road"] 37 | postcode = address["postcode"] 38 | cityDistrict = address["city_district"] 39 | city = address["city"] 40 | country = address["country"] 41 | countryCode = address["country_code"] 42 | county = address["county"] 43 | state = address["state"] 44 | if county == nil { 45 | county = address["state_district"] 46 | } 47 | } 48 | 49 | completion(Location(lat: array[0]["lat"] as! String, lon: array[0]["lon"] as! String, countryCode: countryCode, country: country, state: state, county: county, postcode: postcode, city: city, cityDistrict: cityDistrict, road: road, houseNumber: houseNumber)) 50 | 51 | } else { 52 | completion(nil) 53 | } 54 | } else { 55 | completion(nil) 56 | } 57 | } catch let e { 58 | print(e) 59 | completion(nil) 60 | } 61 | } else { 62 | completion(nil) 63 | } 64 | } else { 65 | completion(nil) 66 | } 67 | 68 | }).resume() 69 | } 70 | 71 | public class func getLocation(fromLatitude latitude: String, longitude: String, completion: @escaping (_ error: Error?, _ result: Location?) -> Void) { 72 | 73 | let queryURL = URL(string:"https://nominatim.openstreetmap.org/reverse?format=json&lat=" + latitude + "&lon=" + longitude + "&addressdetails=1&limit=1")! 74 | let session = URLSession.shared 75 | 76 | session.dataTask(with: queryURL, completionHandler: { data, response, error -> Void in 77 | 78 | if (error != nil) { 79 | completion(error, nil) 80 | } 81 | 82 | do { 83 | guard let data = data else { return } 84 | let jsonResult = try JSONSerialization.jsonObject(with: data, options: JSONSerialization.ReadingOptions.mutableContainers) 85 | 86 | if let dict = jsonResult as? Dictionary { 87 | 88 | var houseNumber,road, postcode, cityDistrict, city, country, countryCode, county, state: String? 89 | if let address = dict["address"] as? Dictionary { 90 | houseNumber = address["house_number"] 91 | road = address["road"] 92 | postcode = address["postcode"] 93 | cityDistrict = address["city_district"] 94 | city = address["city"] 95 | country = address["country"] 96 | countryCode = address["country_code"] 97 | county = address["county"] 98 | if county == nil { 99 | county = address["state_district"] 100 | } 101 | state = address["state"] 102 | } 103 | 104 | completion(nil, Location(lat: dict["lat"] as! String, lon: dict["lon"] as! String, countryCode: countryCode, country: country, state: state, county: county, postcode: postcode, city: city, cityDistrict: cityDistrict, road: road, houseNumber: houseNumber)) 105 | } 106 | 107 | } catch { 108 | print(error) 109 | completion(error, nil) 110 | } 111 | }).resume() 112 | } 113 | } 114 | 115 | public class Location { 116 | 117 | public var latitude: String 118 | public var longitude: String 119 | public var countryCode: String? 120 | public var country: String? 121 | public var state: String? 122 | public var county: String? 123 | public var postcode: String? 124 | public var city: String? 125 | public var cityDistrict: String? 126 | public var road: String? 127 | public var houseNumber: String? 128 | 129 | required public init(lat: String, lon: String, countryCode: String?, country: String?, state: String?, county: String?, postcode: String?, city: String?, cityDistrict: String?, road: String?, houseNumber: String?) { 130 | self.latitude = lat 131 | self.longitude = lon 132 | self.countryCode = countryCode 133 | self.country = country 134 | self.state = state 135 | self.county = county 136 | self.postcode = postcode 137 | self.city = city 138 | self.cityDistrict = cityDistrict 139 | self.road = road 140 | self.houseNumber = houseNumber 141 | } 142 | 143 | } 144 | 145 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Nominatim 2 | 3 | [![CI Status](http://img.shields.io/travis/Josef/Nominatim.svg?style=flat)](https://travis-ci.org/Josef/Nominatim) 4 | [![Version](https://img.shields.io/cocoapods/v/Nominatim.svg?style=flat)](http://cocoapods.org/pods/Nominatim) 5 | [![License](https://img.shields.io/cocoapods/l/Nominatim.svg?style=flat)](http://cocoapods.org/pods/Nominatim) 6 | [![Platform](https://img.shields.io/cocoapods/p/Nominatim.svg?style=flat)](http://cocoapods.org/pods/Nominatim) 7 | 8 | NominatimKit is a Swift wrapper for forward and reverse geocoding of OpenStreetMap data. 9 | 10 | **Why?** Geocoding location data on iOS requires the use of CoreLocation and the user's permission to access location data. This permission if often not given. Even worse so, CLGeocoder can be [quite inaccurate](https://medium.com/@enricopiovesan/tutorial-geocoding-with-swift-4-7ef378778377#cb52). If you want a lightweight and more reliable solution to geocode addressess and coordinates, NominatimKit comes to the rescue. 11 | 12 | **How?** Nominatim is a search engine for OpenStreetMap data. NominatimKit uses the free Nominatim API to gather location data for specific geo coordinates or any free text query (i.e. addresses or landmarks). 13 | 14 | ## Example 15 | 16 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 17 | 18 | ## Installation 19 | 20 | Nominatim is available through [CocoaPods](http://cocoapods.org). To install 21 | it, simply add the following line to your Podfile: 22 | 23 | ``` 24 | pod 'Nominatim' 25 | ``` 26 | 27 | ## Usage 28 | 29 | Search for Addresses 30 | ``` 31 | Nominatim.getLocation(fromAddress: "Stephansplatz, 1010 Vienna, Austria", completion: {(error, location) -> Void in 32 | print("Geolocation of the Royal Palace of Stockholm:") 33 | print("lat = " + (location?.latitude)! + " lon = " + (location?.longitude)!) 34 | }) 35 | ``` 36 | Search for Landmarks 37 | ``` 38 | Nominatim.getLocation(fromAddress: "The Royal Palace of Stockholm", completion: {(error, location) -> Void in 39 | print("Geolocation of the Royal Palace of Stockholm:") 40 | print("lat = " + (location?.latitude)! + " lon = " + (location?.longitude)!) 41 | }) 42 | ``` 43 | Search with Latitude and Longitude 44 | ``` 45 | Nominatim.getLocation(fromLatitude: "55.6867243", longitude: "12.5700724", completion: {(error, location) -> Void in 46 | print("City for geolocation 55.6867243/12.5700724:") 47 | print(location?.city) 48 | }) 49 | ``` 50 | 51 | ## Author 52 | 53 | NominatimKit was created by Josef Moser. I am an independent software developer and co-founder of [Cora Health](https://www.cora.health/) and [Cryptoradar](https://cryptoradar.co). 54 | 55 | Find me on: [Github](https://github.com/caloon/) or [Twitter](https://twitter.com/josef_moser) 56 | 57 | ## Contribution 58 | 59 | We welcome contribution to this project by opening issues or pull request. 60 | 61 | ## License 62 | 63 | NominatimKit is available under the MIT license. See the LICENSE file for more info. 64 | If you'd like to acknowledge the author of NominatimKit, please set a link to this GitHub page. 65 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------