From c1833d42cd255fd98abb67ea14c8efb10a51ec2e Mon Sep 17 00:00:00 2001 From: mhadam Date: Fri, 16 Feb 2018 18:56:44 -0500 Subject: [PATCH] Add a Swift port of SnowplowDemo (close #342) --- .travis.yml | 4 +- Podfile.lock | 8 +- Pods/Manifest.lock | 8 +- Pods/Pods.xcodeproj/project.pbxproj | 362 ++-- Pods/SnowplowIgluClient/README.md | 24 +- .../SnowplowIgluClient/IGLUConstants.m | 4 +- .../resolver-config/jsonschema/1-0-0 | 0 .../resolver-config/jsonschema/1-0-1 | 93 + .../resolver-config/jsonschema/1-0-2 | 97 + .../instance-iglu-only/jsonschema/1-0-0 | 0 .../FMDB-iOS/FMDB-iOS.xcconfig | 6 +- .../FMDB-macOS/FMDB-macOS.xcconfig | 6 +- .../KiteJSONValidator-iOS.xcconfig | 6 +- .../KiteJSONValidator-macOS.xcconfig | 6 +- .../Nocilla-iOS/Nocilla-iOS.xcconfig | 6 +- .../Nocilla-macOS/Nocilla-macOS.xcconfig | 6 +- .../Pods-Base-Snowplow-OSX-frameworks.sh | 44 +- .../Pods-Base-Snowplow-OSX.debug.xcconfig | 6 +- .../Pods-Base-Snowplow-OSX.release.xcconfig | 6 +- ...-BaseTests-Snowplow-OSXTests-frameworks.sh | 44 +- ...s-BaseTests-Snowplow-OSXTests-resources.sh | 8 +- ...BaseTests-Snowplow-OSXTests.debug.xcconfig | 6 +- ...seTests-Snowplow-OSXTests.release.xcconfig | 6 +- .../Pods-Snowplow.debug.xcconfig | 6 +- .../Pods-Snowplow.release.xcconfig | 6 +- .../Pods-SnowplowTests-frameworks.sh | 44 +- .../Pods-SnowplowTests-resources.sh | 8 +- .../Pods-SnowplowTests.debug.xcconfig | 6 +- .../Pods-SnowplowTests.release.xcconfig | 6 +- .../Reachability/Reachability.xcconfig | 6 +- ...rceBundle-SnowplowIgluResources-Info.plist | 2 +- .../SnowplowIgluClient-iOS.xcconfig | 8 +- ...rceBundle-SnowplowIgluResources-Info.plist | 2 +- .../SnowplowIgluClient-macOS.xcconfig | 8 +- Snowplow.xcodeproj/project.pbxproj | 210 +-- .../AppIcon.appiconset/Contents.json | 30 + SnowplowSwiftDemo/Podfile | 34 + SnowplowSwiftDemo/Podfile.lock | 27 + SnowplowSwiftDemo/Pods/FMDB/LICENSE.txt | 28 + SnowplowSwiftDemo/Pods/FMDB/README.markdown | 397 ++++ SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDB.h | 10 + .../Pods/FMDB/src/fmdb/FMDatabase.h | 1162 ++++++++++++ .../Pods/FMDB/src/fmdb/FMDatabase.m | 1479 +++++++++++++++ .../Pods/FMDB/src/fmdb/FMDatabaseAdditions.h | 278 +++ .../Pods/FMDB/src/fmdb/FMDatabaseAdditions.m | 246 +++ .../Pods/FMDB/src/fmdb/FMDatabasePool.h | 200 +++ .../Pods/FMDB/src/fmdb/FMDatabasePool.m | 283 +++ .../Pods/FMDB/src/fmdb/FMDatabaseQueue.h | 182 ++ .../Pods/FMDB/src/fmdb/FMDatabaseQueue.m | 245 +++ .../Pods/FMDB/src/fmdb/FMResultSet.h | 468 +++++ .../Pods/FMDB/src/fmdb/FMResultSet.m | 422 +++++ .../SnowplowTracker.podspec.json | 65 + SnowplowSwiftDemo/Pods/Manifest.lock | 27 + .../Pods/Pods.xcodeproj/project.pbxproj | 1594 +++++++++++++++++ .../Pods/Reachability/LICENCE.txt | 24 + SnowplowSwiftDemo/Pods/Reachability/README.md | 75 + .../Pods/Reachability/Reachability.h | 95 + .../Pods/Reachability/Reachability.m | 469 +++++ SnowplowSwiftDemo/Pods/SwiftTryCatch/LICENSE | 22 + .../Pods/SwiftTryCatch/README.md | 24 + .../Pods/SwiftTryCatch/SwiftTryCatch.h | 38 + .../Pods/SwiftTryCatch/SwiftTryCatch.m | 58 + .../Target Support Files/FMDB/FMDB-dummy.m | 5 + .../Target Support Files/FMDB/FMDB-prefix.pch | 12 + .../Target Support Files/FMDB/FMDB-umbrella.h | 22 + .../Target Support Files/FMDB/FMDB.modulemap | 6 + .../Target Support Files/FMDB/FMDB.xcconfig | 10 + .../Pods/Target Support Files/FMDB/Info.plist | 26 + .../Pods-SnowplowSwiftDemo/Info.plist | 26 + ...nowplowSwiftDemo-acknowledgements.markdown | 278 +++ ...s-SnowplowSwiftDemo-acknowledgements.plist | 328 ++++ .../Pods-SnowplowSwiftDemo-dummy.m | 5 + .../Pods-SnowplowSwiftDemo-frameworks.sh | 150 ++ .../Pods-SnowplowSwiftDemo-resources.sh | 106 ++ .../Pods-SnowplowSwiftDemo-umbrella.h | 16 + .../Pods-SnowplowSwiftDemo.debug.xcconfig | 9 + .../Pods-SnowplowSwiftDemo.modulemap | 6 + .../Pods-SnowplowSwiftDemo.release.xcconfig | 9 + .../Pods-SnowplowSwiftDemoTests/Info.plist | 26 + ...owSwiftDemoTests-acknowledgements.markdown | 3 + ...wplowSwiftDemoTests-acknowledgements.plist | 29 + .../Pods-SnowplowSwiftDemoTests-dummy.m | 5 + .../Pods-SnowplowSwiftDemoTests-frameworks.sh | 137 ++ .../Pods-SnowplowSwiftDemoTests-resources.sh | 106 ++ .../Pods-SnowplowSwiftDemoTests-umbrella.h | 16 + ...Pods-SnowplowSwiftDemoTests.debug.xcconfig | 8 + .../Pods-SnowplowSwiftDemoTests.modulemap | 6 + ...ds-SnowplowSwiftDemoTests.release.xcconfig | 8 + .../Pods-SnowplowSwiftDemoUITests/Info.plist | 26 + ...SwiftDemoUITests-acknowledgements.markdown | 3 + ...lowSwiftDemoUITests-acknowledgements.plist | 29 + .../Pods-SnowplowSwiftDemoUITests-dummy.m | 5 + ...ods-SnowplowSwiftDemoUITests-frameworks.sh | 137 ++ ...Pods-SnowplowSwiftDemoUITests-resources.sh | 106 ++ .../Pods-SnowplowSwiftDemoUITests-umbrella.h | 16 + ...ds-SnowplowSwiftDemoUITests.debug.xcconfig | 8 + .../Pods-SnowplowSwiftDemoUITests.modulemap | 6 + ...-SnowplowSwiftDemoUITests.release.xcconfig | 8 + .../Reachability/Info.plist | 26 + .../Reachability/Reachability-dummy.m | 5 + .../Reachability/Reachability-prefix.pch | 12 + .../Reachability/Reachability-umbrella.h | 17 + .../Reachability/Reachability.modulemap | 6 + .../Reachability/Reachability.xcconfig | 10 + .../SnowplowTracker/Info.plist | 26 + .../SnowplowTracker/SnowplowTracker-dummy.m | 5 + .../SnowplowTracker-prefix.pch | 12 + .../SnowplowTracker-umbrella.h | 25 + .../SnowplowTracker/SnowplowTracker.modulemap | 6 + .../SnowplowTracker/SnowplowTracker.xcconfig | 11 + .../SwiftTryCatch/Info.plist | 26 + .../SwiftTryCatch/SwiftTryCatch-dummy.m | 5 + .../SwiftTryCatch/SwiftTryCatch-prefix.pch | 12 + .../SwiftTryCatch/SwiftTryCatch-umbrella.h | 17 + .../SwiftTryCatch/SwiftTryCatch.modulemap | 6 + .../SwiftTryCatch/SwiftTryCatch.xcconfig | 9 + .../project.pbxproj | 809 +++++++++ .../contents.xcworkspacedata | 10 + .../SnowplowSwiftDemo/AppDelegate.swift | 94 + .../AppIcon.appiconset/Contents.json | 98 + .../Base.lproj/LaunchScreen.storyboard | 25 + .../Base.lproj/Main.storyboard | 227 +++ .../SnowplowSwiftDemo/DemoUtils.swift | 249 +++ .../SnowplowSwiftDemo/Info.plist | 50 + .../SnowplowSwiftDemo-Bridging-Header.h | 19 + .../SnowplowSwiftDemo.entitlements | 8 + .../.xccurrentversion | 8 + .../SnowplowSwiftDemo.xcdatamodel/contents | 12 + .../SnowplowSwiftDemo/ViewController.swift | 168 ++ .../SnowplowSwiftDemoTests/Info.plist | 22 + .../SnowplowSwiftDemoTests.swift | 36 + .../SnowplowSwiftDemoUITests/Info.plist | 22 + .../SnowplowSwiftDemoUITests.swift | 36 + 133 files changed, 12482 insertions(+), 399 deletions(-) rename Pods/SnowplowIgluClient/SnowplowIgluResources/{Resources => IGLUResources}/iglu-client-embedded/schemas/com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-0 (100%) create mode 100644 Pods/SnowplowIgluClient/SnowplowIgluResources/IGLUResources/iglu-client-embedded/schemas/com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-1 create mode 100644 Pods/SnowplowIgluClient/SnowplowIgluResources/IGLUResources/iglu-client-embedded/schemas/com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-2 rename Pods/SnowplowIgluClient/SnowplowIgluResources/{Resources => IGLUResources}/iglu-client-embedded/schemas/com.snowplowanalytics.self-desc/instance-iglu-only/jsonschema/1-0-0 (100%) create mode 100644 SnowplowSwiftDemo/Podfile create mode 100644 SnowplowSwiftDemo/Podfile.lock create mode 100644 SnowplowSwiftDemo/Pods/FMDB/LICENSE.txt create mode 100644 SnowplowSwiftDemo/Pods/FMDB/README.markdown create mode 100644 SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDB.h create mode 100644 SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabase.h create mode 100644 SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabase.m create mode 100644 SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabaseAdditions.h create mode 100644 SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabaseAdditions.m create mode 100644 SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabasePool.h create mode 100644 SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabasePool.m create mode 100644 SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabaseQueue.h create mode 100644 SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabaseQueue.m create mode 100644 SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMResultSet.h create mode 100644 SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMResultSet.m create mode 100644 SnowplowSwiftDemo/Pods/Local Podspecs/SnowplowTracker.podspec.json create mode 100644 SnowplowSwiftDemo/Pods/Manifest.lock create mode 100644 SnowplowSwiftDemo/Pods/Pods.xcodeproj/project.pbxproj create mode 100644 SnowplowSwiftDemo/Pods/Reachability/LICENCE.txt create mode 100644 SnowplowSwiftDemo/Pods/Reachability/README.md create mode 100644 SnowplowSwiftDemo/Pods/Reachability/Reachability.h create mode 100644 SnowplowSwiftDemo/Pods/Reachability/Reachability.m create mode 100644 SnowplowSwiftDemo/Pods/SwiftTryCatch/LICENSE create mode 100644 SnowplowSwiftDemo/Pods/SwiftTryCatch/README.md create mode 100644 SnowplowSwiftDemo/Pods/SwiftTryCatch/SwiftTryCatch.h create mode 100644 SnowplowSwiftDemo/Pods/SwiftTryCatch/SwiftTryCatch.m create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB-dummy.m create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB-prefix.pch create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB-umbrella.h create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB.modulemap create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB.xcconfig create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/FMDB/Info.plist create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Info.plist create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-acknowledgements.markdown create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-acknowledgements.plist create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-dummy.m create mode 100755 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-frameworks.sh create mode 100755 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-resources.sh create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-umbrella.h create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo.debug.xcconfig create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo.modulemap create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo.release.xcconfig create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Info.plist create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-acknowledgements.markdown create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-acknowledgements.plist create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-dummy.m create mode 100755 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-frameworks.sh create mode 100755 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-resources.sh create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-umbrella.h create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests.debug.xcconfig create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests.modulemap create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests.release.xcconfig create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Info.plist create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-acknowledgements.markdown create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-acknowledgements.plist create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-dummy.m create mode 100755 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-frameworks.sh create mode 100755 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-resources.sh create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-umbrella.h create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests.debug.xcconfig create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests.modulemap create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests.release.xcconfig create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Info.plist create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability-dummy.m create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability-prefix.pch create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability-umbrella.h create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability.modulemap create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability.xcconfig create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/Info.plist create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker-dummy.m create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker-prefix.pch create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker-umbrella.h create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker.modulemap create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker.xcconfig create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/Info.plist create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch-dummy.m create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch-prefix.pch create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch-umbrella.h create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch.modulemap create mode 100644 SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch.xcconfig create mode 100644 SnowplowSwiftDemo/SnowplowSwiftDemo.xcodeproj/project.pbxproj create mode 100644 SnowplowSwiftDemo/SnowplowSwiftDemo.xcworkspace/contents.xcworkspacedata create mode 100644 SnowplowSwiftDemo/SnowplowSwiftDemo/AppDelegate.swift create mode 100644 SnowplowSwiftDemo/SnowplowSwiftDemo/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 SnowplowSwiftDemo/SnowplowSwiftDemo/Base.lproj/LaunchScreen.storyboard create mode 100644 SnowplowSwiftDemo/SnowplowSwiftDemo/Base.lproj/Main.storyboard create mode 100644 SnowplowSwiftDemo/SnowplowSwiftDemo/DemoUtils.swift create mode 100644 SnowplowSwiftDemo/SnowplowSwiftDemo/Info.plist create mode 100644 SnowplowSwiftDemo/SnowplowSwiftDemo/SnowplowSwiftDemo-Bridging-Header.h create mode 100644 SnowplowSwiftDemo/SnowplowSwiftDemo/SnowplowSwiftDemo.entitlements create mode 100644 SnowplowSwiftDemo/SnowplowSwiftDemo/SnowplowSwiftDemo.xcdatamodeld/.xccurrentversion create mode 100644 SnowplowSwiftDemo/SnowplowSwiftDemo/SnowplowSwiftDemo.xcdatamodeld/SnowplowSwiftDemo.xcdatamodel/contents create mode 100644 SnowplowSwiftDemo/SnowplowSwiftDemo/ViewController.swift create mode 100644 SnowplowSwiftDemo/SnowplowSwiftDemoTests/Info.plist create mode 100644 SnowplowSwiftDemo/SnowplowSwiftDemoTests/SnowplowSwiftDemoTests.swift create mode 100644 SnowplowSwiftDemo/SnowplowSwiftDemoUITests/Info.plist create mode 100644 SnowplowSwiftDemo/SnowplowSwiftDemoUITests/SnowplowSwiftDemoUITests.swift diff --git a/.travis.yml b/.travis.yml index e9d4d2e67..7df4bd0fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,11 +11,9 @@ rvm: - 2.2.2 before_install: - - gem install cocoapods -v '1.3.1' + - gem install cocoapods -v '1.4.0' - gem install slather - gem install xcpretty -N --no-ri --no-rdoc - - brew update - - if brew outdated | grep -qx xctool; then brew upgrade xctool; fi - pod install script: diff --git a/Podfile.lock b/Podfile.lock index 2bc25c1a8..7dd9f6c59 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -7,7 +7,7 @@ PODS: - KiteJSONValidator/KiteJSONResources (0.2.3) - Nocilla (0.11.0) - Reachability (3.2) - - SnowplowIgluClient (0.1.0): + - SnowplowIgluClient (0.1.1): - KiteJSONValidator (~> 0.2.3) DEPENDENCIES: @@ -21,8 +21,8 @@ SPEC CHECKSUMS: KiteJSONValidator: 9692df579aab9d195c68d4cab992cfd37d8744ab Nocilla: 7af7a386071150cc8aa5da4da97d060f049dd61c Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96 - SnowplowIgluClient: 117bb17597bffc5504a05ad27e1e4c93f90f3cc7 + SnowplowIgluClient: 7c4a00d7a866f4f36608356c3fb9d9771cf9f9f2 -PODFILE CHECKSUM: 7cb9857db6eb8c536a935c789bba0af5b9f23005 +PODFILE CHECKSUM: b0adbada8be7fdc33a4d3e9ff0a0e5d9337a0113 -COCOAPODS: 1.3.1 +COCOAPODS: 1.4.0 diff --git a/Pods/Manifest.lock b/Pods/Manifest.lock index 2bc25c1a8..7dd9f6c59 100644 --- a/Pods/Manifest.lock +++ b/Pods/Manifest.lock @@ -7,7 +7,7 @@ PODS: - KiteJSONValidator/KiteJSONResources (0.2.3) - Nocilla (0.11.0) - Reachability (3.2) - - SnowplowIgluClient (0.1.0): + - SnowplowIgluClient (0.1.1): - KiteJSONValidator (~> 0.2.3) DEPENDENCIES: @@ -21,8 +21,8 @@ SPEC CHECKSUMS: KiteJSONValidator: 9692df579aab9d195c68d4cab992cfd37d8744ab Nocilla: 7af7a386071150cc8aa5da4da97d060f049dd61c Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96 - SnowplowIgluClient: 117bb17597bffc5504a05ad27e1e4c93f90f3cc7 + SnowplowIgluClient: 7c4a00d7a866f4f36608356c3fb9d9771cf9f9f2 -PODFILE CHECKSUM: 7cb9857db6eb8c536a935c789bba0af5b9f23005 +PODFILE CHECKSUM: b0adbada8be7fdc33a4d3e9ff0a0e5d9337a0113 -COCOAPODS: 1.3.1 +COCOAPODS: 1.4.0 diff --git a/Pods/Pods.xcodeproj/project.pbxproj b/Pods/Pods.xcodeproj/project.pbxproj index 3db649e43..cb322f9f9 100644 --- a/Pods/Pods.xcodeproj/project.pbxproj +++ b/Pods/Pods.xcodeproj/project.pbxproj @@ -7,44 +7,37 @@ objects = { /* Begin PBXBuildFile section */ + 001AD4CAF9FED3EBC91C4D869C903E09 /* LSMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 8DBBE0968B9402FDF97CED4BA602C25E /* LSMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; 013A9BE21A9CF33555893AA781410FB0 /* FMDB-macOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D70B1910E175494A11CA7FFE10E013A /* FMDB-macOS-dummy.m */; }; - 0155F6C39719782A45203565600E42DF /* Resources in Resources */ = {isa = PBXBuildFile; fileRef = 6DA346DBDCB5CBA6A7B889ADB1825000 /* Resources */; }; 02C344D231D1442C2644A289199F0871 /* Pods-SnowplowTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 16458E292E0171D44C431F7A413ADCE2 /* Pods-SnowplowTests-dummy.m */; }; - 04CC997796360DE0D3D33A08230F01E4 /* FMDatabaseQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = 75B593868B1605E526BC31D20063C45C /* FMDatabaseQueue.h */; settings = {ATTRIBUTES = (Public, ); }; }; 0633F02F53ECA6A560C787CFABE76655 /* LSStubResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = F9A0DEDAC17EE86C80DCBB435C5D1B95 /* LSStubResponse.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 069D002506A5267B8B67332595295247 /* LSStubRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = 9F06651269E81C127F4F27DFEA85BF12 /* LSStubRequest.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 075F97788289BA72796FDB319E003341 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B31CC1BB1168D456AC9585F8B5938A6 /* Cocoa.framework */; }; + 090CB1D7F7AA0852214CDA8E6F19C454 /* NSRegularExpression+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 28DB6381C3AB341EEF7835F2A20A73B6 /* NSRegularExpression+Matcheable.h */; settings = {ATTRIBUTES = (Project, ); }; }; 0A1A411A728BCAFBAB7511DA5C40F99F /* NSString+Nocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = B0FA5E3DFA2ED0C683D541AFE94176C8 /* NSString+Nocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 0BA1A7C6612401730B1237CC1BCE390E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F267E93FCF133BE45DBE6C4C9C42EE75 /* Foundation.framework */; }; - 0F4ACBD4E1FBC054DC1BA46FADFEC497 /* IGLUClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 52E11A1EBE298E375FA03667C2BBCDB9 /* IGLUClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; 10099736B02DB2B48E28DC910AE914D3 /* KiteValidationPair.m in Sources */ = {isa = PBXBuildFile; fileRef = A6A9C6898564712533E77920717FF920 /* KiteValidationPair.m */; }; 11990D3823103D8D4ECBB2AD37049B88 /* FMDatabasePool.m in Sources */ = {isa = PBXBuildFile; fileRef = E3DEAD35CA1A51BB5820373D632D2017 /* FMDatabasePool.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 11D9A4092AB873A9332CEBA2904CCE14 /* LSNSURLHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 97F265E0E78B3822C6A7AA3D3EC8D0BC /* LSNSURLHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 136976CD902FD165CC59B777ECCC3D9A /* IGLUConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = AB574CFEE2326EE923EECD8C7FB42095 /* IGLUConstants.m */; }; - 146C44404207507192C6D2F3077F9555 /* LSNocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = FA6A2105E71FA33C61ED8441CD925682 /* LSNocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; 149D6B2B0CBF399B8A74DE2A2220B3F0 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F267E93FCF133BE45DBE6C4C9C42EE75 /* Foundation.framework */; }; 14BEC8215D795E3DDDAA615C8DA6B984 /* ASIHTTPRequestStub.h in Headers */ = {isa = PBXBuildFile; fileRef = 22C39291A128638266EEC2A69AB348F0 /* ASIHTTPRequestStub.h */; settings = {ATTRIBUTES = (Project, ); }; }; 14EDED684D20707367B537F4A914B97C /* IGLUResolver.m in Sources */ = {isa = PBXBuildFile; fileRef = CABAFA9061EC59B5DCCE269AC8FCF345 /* IGLUResolver.m */; }; 152EE6E3C943CCAC396131F796C3D7C7 /* LSNSURLSessionHook.h in Headers */ = {isa = PBXBuildFile; fileRef = CA7BCADB5B9D4EDBB246F2D904C56F35 /* LSNSURLSessionHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 19D16A9FB2BEAA9FFD3A2974036CFD4E /* FMDatabaseAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 7EC561D8494288FE0087E70BA4820F3F /* FMDatabaseAdditions.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 19F9D50C2E54AF4DF0FD55B621723CF5 /* FMDatabasePool.h in Headers */ = {isa = PBXBuildFile; fileRef = F35AAB4A67435A4A2AB73F6013196FEC /* FMDatabasePool.h */; settings = {ATTRIBUTES = (Public, ); }; }; 1A1668E8B9E9A7AB8B5C1CBD00E80676 /* IGLUConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = AB574CFEE2326EE923EECD8C7FB42095 /* IGLUConstants.m */; }; 1A2BEBB910FFF33F21A9B157FCD45788 /* NSRegularExpression+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = 76C2C88093E7C8407D361EADC6FFD515 /* NSRegularExpression+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 1A396C0DE6875E9E63392ABFD0E239E7 /* LSASIHTTPRequestAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = 9BF3958710383651C08758B4EA17845A /* LSASIHTTPRequestAdapter.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 1A9886C8EC0C7B8D266A9BB22BC98F31 /* IGLUConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = 3AE95751CF43CD6D3BF746FA23A2079E /* IGLUConstants.h */; settings = {ATTRIBUTES = (Public, ); }; }; 1BAB6CA3821DA9395981A9E193C2931C /* LSHTTPResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = E5426926018908BD43879088E1469A8D /* LSHTTPResponse.h */; settings = {ATTRIBUTES = (Project, ); }; }; 1CEE68116EB0E6AEB6D925F8BE3EC304 /* LSStubResponseDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 74F5AC0FC461D20DEC0CA80710049F7E /* LSStubResponseDSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 1D617E666D72E2260A479902C0F966E0 /* NSString+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = 8A4D27452043AD349F8E95D41C4AD3D3 /* NSString+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 1EDEC07C088A108F7E2C18501C6924DC /* FMDatabase.h in Headers */ = {isa = PBXBuildFile; fileRef = BA44B6C3B9D56679A82A35D20A9AE54F /* FMDatabase.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 1FC76C2D9B7A7A46595CDBFB00EF6CCD /* NSRegularExpression+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 28DB6381C3AB341EEF7835F2A20A73B6 /* NSRegularExpression+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; 1FDD5D767CF4B435EB73FD872AD6FCA3 /* LSMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 7E482CAAB0728E2C44571E48755EDE15 /* LSMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 20710AC936F0B9B87CA5470C1FC24A0E /* IGLUResources in Resources */ = {isa = PBXBuildFile; fileRef = 21B8A6CD0EBCF2ABA51E287383D7F9F8 /* IGLUResources */; }; 2229D796F7E735770694C485FA8CE033 /* LSDataMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 91A81F725D8CBEE146E220C85E3430E7 /* LSDataMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 225C43E2AB3C0F1455178FAF99FE0714 /* LSDataMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 461BA16EC06E09BEC31530FCF9EBF9B2 /* LSDataMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 22EADB6960C34D488F572F8ABB84D2E3 /* LSStubResponseDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 005B08A1CFBC332069ACC572CA879FA7 /* LSStubResponseDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; 2760A06CD618A14DE174AA4120AA9BCA /* LSMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 7E482CAAB0728E2C44571E48755EDE15 /* LSMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 27EBFAF82350836D55A9CC18E890B994 /* LSHTTPRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 4685F2935067A9F3C6B8E25A6BA23CE4 /* LSHTTPRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 27F201BFBA3181DCA031753818E52987 /* KiteJSONValidator.h in Headers */ = {isa = PBXBuildFile; fileRef = 8589C03988922FEE2A25FF356259D6BD /* KiteJSONValidator.h */; settings = {ATTRIBUTES = (Public, ); }; }; 2A863062F97D947C97007FE91739C7EC /* KiteJSONValidator.m in Sources */ = {isa = PBXBuildFile; fileRef = A2FBAD5D97D565118DEBA8F7445CA366 /* KiteJSONValidator.m */; }; + 2B06E43BD77002E9F63F584C5B2385FB /* LSStubRequestDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DFA61B60A8021EE5DC5A96A67E7A0A5 /* LSStubRequestDSL.h */; settings = {ATTRIBUTES = (Project, ); }; }; 2B320A3B621E7B710D01B20D4189078D /* FMDatabaseQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = 69734A1BE1A3B7BF228A44E93D3295FC /* FMDatabaseQueue.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 2B424757BD97CDA0A352F19FD8DA03C4 /* Nocilla-macOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 2410C1E37785ECED3C0B8562F0C86180 /* Nocilla-macOS-dummy.m */; }; 2F1B31FC9925C5A2AB45B67F4B85AA3B /* LSStubResponseDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 74F5AC0FC461D20DEC0CA80710049F7E /* LSStubResponseDSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; @@ -52,46 +45,48 @@ 3272F2C9CC0E0FE21E63560C262C5207 /* SnowplowIgluClient-macOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 319A55DCAC7863E8803C47F0A9964D79 /* SnowplowIgluClient-macOS-dummy.m */; }; 333E15F245698C9CC07E3DED6DF656C1 /* LSHTTPClientHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 71560D7C9F4A15234D5EC26D5112F4EA /* LSHTTPClientHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 3436E4FBF992568A0821EF96F4763ED4 /* Nocilla-iOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F1ABC97B167A55DFB339D0BA98083C62 /* Nocilla-iOS-dummy.m */; }; + 347D55ACB1E24A14F4F25EBCBE2E94CF /* LSHTTPBody.h in Headers */ = {isa = PBXBuildFile; fileRef = 95E1AC98C4E5E64775B68DA6C26A55F3 /* LSHTTPBody.h */; settings = {ATTRIBUTES = (Project, ); }; }; 35588010754872EDF7A8175F5289767F /* NSURLRequest+LSHTTPRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B44A4E2DED8C1C7FA92EB405036F973 /* NSURLRequest+LSHTTPRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; 35A2F7D8D906F631D5F73D2BCC3DFCD5 /* LSStubRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = 9F06651269E81C127F4F27DFEA85BF12 /* LSStubRequest.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 370033384DAC1F31E94919960320FA6E /* NSData+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 9561E6F7A084E6BAA48C6B47A57A6CF6 /* NSData+Matcheable.h */; settings = {ATTRIBUTES = (Project, ); }; }; 372475D1D553FA4D8BFD1702909468F2 /* FMDatabasePool.m in Sources */ = {isa = PBXBuildFile; fileRef = E3DEAD35CA1A51BB5820373D632D2017 /* FMDatabasePool.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 3885FB70EBEF9C87C4A7FEA369C95C26 /* LSMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 8DBBE0968B9402FDF97CED4BA602C25E /* LSMatcher.h */; settings = {ATTRIBUTES = (Public, ); }; }; 39CB419A21E28D2D8A0BC6D0160749DE /* KiteJSONValidator.m in Sources */ = {isa = PBXBuildFile; fileRef = A2FBAD5D97D565118DEBA8F7445CA366 /* KiteJSONValidator.m */; }; 39DADA190C87181E6B078C0582DBCF88 /* KiteValidationPair.m in Sources */ = {isa = PBXBuildFile; fileRef = A6A9C6898564712533E77920717FF920 /* KiteValidationPair.m */; }; - 3A0F5EDC795886735E8B5DFF43CD9FCC /* NSString+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 4E502259AAD0F007581FC196EBE56D86 /* NSString+Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; 3C94CF5B48B9BC24748A52EAF7345889 /* LSStringMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 06A6815024646AF79A1F291215E47C92 /* LSStringMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 3EB7E6C17A75C5755CA721EA166FDB99 /* IGLUUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = BAD643502F041A988BA31EF96CD8E669 /* IGLUUtilities.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3F819C537790C0A26D13ECF57F4D9CA1 /* FMDatabaseAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 7EC561D8494288FE0087E70BA4820F3F /* FMDatabaseAdditions.h */; settings = {ATTRIBUTES = (Project, ); }; }; 401C7167342CA314BDE2648BF6558FB4 /* LSHTTPStubURLProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 0B286A22A1774A0552DCFCEE1D2A3ECF /* LSHTTPStubURLProtocol.h */; settings = {ATTRIBUTES = (Project, ); }; }; 40CCF1B34F054F61C7D94E27B0DEFE91 /* LSStubRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = BDA2F9E77B347A5E78FF2AFBBD6343BC /* LSStubRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; 42DCC8F17877956C4A4D713EF5BCDBA6 /* NSData+Nocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = B8F83DD235A746FB174A80D56108D8D0 /* NSData+Nocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 45116A41C3E5E5905F758E2FC911047D /* LSMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 8DBBE0968B9402FDF97CED4BA602C25E /* LSMatcher.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 480A91F18E3D56D8048D92AD02CF8B75 /* KiteJSONValidator.h in Headers */ = {isa = PBXBuildFile; fileRef = 8589C03988922FEE2A25FF356259D6BD /* KiteJSONValidator.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 4977FCFF6EEDF220779057AC6BF10741 /* FMDB.h in Headers */ = {isa = PBXBuildFile; fileRef = B3613A0AAC7DCE353CD44B10AFA386B0 /* FMDB.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 49A7F5F128739E50DFDB2934E749BB56 /* LSMatcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 11F18BBC17BF9681CDC88A16D0BDC53D /* LSMatcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 44A3A4BA2704B49C03DF759BEE5ABE79 /* NSRegularExpression+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 28DB6381C3AB341EEF7835F2A20A73B6 /* NSRegularExpression+Matcheable.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 498122EC92FC967B9960A00A319E5F03 /* Reachability.h in Headers */ = {isa = PBXBuildFile; fileRef = 7FBF7E8081DE55BAE429778899452B18 /* Reachability.h */; settings = {ATTRIBUTES = (Project, ); }; }; 4B078459C18EA1AA8414D51557BB1F6F /* NSURLRequest+LSHTTPRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B44A4E2DED8C1C7FA92EB405036F973 /* NSURLRequest+LSHTTPRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; 4B5EB9B5A1F2C1CF41F525DAA629A01C /* LSStringMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = CAC11164B395429144DEF339CAD3D62C /* LSStringMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; 4C0E9F4F85C207818215CE9722767DCC /* NSURLRequest+DSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 3E11BDB9861A965B2BFCF91B578484A4 /* NSURLRequest+DSL.h */; settings = {ATTRIBUTES = (Project, ); }; }; 4D0B907B61C4FC2324F1949A156EE431 /* ASIHTTPRequestStub.m in Sources */ = {isa = PBXBuildFile; fileRef = 1414DC576697AE1F35797FD6ABB84711 /* ASIHTTPRequestStub.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 4D726BFEC99F4690FBDD60C8D13C9B7B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F267E93FCF133BE45DBE6C4C9C42EE75 /* Foundation.framework */; }; 502927E9B6397EDF5360BC461BE2E1F7 /* LSASIHTTPRequestAdapter.h in Headers */ = {isa = PBXBuildFile; fileRef = F47C53627D7D0FB10D89D1AD25C25766 /* LSASIHTTPRequestAdapter.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 51ABF7FBABA986F40C5E65B9B3EF13C0 /* LSStubRequestDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DFA61B60A8021EE5DC5A96A67E7A0A5 /* LSStubRequestDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 57E7941CFC1D1E92657080A82C11B99D /* KiteValidationPair.h in Headers */ = {isa = PBXBuildFile; fileRef = 8F96BE65F9D2CC7B04944CB9F5A25D90 /* KiteValidationPair.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 57E415FE8892F3E24FF57A016D3B1FCB /* NSData+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 6FF3A96DBD9CD3BC6EDFBD41354E4AA7 /* NSData+Nocilla.h */; settings = {ATTRIBUTES = (Project, ); }; }; 5A69327207B32BB7F90D9AD1E9AC5F74 /* LSASIHTTPRequestHook.m in Sources */ = {isa = PBXBuildFile; fileRef = CA10DF491C5CC8FD051956005A6F2768 /* LSASIHTTPRequestHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 5F40B36E695DFBF3362B8AC291F593D2 /* LSNocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = FA6A2105E71FA33C61ED8441CD925682 /* LSNocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 5DF621B4A98B9C45CCCDC6B631437FE8 /* NSString+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 4E502259AAD0F007581FC196EBE56D86 /* NSString+Nocilla.h */; settings = {ATTRIBUTES = (Project, ); }; }; 5F972A0002C33617C96ECC728AD674C6 /* LSHTTPRequestDiff.m in Sources */ = {isa = PBXBuildFile; fileRef = 9FC3E736129919177513F5B153575A36 /* LSHTTPRequestDiff.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 5FE2C9E51F165FA2615F5BED1DF83EEC /* Reachability-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 9343EA56702E5EEEE29F67B1AACB9055 /* Reachability-dummy.m */; }; 62341ACC5A0597405DED1ADDC4CD3F28 /* LSStubResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 5609133E1A8653A9783B48658B606AD7 /* LSStubResponse.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 63740AF3F08A50E60095581168A2776B /* NSString+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 4E502259AAD0F007581FC196EBE56D86 /* NSString+Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 63BE861F5C4F9F4B1E6D6DA4D80950DE /* LSNocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = FA6A2105E71FA33C61ED8441CD925682 /* LSNocilla.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 64F01B69292E80AF874712A0044821DC /* LSMatcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 11F18BBC17BF9681CDC88A16D0BDC53D /* LSMatcheable.h */; settings = {ATTRIBUTES = (Project, ); }; }; 66917AC5AF24672CCC14DECC86252B87 /* KiteJSONValidator-iOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D05291DE14B2CADED42326863D760BA3 /* KiteJSONValidator-iOS-dummy.m */; }; 683FE35728C5C69508460CC61C82D2FC /* LSHTTPClientHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 71560D7C9F4A15234D5EC26D5112F4EA /* LSHTTPClientHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 68880755CB13355DD76B0F481EA8288E /* NSString+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = 8A4D27452043AD349F8E95D41C4AD3D3 /* NSString+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 688D3DFB896A95DE1F3ED5AFCA39179C /* LSNSURLSessionHook.h in Headers */ = {isa = PBXBuildFile; fileRef = CA7BCADB5B9D4EDBB246F2D904C56F35 /* LSNSURLSessionHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; 6BA1609B900890A240FF3EA7488C9146 /* FMResultSet.m in Sources */ = {isa = PBXBuildFile; fileRef = A7AF51739020623019D185FAD49132F7 /* FMResultSet.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 6C46EE8A383233F16832FDE4F7DEEC00 /* FMDB.h in Headers */ = {isa = PBXBuildFile; fileRef = B3613A0AAC7DCE353CD44B10AFA386B0 /* FMDB.h */; settings = {ATTRIBUTES = (Project, ); }; }; 6CF95C3D4A2BFC55F63F4816E2A9484A /* LSNSURLHook.h in Headers */ = {isa = PBXBuildFile; fileRef = 8FCC9AB09655AE75C7F8BB75FACE2534 /* LSNSURLHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 6E0E1EF645987D9890FB2E5822AABDA3 /* FMDatabaseQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = 75B593868B1605E526BC31D20063C45C /* FMDatabaseQueue.h */; settings = {ATTRIBUTES = (Project, ); }; }; 6E1B17C831D333EA064137CDA64AB10E /* LSASIHTTPRequestHook.h in Headers */ = {isa = PBXBuildFile; fileRef = 76D335D8AD818F4E68DD216903ADD450 /* LSASIHTTPRequestHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 6E5A9D7007874C9A1364E61B1351012D /* NSString+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = A734CB5F21398FEE3F777B1A4D99918F /* NSString+Matcheable.h */; settings = {ATTRIBUTES = (Project, ); }; }; 6EABFFAA4E720804A04C5984CDC34CB6 /* NSString+Nocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = B0FA5E3DFA2ED0C683D541AFE94176C8 /* NSString+Nocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 6EDB895A61BF0FA43D09ACF9D7B12FAD /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B31CC1BB1168D456AC9585F8B5938A6 /* Cocoa.framework */; }; 700ED71C333C2C235F819C5E267EA9A8 /* LSRegexMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = EB99CEB0A93F3A864C98E0C75EC6A6B5 /* LSRegexMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 70564F0788A61E62FFEBA9A566DACA57 /* KiteJSONValidator.h in Headers */ = {isa = PBXBuildFile; fileRef = 8589C03988922FEE2A25FF356259D6BD /* KiteJSONValidator.h */; settings = {ATTRIBUTES = (Project, ); }; }; 707FD386778D8FC98AA1997EB24848A5 /* FMResultSet.m in Sources */ = {isa = PBXBuildFile; fileRef = A7AF51739020623019D185FAD49132F7 /* FMResultSet.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 70D4EDA40ED5A01A1F45B3D3755EAE88 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F267E93FCF133BE45DBE6C4C9C42EE75 /* Foundation.framework */; }; 724EC00602A7FE63062EB190D7DADEB9 /* IGLUResolver.h in Headers */ = {isa = PBXBuildFile; fileRef = 970D9F5F3E63DC981D87A72130A1D144 /* IGLUResolver.h */; settings = {ATTRIBUTES = (Project, ); }; }; @@ -102,107 +97,112 @@ 7794B05FE8A8E8BABCFD5C32AFDDE0EA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B31CC1BB1168D456AC9585F8B5938A6 /* Cocoa.framework */; }; 78234FC549909F33C005DD17D95AE480 /* IGLUClient.m in Sources */ = {isa = PBXBuildFile; fileRef = 60660904DEC1601402E89199704D06C8 /* IGLUClient.m */; }; 784BD41F2609E066A97BA5D40561BBF5 /* LSRegexMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 6268EB8902543C18DB1CFD73B6F63EDB /* LSRegexMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 7928CF1E8885812F8E15C28AB4CC1EAD /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = D6701D4C3ADE0B1B7ACE9ED84131D53D /* Info.plist */; }; 79B7C8156F1EAC9624B22B299DF636A9 /* LSRegexMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = EB99CEB0A93F3A864C98E0C75EC6A6B5 /* LSRegexMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 7A59006FF9D663D329D970230A821C40 /* LSHTTPRequestDSLRepresentation.h in Headers */ = {isa = PBXBuildFile; fileRef = 114305AC43F0381D3BEB644295B47B2C /* LSHTTPRequestDSLRepresentation.h */; settings = {ATTRIBUTES = (Project, ); }; }; 7C4136D366BD85977B065304692B5D22 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B31CC1BB1168D456AC9585F8B5938A6 /* Cocoa.framework */; }; 7C5995FEB9FD036B5D58DFA4F5F6FBFD /* LSHTTPRequestDSLRepresentation.m in Sources */ = {isa = PBXBuildFile; fileRef = CB6B9FD7A8FA6CC9792ACBF498A4EE46 /* LSHTTPRequestDSLRepresentation.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 7E3496D79496A727236388EB6156D3CB /* Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 7397945DE5C4B5F261EFFBAFAA822223 /* Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7D18F6F2585468F6E03EE8A52D0D3630 /* KiteJSONValidator.h in Headers */ = {isa = PBXBuildFile; fileRef = 8589C03988922FEE2A25FF356259D6BD /* KiteJSONValidator.h */; settings = {ATTRIBUTES = (Project, ); }; }; 7F55DBBFE79FA8ED8537A8280159768E /* FMDatabaseAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 9128BFEF8FE4891C99445FDCFFE78E03 /* FMDatabaseAdditions.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 815DF8FD31496A731E0DAF9C9176EFFB /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = F157F9698ED97FB4504E257F9669047B /* Info.plist */; }; - 83077D81DB97779FCA575A509AF629E4 /* Reachability.h in Headers */ = {isa = PBXBuildFile; fileRef = 7FBF7E8081DE55BAE429778899452B18 /* Reachability.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 82ADCAB035E25D948BC76F53BDCDD0E6 /* LSNocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = FA6A2105E71FA33C61ED8441CD925682 /* LSNocilla.h */; settings = {ATTRIBUTES = (Project, ); }; }; 84DA3016883BDB6F918FEC18DF442D5C /* LSHTTPStubURLProtocol.m in Sources */ = {isa = PBXBuildFile; fileRef = 384B08D95D656F877F80FF83769004B0 /* LSHTTPStubURLProtocol.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 879AB1CBA9EED4CCE98458CE5F1E5D7E /* IGLUConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = 3AE95751CF43CD6D3BF746FA23A2079E /* IGLUConstants.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8500C995C3C4C666103D66244F1549DA /* NSString+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 4E502259AAD0F007581FC196EBE56D86 /* NSString+Nocilla.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 850C526C46B0C4BB7711E945826F400F /* LSMatcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 11F18BBC17BF9681CDC88A16D0BDC53D /* LSMatcheable.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 86CE06EFF2A93973467000647A169D8C /* IGLUUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = BAD643502F041A988BA31EF96CD8E669 /* IGLUUtilities.h */; settings = {ATTRIBUTES = (Project, ); }; }; 87E0CFF4CD51459924C6C15A9C1F2459 /* Pods-BaseTests-Snowplow-OSXTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DC458247CF054B73A2AD19B3358B714B /* Pods-BaseTests-Snowplow-OSXTests-dummy.m */; }; - 8A76A176F19405E07719F06869D7276C /* KiteValidationPair.h in Headers */ = {isa = PBXBuildFile; fileRef = 8F96BE65F9D2CC7B04944CB9F5A25D90 /* KiteValidationPair.h */; settings = {ATTRIBUTES = (Public, ); }; }; 8A9A5FFD292E8874C1D76E839E617623 /* LSStringMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = CAC11164B395429144DEF339CAD3D62C /* LSStringMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; 8C2D0E3CFD63109D853366796431BD92 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F267E93FCF133BE45DBE6C4C9C42EE75 /* Foundation.framework */; }; - 8C7C6929434919BBDBB2CB239D5C6C3C /* NSString+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = A734CB5F21398FEE3F777B1A4D99918F /* NSString+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 8F441DD61B9527E23D66AEB7C3D19B4C /* IGLUClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 52E11A1EBE298E375FA03667C2BBCDB9 /* IGLUClient.h */; settings = {ATTRIBUTES = (Public, ); }; }; 90924286367A5AF9A7E9A58F373A848D /* ASIHTTPRequestStub.h in Headers */ = {isa = PBXBuildFile; fileRef = 22C39291A128638266EEC2A69AB348F0 /* ASIHTTPRequestStub.h */; settings = {ATTRIBUTES = (Project, ); }; }; 90CC7BE37CD2B5712AC6F6F4099165BD /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EAD68D4CD882FF157F9A55571E9E0D1C /* Foundation.framework */; }; 912906753B0F781239190AF5D3EA5D9E /* NSURLRequest+DSL.m in Sources */ = {isa = PBXBuildFile; fileRef = A0C666BCEB314BF588D404531D283584 /* NSURLRequest+DSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 9153E5BF8A61DE2467D88E74EBF84F3D /* NSData+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = 23B20A7ECC52097785A9EFC22B61DB27 /* NSData+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 92544896E3B9D84080A59312CA1F493A /* NSData+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 6FF3A96DBD9CD3BC6EDFBD41354E4AA7 /* NSData+Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 92E66DAFFB64EC05BE0FF61B45A1C9AE /* FMResultSet.h in Headers */ = {isa = PBXBuildFile; fileRef = E1F2C16ED93C93C622316F7A11F87C19 /* FMResultSet.h */; settings = {ATTRIBUTES = (Public, ); }; }; 94019631294A4F64E94CDD706660F78C /* IGLUClient.m in Sources */ = {isa = PBXBuildFile; fileRef = 60660904DEC1601402E89199704D06C8 /* IGLUClient.m */; }; 961984E46D10F466DC71534763F3F37B /* ASIHTTPRequestStub.m in Sources */ = {isa = PBXBuildFile; fileRef = 1414DC576697AE1F35797FD6ABB84711 /* ASIHTTPRequestStub.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 968D8418599C172CDB395444A6E56718 /* Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 7397945DE5C4B5F261EFFBAFAA822223 /* Nocilla.h */; settings = {ATTRIBUTES = (Project, ); }; }; 96E75AA428E459D1F6EF6CD5D98DF34A /* LSHTTPStubURLProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 0B286A22A1774A0552DCFCEE1D2A3ECF /* LSHTTPStubURLProtocol.h */; settings = {ATTRIBUTES = (Project, ); }; }; - 98CFA9AAD643D65AFFDC1108103BB606 /* Resources in Resources */ = {isa = PBXBuildFile; fileRef = 6DA346DBDCB5CBA6A7B889ADB1825000 /* Resources */; }; - 9BB627F44D4B6088B5D87E184E3C38DE /* LSHTTPBody.h in Headers */ = {isa = PBXBuildFile; fileRef = 95E1AC98C4E5E64775B68DA6C26A55F3 /* LSHTTPBody.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 9CEB06FA24A20B9CC3015FAA8BA6BC0E /* IGLUUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = BAD643502F041A988BA31EF96CD8E669 /* IGLUUtilities.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 979A114B75101E9DB3345B51263EFAB9 /* IGLUResources in Resources */ = {isa = PBXBuildFile; fileRef = 21B8A6CD0EBCF2ABA51E287383D7F9F8 /* IGLUResources */; }; 9D25B118EABBF0FC2B794F8BC0335A8F /* FMDatabase.m in Sources */ = {isa = PBXBuildFile; fileRef = DEF84D28BAF9700777031CD340BF9E8F /* FMDatabase.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 9DB803DF3C2A127206EA661BC8450F37 /* FMDatabaseAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 7EC561D8494288FE0087E70BA4820F3F /* FMDatabaseAdditions.h */; settings = {ATTRIBUTES = (Public, ); }; }; 9E083778629F786DA65CBBF5C042E6DC /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 282CD4D3FCF019164E598AAC7A357B8B /* CFNetwork.framework */; }; 9E3F0416598C32B08D58CD6B775181FD /* NSData+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = 23B20A7ECC52097785A9EFC22B61DB27 /* NSData+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - 9EA7B5E389F1122A3594B04808891763 /* FMDatabasePool.h in Headers */ = {isa = PBXBuildFile; fileRef = F35AAB4A67435A4A2AB73F6013196FEC /* FMDatabasePool.h */; settings = {ATTRIBUTES = (Public, ); }; }; 9F7D1D389BCA38338D93A3FB16FCDD8D /* LSStringMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 06A6815024646AF79A1F291215E47C92 /* LSStringMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - A0692DAEAF81068E21563E2D66A5F3D5 /* FMDB.h in Headers */ = {isa = PBXBuildFile; fileRef = B3613A0AAC7DCE353CD44B10AFA386B0 /* FMDB.h */; settings = {ATTRIBUTES = (Public, ); }; }; A0B22B7D5EDACE27C7DD6773DDC94B56 /* LSNSURLSessionHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 2DE61107459B3193FC65CCA9AADBF85D /* LSNSURLSessionHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; A127A5C731791CA1E835B8ED7BD1ADB6 /* LSHTTPRequestDiff.h in Headers */ = {isa = PBXBuildFile; fileRef = A0F541DDE70936E53781A22BC3337A2A /* LSHTTPRequestDiff.h */; settings = {ATTRIBUTES = (Project, ); }; }; A3C49DC7556CD37D578315FABA73D607 /* LSHTTPRequestDSLRepresentation.h in Headers */ = {isa = PBXBuildFile; fileRef = 114305AC43F0381D3BEB644295B47B2C /* LSHTTPRequestDSLRepresentation.h */; settings = {ATTRIBUTES = (Project, ); }; }; A3F942D00A30DED43CCFC8C1900270D3 /* KiteJSONValidator-macOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F35D7F5175D27EF2F3A6A589197AF898 /* KiteJSONValidator-macOS-dummy.m */; }; A6A092C6B7B755B42B815DD0E615EED5 /* IGLUSchema.m in Sources */ = {isa = PBXBuildFile; fileRef = CD8FF4C8CA1B893E97DA03A4DE093A99 /* IGLUSchema.m */; }; A6EB0A9F8CB45D40966B1B5DB816CFEE /* Pods-Base-Snowplow-OSX-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3903FF17DACCDCFDCCC6A5847CC426C8 /* Pods-Base-Snowplow-OSX-dummy.m */; }; - ACC920743F151E9A9F52EBEB310852AE /* NSData+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 9561E6F7A084E6BAA48C6B47A57A6CF6 /* NSData+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; + ACAB2B1F5B70F78E90378CF42F29B3F2 /* FMDatabasePool.h in Headers */ = {isa = PBXBuildFile; fileRef = F35AAB4A67435A4A2AB73F6013196FEC /* FMDatabasePool.h */; settings = {ATTRIBUTES = (Project, ); }; }; AD45188D00058051B51406AE7895BBEF /* FMDatabaseQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = 69734A1BE1A3B7BF228A44E93D3295FC /* FMDatabaseQueue.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; AE957A4E5B193E865085879321EE2B3F /* LSDataMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 461BA16EC06E09BEC31530FCF9EBF9B2 /* LSDataMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; AF18ED37152823BC43D21D0A6E396E19 /* IGLUSchema.h in Headers */ = {isa = PBXBuildFile; fileRef = 458F6E35F46EC4ADB11FA58C9E535634 /* IGLUSchema.h */; settings = {ATTRIBUTES = (Project, ); }; }; B001EDE592C2A505DDA3DAF47C68B739 /* LSHTTPStubURLProtocol.m in Sources */ = {isa = PBXBuildFile; fileRef = 384B08D95D656F877F80FF83769004B0 /* LSHTTPStubURLProtocol.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; B1567B2C6B2434C1A99F70E10F7BECCB /* Reachability.m in Sources */ = {isa = PBXBuildFile; fileRef = 3A6734F5DBA030CCF05AEB32693BF472 /* Reachability.m */; }; - B5252BD95F26B4103E30553D1169E8EB /* LSStubResponseDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 005B08A1CFBC332069ACC572CA879FA7 /* LSStubResponseDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B1A8F6DB7BE1036C4EEFA025C8C621A1 /* IGLUConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = 3AE95751CF43CD6D3BF746FA23A2079E /* IGLUConstants.h */; settings = {ATTRIBUTES = (Project, ); }; }; + B3F0395468955545F682F5C5044FC9C9 /* KiteValidationPair.h in Headers */ = {isa = PBXBuildFile; fileRef = 8F96BE65F9D2CC7B04944CB9F5A25D90 /* KiteValidationPair.h */; settings = {ATTRIBUTES = (Project, ); }; }; B7069D37CFC59A653E7393F20FE537AC /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B31CC1BB1168D456AC9585F8B5938A6 /* Cocoa.framework */; }; - B750F1746FB325E700E30C3C4A11494D /* FMDatabase.h in Headers */ = {isa = PBXBuildFile; fileRef = BA44B6C3B9D56679A82A35D20A9AE54F /* FMDatabase.h */; settings = {ATTRIBUTES = (Public, ); }; }; BA08BA33F45C066C03ACD38290B6A5F5 /* LSHTTPRequestDiff.m in Sources */ = {isa = PBXBuildFile; fileRef = 9FC3E736129919177513F5B153575A36 /* LSHTTPRequestDiff.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; BA58BB5C6FB11D66C2132218F81F8D37 /* LSHTTPRequestDiff.h in Headers */ = {isa = PBXBuildFile; fileRef = A0F541DDE70936E53781A22BC3337A2A /* LSHTTPRequestDiff.h */; settings = {ATTRIBUTES = (Project, ); }; }; - BB631B452D43D122E2BBDD4C3454E1AF /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = F157F9698ED97FB4504E257F9669047B /* Info.plist */; }; + BB31CB66AB8D484F9B54AA0A48C95C64 /* FMDatabasePool.h in Headers */ = {isa = PBXBuildFile; fileRef = F35AAB4A67435A4A2AB73F6013196FEC /* FMDatabasePool.h */; settings = {ATTRIBUTES = (Project, ); }; }; BCC6174493E6CD287BA07786DD0B5127 /* LSStubRequestDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 59CD8822B6CAFD2A04A0F18B4EDEA4EB /* LSStubRequestDSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + BD759F3F29841FDD481F82479C3F7D63 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = D6701D4C3ADE0B1B7ACE9ED84131D53D /* Info.plist */; }; + BDB17DF015A5D24F46A763785B1DD878 /* FMDB.h in Headers */ = {isa = PBXBuildFile; fileRef = B3613A0AAC7DCE353CD44B10AFA386B0 /* FMDB.h */; settings = {ATTRIBUTES = (Project, ); }; }; + BFCB9B91962861851510CC9B5972A3C0 /* LSHTTPBody.h in Headers */ = {isa = PBXBuildFile; fileRef = 95E1AC98C4E5E64775B68DA6C26A55F3 /* LSHTTPBody.h */; settings = {ATTRIBUTES = (Project, ); }; }; C2800F207B0C48C728186E508C919AB1 /* FMDatabaseAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 9128BFEF8FE4891C99445FDCFFE78E03 /* FMDatabaseAdditions.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; C32D46CD65CA374D861D3DF77A21ED68 /* LSNSURLHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 97F265E0E78B3822C6A7AA3D3EC8D0BC /* LSNSURLHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; C3B3C1EA60A370E1B4381BA8DB6AEFC4 /* IGLUUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = 18A24299B447CC4657BEC3DD75FE2A91 /* IGLUUtilities.m */; }; C46B74BBF596477E31CDEC71AB353553 /* LSNocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = 007C35FE1C980C5D61A7C15948499392 /* LSNocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - C4D92745368E9B8E7487F318C77C45B5 /* Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 7397945DE5C4B5F261EFFBAFAA822223 /* Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; C516FB29EA3E61634D15308F4DCED720 /* LSHTTPClientHook.h in Headers */ = {isa = PBXBuildFile; fileRef = F426AE2D29EDB2CE91601AADF5DB091C /* LSHTTPClientHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; C7A563BB4EE9B1210104E1993238B9A9 /* LSHTTPRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 4685F2935067A9F3C6B8E25A6BA23CE4 /* LSHTTPRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; C9C59099531F886685095573F0FBC9EC /* IGLUSchema.m in Sources */ = {isa = PBXBuildFile; fileRef = CD8FF4C8CA1B893E97DA03A4DE093A99 /* IGLUSchema.m */; }; CB64B4A8258BB6ACF7E1103D40B215C1 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 71F216E484028B60992DE8C0B6C99F18 /* CFNetwork.framework */; }; CC706F57A10F3B4E26FA1F12067A9C08 /* NSURLRequest+LSHTTPRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = E164678CF27A18EC61ED2BA4A6688571 /* NSURLRequest+LSHTTPRequest.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; CE9C3D6DBA3881CDBF088837160A35CE /* LSHTTPRequestDSLRepresentation.m in Sources */ = {isa = PBXBuildFile; fileRef = CB6B9FD7A8FA6CC9792ACBF498A4EE46 /* LSHTTPRequestDSLRepresentation.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + CFEB59FD27F66B78C38A09411FE06184 /* FMResultSet.h in Headers */ = {isa = PBXBuildFile; fileRef = E1F2C16ED93C93C622316F7A11F87C19 /* FMResultSet.h */; settings = {ATTRIBUTES = (Project, ); }; }; D026DF0CE8BB17CC0767B8F19C36E5CF /* NSRegularExpression+Matcheable.m in Sources */ = {isa = PBXBuildFile; fileRef = 76C2C88093E7C8407D361EADC6FFD515 /* NSRegularExpression+Matcheable.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; D047A7BA76CC7F2E2E492AA0066C6494 /* schema in Resources */ = {isa = PBXBuildFile; fileRef = 6281E7A0056094742AA93FFFFC94C323 /* schema */; }; D0D15160256B6F404B7B4AA33FC7B09C /* NSData+Nocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = B8F83DD235A746FB174A80D56108D8D0 /* NSData+Nocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + D1BB743A923E5B1E5F992269682BCE53 /* IGLUConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = 3AE95751CF43CD6D3BF746FA23A2079E /* IGLUConstants.h */; settings = {ATTRIBUTES = (Project, ); }; }; + D1DF9C3745AA0241620D94024361A76D /* LSMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 8DBBE0968B9402FDF97CED4BA602C25E /* LSMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; + D31C0368691561772EA2A453CD799329 /* LSStubRequestDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DFA61B60A8021EE5DC5A96A67E7A0A5 /* LSStubRequestDSL.h */; settings = {ATTRIBUTES = (Project, ); }; }; D34C0927A648E65823A8EC33A68E5AC2 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B31CC1BB1168D456AC9585F8B5938A6 /* Cocoa.framework */; }; D48073C2840C393F79C9160149EC7E0F /* LSDataMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 91A81F725D8CBEE146E220C85E3430E7 /* LSDataMatcher.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - D5943CF49D5DD54802F644F523CC3FC2 /* LSHTTPBody.h in Headers */ = {isa = PBXBuildFile; fileRef = 95E1AC98C4E5E64775B68DA6C26A55F3 /* LSHTTPBody.h */; settings = {ATTRIBUTES = (Public, ); }; }; - D5F101ED58188832CA11E423FF6628F9 /* NSData+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 6FF3A96DBD9CD3BC6EDFBD41354E4AA7 /* NSData+Nocilla.h */; settings = {ATTRIBUTES = (Public, ); }; }; D645F0C80D121EC84E44CF50E5CF79D8 /* schema in Resources */ = {isa = PBXBuildFile; fileRef = 6281E7A0056094742AA93FFFFC94C323 /* schema */; }; D65D12A4BBB29F83A1FB3EEAE7EA35D0 /* IGLUUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = 18A24299B447CC4657BEC3DD75FE2A91 /* IGLUUtilities.m */; }; D6C51CB168FE88897E876F601590920D /* NSURLRequest+DSL.m in Sources */ = {isa = PBXBuildFile; fileRef = A0C666BCEB314BF588D404531D283584 /* NSURLRequest+DSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + D6EED951813DD517532784687F8FBA83 /* LSStubResponseDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 005B08A1CFBC332069ACC572CA879FA7 /* LSStubResponseDSL.h */; settings = {ATTRIBUTES = (Project, ); }; }; D8C16A8516A230361333C853287B3584 /* LSHTTPClientHook.h in Headers */ = {isa = PBXBuildFile; fileRef = F426AE2D29EDB2CE91601AADF5DB091C /* LSHTTPClientHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; + DB361037F91A074917650F587D12C879 /* FMDatabaseAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 7EC561D8494288FE0087E70BA4820F3F /* FMDatabaseAdditions.h */; settings = {ATTRIBUTES = (Project, ); }; }; DD1FC229B451FDEEC80FCD1B9B334653 /* NSURLRequest+LSHTTPRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = E164678CF27A18EC61ED2BA4A6688571 /* NSURLRequest+LSHTTPRequest.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - DE2341C2703E6D06F313AD4FF8E2F9C3 /* LSMatcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 11F18BBC17BF9681CDC88A16D0BDC53D /* LSMatcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E25CB7E9955E3ECFA9CB32D3A41E5FBC /* FMResultSet.h in Headers */ = {isa = PBXBuildFile; fileRef = E1F2C16ED93C93C622316F7A11F87C19 /* FMResultSet.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E50D962EDAC0258EA05A54005D35E65B /* NSRegularExpression+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 28DB6381C3AB341EEF7835F2A20A73B6 /* NSRegularExpression+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E5A5BE859C921FA16966DEF7CA83D1CB /* FMDatabaseQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = 75B593868B1605E526BC31D20063C45C /* FMDatabaseQueue.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E5CE480AEC7F59196C7FB988C70AFA1F /* NSData+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 9561E6F7A084E6BAA48C6B47A57A6CF6 /* NSData+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; + DD44DD80B833706117EFEB3255719AC3 /* IGLUUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = BAD643502F041A988BA31EF96CD8E669 /* IGLUUtilities.h */; settings = {ATTRIBUTES = (Project, ); }; }; + DF4A8F2C4D3D830338FC01B16F06FCC8 /* IGLUClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 52E11A1EBE298E375FA03667C2BBCDB9 /* IGLUClient.h */; settings = {ATTRIBUTES = (Project, ); }; }; + E6A42785D49B9F659F69DE00A073E4AB /* FMResultSet.h in Headers */ = {isa = PBXBuildFile; fileRef = E1F2C16ED93C93C622316F7A11F87C19 /* FMResultSet.h */; settings = {ATTRIBUTES = (Project, ); }; }; + E7B60CF6A4E3666AEA6DA4E0483483B7 /* NSData+Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 6FF3A96DBD9CD3BC6EDFBD41354E4AA7 /* NSData+Nocilla.h */; settings = {ATTRIBUTES = (Project, ); }; }; E88D498DE89FBFDCFE27B84FDAD4C5FC /* LSRegexMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 6268EB8902543C18DB1CFD73B6F63EDB /* LSRegexMatcher.h */; settings = {ATTRIBUTES = (Project, ); }; }; E8E22AC5FA804AD257019B631773EED0 /* LSStubRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = BDA2F9E77B347A5E78FF2AFBBD6343BC /* LSStubRequest.h */; settings = {ATTRIBUTES = (Project, ); }; }; + EA12D39311FB9736F4DFF248CE39DE0C /* FMDatabase.h in Headers */ = {isa = PBXBuildFile; fileRef = BA44B6C3B9D56679A82A35D20A9AE54F /* FMDatabase.h */; settings = {ATTRIBUTES = (Project, ); }; }; EA5894DBA8EEA32D5BCD15AF1CAA2706 /* LSASIHTTPRequestAdapter.h in Headers */ = {isa = PBXBuildFile; fileRef = F47C53627D7D0FB10D89D1AD25C25766 /* LSASIHTTPRequestAdapter.h */; settings = {ATTRIBUTES = (Project, ); }; }; EAE08121957B62DDB5736FE05C4C0E2B /* IGLUResolver.m in Sources */ = {isa = PBXBuildFile; fileRef = CABAFA9061EC59B5DCCE269AC8FCF345 /* IGLUResolver.m */; }; - EBE5D1CDDF02583235D6C130E1096BF8 /* LSStubRequestDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DFA61B60A8021EE5DC5A96A67E7A0A5 /* LSStubRequestDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F12F6E0F73A68F2F5A606BE2ADF214AD /* FMDatabaseQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = 75B593868B1605E526BC31D20063C45C /* FMDatabaseQueue.h */; settings = {ATTRIBUTES = (Project, ); }; }; F184A31E69E1121F2CC58EF0BBFA9271 /* FMDB-iOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C47D7292631AC5A0B8F33554A4D25CAC /* FMDB-iOS-dummy.m */; }; F1D03FC6480C37BCFBF40EC18DB830A0 /* LSNocilla.m in Sources */ = {isa = PBXBuildFile; fileRef = 007C35FE1C980C5D61A7C15948499392 /* LSNocilla.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; F1D5859B9A9B9F588B64ECFE4C9E53AF /* LSStubResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 5609133E1A8653A9783B48658B606AD7 /* LSStubResponse.h */; settings = {ATTRIBUTES = (Project, ); }; }; F2071531146CBFCB80CBFD3DC4907F50 /* LSNSURLSessionHook.m in Sources */ = {isa = PBXBuildFile; fileRef = 2DE61107459B3193FC65CCA9AADBF85D /* LSNSURLSessionHook.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; F24AEE01D8B040CAAFBB95B363E7A8A2 /* LSHTTPResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = E5426926018908BD43879088E1469A8D /* LSHTTPResponse.h */; settings = {ATTRIBUTES = (Project, ); }; }; F3C5716104C3C94519FE276B8CBA1A07 /* LSStubResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = F9A0DEDAC17EE86C80DCBB435C5D1B95 /* LSStubResponse.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + F438F5D7DA97BA2CA94FB792F3D868C8 /* NSString+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = A734CB5F21398FEE3F777B1A4D99918F /* NSString+Matcheable.h */; settings = {ATTRIBUTES = (Project, ); }; }; + F48AB66CCD7F8EC1F7F82549DD37F51A /* LSStubResponseDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 005B08A1CFBC332069ACC572CA879FA7 /* LSStubResponseDSL.h */; settings = {ATTRIBUTES = (Project, ); }; }; + F5702FB388C7B51C72F109E78C3B8532 /* NSData+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = 9561E6F7A084E6BAA48C6B47A57A6CF6 /* NSData+Matcheable.h */; settings = {ATTRIBUTES = (Project, ); }; }; + F777C4CACC62CC6890A67BF11D1A0323 /* Nocilla.h in Headers */ = {isa = PBXBuildFile; fileRef = 7397945DE5C4B5F261EFFBAFAA822223 /* Nocilla.h */; settings = {ATTRIBUTES = (Project, ); }; }; + F81CBEB8E21F72C9E670F0893DC00012 /* KiteValidationPair.h in Headers */ = {isa = PBXBuildFile; fileRef = 8F96BE65F9D2CC7B04944CB9F5A25D90 /* KiteValidationPair.h */; settings = {ATTRIBUTES = (Project, ); }; }; F8D51D32D1CB2BBF507114F9C903E96F /* NSURLRequest+DSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 3E11BDB9861A965B2BFCF91B578484A4 /* NSURLRequest+DSL.h */; settings = {ATTRIBUTES = (Project, ); }; }; F982C85F96312F1FA0C5E3DEE9C662EE /* LSASIHTTPRequestAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = 9BF3958710383651C08758B4EA17845A /* LSASIHTTPRequestAdapter.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; FA176C33834B040EAC67FC035E568E55 /* Pods-Snowplow-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 94BDFE911E795F1604AFF33D83254F0B /* Pods-Snowplow-dummy.m */; }; FA17DC3AFE5ECA1315C85D252D56CEA3 /* LSASIHTTPRequestHook.h in Headers */ = {isa = PBXBuildFile; fileRef = 76D335D8AD818F4E68DD216903ADD450 /* LSASIHTTPRequestHook.h */; settings = {ATTRIBUTES = (Project, ); }; }; FA41A98FBE966E3B0EC0E404AB162FE0 /* SnowplowIgluClient-iOS-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 572D397B8E59E3D1D68E11392E0FECC1 /* SnowplowIgluClient-iOS-dummy.m */; }; + FB1077378D957EDDD8512B01F8D59C7B /* IGLUClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 52E11A1EBE298E375FA03667C2BBCDB9 /* IGLUClient.h */; settings = {ATTRIBUTES = (Project, ); }; }; FC0141E8CD4FAA8B08A68BEFF9BFD12D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F267E93FCF133BE45DBE6C4C9C42EE75 /* Foundation.framework */; }; FC248F6EB541AE4A58EB53576D0CB067 /* LSStubRequestDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 59CD8822B6CAFD2A04A0F18B4EDEA4EB /* LSStubRequestDSL.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; - FEC1AEEEC124B5E9E70DE6A687FCEDB9 /* NSString+Matcheable.h in Headers */ = {isa = PBXBuildFile; fileRef = A734CB5F21398FEE3F777B1A4D99918F /* NSString+Matcheable.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FED2D0C3E22BBD4BCF76F2A19A13A3D6 /* FMDatabase.h in Headers */ = {isa = PBXBuildFile; fileRef = BA44B6C3B9D56679A82A35D20A9AE54F /* FMDatabase.h */; settings = {ATTRIBUTES = (Project, ); }; }; FF134FF98D35A97B6EC3EC9C45EA0E1E /* IGLUResolver.h in Headers */ = {isa = PBXBuildFile; fileRef = 970D9F5F3E63DC981D87A72130A1D144 /* IGLUResolver.h */; settings = {ATTRIBUTES = (Project, ); }; }; FF4DB3A979375E58D29F8DCD4496D4CB /* FMDatabase.m in Sources */ = {isa = PBXBuildFile; fileRef = DEF84D28BAF9700777031CD340BF9E8F /* FMDatabase.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; /* End PBXBuildFile section */ @@ -330,11 +330,12 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 004736631289FE6FBD08C1078020F189 /* libReachability.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libReachability.a; path = libReachability.a; sourceTree = BUILT_PRODUCTS_DIR; }; 005B08A1CFBC332069ACC572CA879FA7 /* LSStubResponseDSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStubResponseDSL.h; path = Nocilla/DSL/LSStubResponseDSL.h; sourceTree = ""; }; 007C35FE1C980C5D61A7C15948499392 /* LSNocilla.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSNocilla.m; path = Nocilla/LSNocilla.m; sourceTree = ""; }; - 03FB23C08B559FFF1D45935F0EA6F548 /* libPods-Base-Snowplow-OSX.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libPods-Base-Snowplow-OSX.a"; path = "libPods-Base-Snowplow-OSX.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 06A6815024646AF79A1F291215E47C92 /* LSStringMatcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStringMatcher.m; path = Nocilla/Matchers/LSStringMatcher.m; sourceTree = ""; }; 0B286A22A1774A0552DCFCEE1D2A3ECF /* LSHTTPStubURLProtocol.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPStubURLProtocol.h; path = Nocilla/Hooks/NSURLRequest/LSHTTPStubURLProtocol.h; sourceTree = ""; }; + 0EB6370EC6BFC67FD03AC31F3CA43F4F /* libNocilla-iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libNocilla-iOS.a"; path = "libNocilla-iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 114305AC43F0381D3BEB644295B47B2C /* LSHTTPRequestDSLRepresentation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPRequestDSLRepresentation.h; path = Nocilla/DSL/LSHTTPRequestDSLRepresentation.h; sourceTree = ""; }; 11F18BBC17BF9681CDC88A16D0BDC53D /* LSMatcheable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSMatcheable.h; path = Nocilla/Matchers/LSMatcheable.h; sourceTree = ""; }; 1414DC576697AE1F35797FD6ABB84711 /* ASIHTTPRequestStub.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = ASIHTTPRequestStub.m; path = Nocilla/Hooks/ASIHTTPRequest/ASIHTTPRequestStub.m; sourceTree = ""; }; @@ -345,26 +346,27 @@ 1D2F902AD0378172A114E9CABB97F6E1 /* ResourceBundle-KiteJSONValidator-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ResourceBundle-KiteJSONValidator-Info.plist"; sourceTree = ""; }; 1DF7E565FBE8D9771AEB33F2ECE20853 /* SnowplowIgluClient-iOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SnowplowIgluClient-iOS-prefix.pch"; sourceTree = ""; }; 1F53A24F235833E314E5F4E617FD15C4 /* Pods-SnowplowTests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SnowplowTests-resources.sh"; sourceTree = ""; }; + 202E3EB045C38A85829E936389AF2147 /* libNocilla-macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libNocilla-macOS.a"; path = "libNocilla-macOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 21B8A6CD0EBCF2ABA51E287383D7F9F8 /* IGLUResources */ = {isa = PBXFileReference; includeInIndex = 1; name = IGLUResources; path = SnowplowIgluResources/IGLUResources; sourceTree = ""; }; 22C39291A128638266EEC2A69AB348F0 /* ASIHTTPRequestStub.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = ASIHTTPRequestStub.h; path = Nocilla/Hooks/ASIHTTPRequest/ASIHTTPRequestStub.h; sourceTree = ""; }; 23B20A7ECC52097785A9EFC22B61DB27 /* NSData+Matcheable.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSData+Matcheable.m"; path = "Nocilla/Matchers/NSData+Matcheable.m"; sourceTree = ""; }; - 23F925B3FC4D2FB7864690FCD7C7E8DD /* libPods-SnowplowTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libPods-SnowplowTests.a"; path = "libPods-SnowplowTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 2410C1E37785ECED3C0B8562F0C86180 /* Nocilla-macOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "Nocilla-macOS-dummy.m"; path = "../Nocilla-macOS/Nocilla-macOS-dummy.m"; sourceTree = ""; }; 252BDEA1712E5BCD11981F317900B92E /* Pods-BaseTests-Snowplow-OSXTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-BaseTests-Snowplow-OSXTests-acknowledgements.markdown"; sourceTree = ""; }; 2728FFAB08B4F54131E121F730808616 /* Pods-Base-Snowplow-OSX.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Base-Snowplow-OSX.debug.xcconfig"; sourceTree = ""; }; 282CD4D3FCF019164E598AAC7A357B8B /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/CFNetwork.framework; sourceTree = DEVELOPER_DIR; }; 28DB6381C3AB341EEF7835F2A20A73B6 /* NSRegularExpression+Matcheable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSRegularExpression+Matcheable.h"; path = "Nocilla/Matchers/NSRegularExpression+Matcheable.h"; sourceTree = ""; }; 28F6F2EE63E4C14DEC4763B9B8AAA522 /* Pods-SnowplowTests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SnowplowTests-frameworks.sh"; sourceTree = ""; }; - 29EE1BFDD4BBF81236D99AC496834801 /* libSnowplowIgluClient-macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libSnowplowIgluClient-macOS.a"; path = "libSnowplowIgluClient-macOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 2AFD6211F13071F5432E813278AAD079 /* libPods-BaseTests-Snowplow-OSXTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libPods-BaseTests-Snowplow-OSXTests.a"; path = "libPods-BaseTests-Snowplow-OSXTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 29873569994D674E0881727E413FC441 /* libKiteJSONValidator-macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libKiteJSONValidator-macOS.a"; path = "libKiteJSONValidator-macOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 2DE61107459B3193FC65CCA9AADBF85D /* LSNSURLSessionHook.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSNSURLSessionHook.m; path = Nocilla/Hooks/NSURLSession/LSNSURLSessionHook.m; sourceTree = ""; }; + 2F8D4C5369DAE778AD991394992AD2E9 /* libFMDB-macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libFMDB-macOS.a"; path = "libFMDB-macOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 300D76586BD1E5C5B7104CDB94A00119 /* Nocilla-iOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Nocilla-iOS-prefix.pch"; sourceTree = ""; }; 319A55DCAC7863E8803C47F0A9964D79 /* SnowplowIgluClient-macOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "SnowplowIgluClient-macOS-dummy.m"; path = "../SnowplowIgluClient-macOS/SnowplowIgluClient-macOS-dummy.m"; sourceTree = ""; }; + 34BB1FE7338A4C47D6585D1BCC7424E8 /* libPods-BaseTests-Snowplow-OSXTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libPods-BaseTests-Snowplow-OSXTests.a"; path = "libPods-BaseTests-Snowplow-OSXTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 384B08D95D656F877F80FF83769004B0 /* LSHTTPStubURLProtocol.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSHTTPStubURLProtocol.m; path = Nocilla/Hooks/NSURLRequest/LSHTTPStubURLProtocol.m; sourceTree = ""; }; 3903FF17DACCDCFDCCC6A5847CC426C8 /* Pods-Base-Snowplow-OSX-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Base-Snowplow-OSX-dummy.m"; sourceTree = ""; }; 3A6734F5DBA030CCF05AEB32693BF472 /* Reachability.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = Reachability.m; sourceTree = ""; }; 3AE95751CF43CD6D3BF746FA23A2079E /* IGLUConstants.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = IGLUConstants.h; path = SnowplowIgluClient/IGLUConstants.h; sourceTree = ""; }; 3E11BDB9861A965B2BFCF91B578484A4 /* NSURLRequest+DSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSURLRequest+DSL.h"; path = "Nocilla/Hooks/NSURLRequest/NSURLRequest+DSL.h"; sourceTree = ""; }; - 42AE2514B5234DEE94426306C092E633 /* libSnowplowIgluClient-iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libSnowplowIgluClient-iOS.a"; path = "libSnowplowIgluClient-iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 458F6E35F46EC4ADB11FA58C9E535634 /* IGLUSchema.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = IGLUSchema.h; path = SnowplowIgluClient/IGLUSchema.h; sourceTree = ""; }; 461BA16EC06E09BEC31530FCF9EBF9B2 /* LSDataMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSDataMatcher.h; path = Nocilla/Matchers/LSDataMatcher.h; sourceTree = ""; }; 4660094C8F974FD25E824922F608CEA6 /* Pods-BaseTests-Snowplow-OSXTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-BaseTests-Snowplow-OSXTests.debug.xcconfig"; sourceTree = ""; }; @@ -380,6 +382,7 @@ 53EB6A942D163B4266C3CA0270249F1F /* KiteJSONValidator-iOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KiteJSONValidator-iOS-prefix.pch"; sourceTree = ""; }; 5609133E1A8653A9783B48658B606AD7 /* LSStubResponse.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStubResponse.h; path = Nocilla/Stubs/LSStubResponse.h; sourceTree = ""; }; 567F2917C655CD4EBE8A02E4916E4142 /* Pods-BaseTests-Snowplow-OSXTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-BaseTests-Snowplow-OSXTests.release.xcconfig"; sourceTree = ""; }; + 56BE7592B801EE84C079856B6455B649 /* libSnowplowIgluClient-iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libSnowplowIgluClient-iOS.a"; path = "libSnowplowIgluClient-iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 572D397B8E59E3D1D68E11392E0FECC1 /* SnowplowIgluClient-iOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SnowplowIgluClient-iOS-dummy.m"; sourceTree = ""; }; 5978F6E4D790991DFD4D353E3EB9C394 /* KiteJSONValidator-macOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "KiteJSONValidator-macOS.xcconfig"; path = "../KiteJSONValidator-macOS/KiteJSONValidator-macOS.xcconfig"; sourceTree = ""; }; 59CD8822B6CAFD2A04A0F18B4EDEA4EB /* LSStubRequestDSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStubRequestDSL.m; path = Nocilla/DSL/LSStubRequestDSL.m; sourceTree = ""; }; @@ -390,15 +393,14 @@ 6270E44C6B59A4554F0C1CAB59DAA970 /* ResourceBundle-KiteJSONValidator-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = "ResourceBundle-KiteJSONValidator-Info.plist"; path = "../KiteJSONValidator-macOS/ResourceBundle-KiteJSONValidator-Info.plist"; sourceTree = ""; }; 6281E7A0056094742AA93FFFFC94C323 /* schema */ = {isa = PBXFileReference; includeInIndex = 1; name = schema; path = Resources/ReferenceSchemae/schema; sourceTree = ""; }; 634490E4F985862B19C041177E6ADF10 /* Reachability.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Reachability.xcconfig; sourceTree = ""; }; + 64C08C50AFB7E56C6D8592B3BF3DBE96 /* KiteJSONValidator.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = KiteJSONValidator.bundle; path = "KiteJSONValidator-macOS-KiteJSONValidator.bundle"; sourceTree = BUILT_PRODUCTS_DIR; }; 69734A1BE1A3B7BF228A44E93D3295FC /* FMDatabaseQueue.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FMDatabaseQueue.m; path = src/fmdb/FMDatabaseQueue.m; sourceTree = ""; }; 69778BF91DFC14C0246D51494970AAB9 /* Pods-SnowplowTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SnowplowTests.release.xcconfig"; sourceTree = ""; }; - 6B3733754AEFA70B91B977971F36DF99 /* libFMDB-macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libFMDB-macOS.a"; path = "libFMDB-macOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 6DA346DBDCB5CBA6A7B889ADB1825000 /* Resources */ = {isa = PBXFileReference; includeInIndex = 1; name = Resources; path = SnowplowIgluResources/Resources; sourceTree = ""; }; - 6FC0808B4BC3B0D8758E4C25C0B7F408 /* libNocilla-iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libNocilla-iOS.a"; path = "libNocilla-iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 6FF3A96DBD9CD3BC6EDFBD41354E4AA7 /* NSData+Nocilla.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSData+Nocilla.h"; path = "Nocilla/Categories/NSData+Nocilla.h"; sourceTree = ""; }; 71560D7C9F4A15234D5EC26D5112F4EA /* LSHTTPClientHook.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSHTTPClientHook.m; path = Nocilla/Hooks/LSHTTPClientHook.m; sourceTree = ""; }; 71F216E484028B60992DE8C0B6C99F18 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/CFNetwork.framework; sourceTree = DEVELOPER_DIR; }; 7397945DE5C4B5F261EFFBAFAA822223 /* Nocilla.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Nocilla.h; path = Nocilla/Nocilla.h; sourceTree = ""; }; + 73A64CE3254E812F97A0B35CDD753C39 /* libKiteJSONValidator-iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libKiteJSONValidator-iOS.a"; path = "libKiteJSONValidator-iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 74F5AC0FC461D20DEC0CA80710049F7E /* LSStubResponseDSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStubResponseDSL.m; path = Nocilla/DSL/LSStubResponseDSL.m; sourceTree = ""; }; 75B593868B1605E526BC31D20063C45C /* FMDatabaseQueue.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDatabaseQueue.h; path = src/fmdb/FMDatabaseQueue.h; sourceTree = ""; }; 76C2C88093E7C8407D361EADC6FFD515 /* NSRegularExpression+Matcheable.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSRegularExpression+Matcheable.m"; path = "Nocilla/Matchers/NSRegularExpression+Matcheable.m"; sourceTree = ""; }; @@ -409,8 +411,6 @@ 7FBF7E8081DE55BAE429778899452B18 /* Reachability.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = Reachability.h; sourceTree = ""; }; 7FD89AB8E333FCA6674D732007E22B98 /* Pods-Base-Snowplow-OSX-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Base-Snowplow-OSX-acknowledgements.markdown"; sourceTree = ""; }; 8589C03988922FEE2A25FF356259D6BD /* KiteJSONValidator.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = KiteJSONValidator.h; path = Sources/KiteJSONValidator.h; sourceTree = ""; }; - 85FE1D43BD5852E49AB4C3CC224AE7E5 /* libKiteJSONValidator-iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libKiteJSONValidator-iOS.a"; path = "libKiteJSONValidator-iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 8813B20A797494BB3095EC1AB0FD6893 /* libReachability.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libReachability.a; path = libReachability.a; sourceTree = BUILT_PRODUCTS_DIR; }; 8A4D27452043AD349F8E95D41C4AD3D3 /* NSString+Matcheable.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSString+Matcheable.m"; path = "Nocilla/Matchers/NSString+Matcheable.m"; sourceTree = ""; }; 8A62EADDBC9096FA6E71A443FE51E765 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; }; 8C62AF2DADEFDBC9741B04BC32B206BA /* ResourceBundle-SnowplowIgluResources-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = "ResourceBundle-SnowplowIgluResources-Info.plist"; path = "../SnowplowIgluClient-macOS/ResourceBundle-SnowplowIgluResources-Info.plist"; sourceTree = ""; }; @@ -433,6 +433,7 @@ 97C472B4CD81E7BCD91AE303F7362307 /* Pods-SnowplowTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SnowplowTests.debug.xcconfig"; sourceTree = ""; }; 97F265E0E78B3822C6A7AA3D3EC8D0BC /* LSNSURLHook.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSNSURLHook.m; path = Nocilla/Hooks/NSURLRequest/LSNSURLHook.m; sourceTree = ""; }; 9BF3958710383651C08758B4EA17845A /* LSASIHTTPRequestAdapter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSASIHTTPRequestAdapter.m; path = Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestAdapter.m; sourceTree = ""; }; + 9CC06F3F4AC0FC50B04A347F9F3DA939 /* libSnowplowIgluClient-macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libSnowplowIgluClient-macOS.a"; path = "libSnowplowIgluClient-macOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 9F06651269E81C127F4F27DFEA85BF12 /* LSStubRequest.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSStubRequest.m; path = Nocilla/Stubs/LSStubRequest.m; sourceTree = ""; }; 9FC3E736129919177513F5B153575A36 /* LSHTTPRequestDiff.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSHTTPRequestDiff.m; path = Nocilla/Diff/LSHTTPRequestDiff.m; sourceTree = ""; }; A0C666BCEB314BF588D404531D283584 /* NSURLRequest+DSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSURLRequest+DSL.m"; path = "Nocilla/Hooks/NSURLRequest/NSURLRequest+DSL.m"; sourceTree = ""; }; @@ -442,37 +443,39 @@ A72FE1C2831B247C7BCF4B41C5C66DFF /* Pods-Base-Snowplow-OSX-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Base-Snowplow-OSX-resources.sh"; sourceTree = ""; }; A734CB5F21398FEE3F777B1A4D99918F /* NSString+Matcheable.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSString+Matcheable.h"; path = "Nocilla/Matchers/NSString+Matcheable.h"; sourceTree = ""; }; A7AF51739020623019D185FAD49132F7 /* FMResultSet.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FMResultSet.m; path = src/fmdb/FMResultSet.m; sourceTree = ""; }; - A7B073F2FA6EB712A0553A0E9CDC56A4 /* SnowplowIgluResources.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = SnowplowIgluResources.bundle; path = SnowplowIgluResources.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; A8394F269A972A3A3DE840E583652BD4 /* Pods-SnowplowTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SnowplowTests-acknowledgements.markdown"; sourceTree = ""; }; AB574CFEE2326EE923EECD8C7FB42095 /* IGLUConstants.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = IGLUConstants.m; path = SnowplowIgluClient/IGLUConstants.m; sourceTree = ""; }; B0B463015554D16BF6FFED003E89B421 /* SnowplowIgluClient-macOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "SnowplowIgluClient-macOS.xcconfig"; path = "../SnowplowIgluClient-macOS/SnowplowIgluClient-macOS.xcconfig"; sourceTree = ""; }; B0F2CE575FBF067AB8D270129C12EA20 /* FMDB-macOS-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "FMDB-macOS-prefix.pch"; path = "../FMDB-macOS/FMDB-macOS-prefix.pch"; sourceTree = ""; }; B0FA5E3DFA2ED0C683D541AFE94176C8 /* NSString+Nocilla.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSString+Nocilla.m"; path = "Nocilla/Categories/NSString+Nocilla.m"; sourceTree = ""; }; - B250EBA24FF382F3623D7253E2D64D26 /* libFMDB-iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libFMDB-iOS.a"; path = "libFMDB-iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - B2607BC2DEC20E461D4E3FE260C68FA0 /* libKiteJSONValidator-macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libKiteJSONValidator-macOS.a"; path = "libKiteJSONValidator-macOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; B3613A0AAC7DCE353CD44B10AFA386B0 /* FMDB.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDB.h; path = src/fmdb/FMDB.h; sourceTree = ""; }; + B3C49C65363CA890879E49C805222460 /* libPods-Snowplow.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libPods-Snowplow.a"; path = "libPods-Snowplow.a"; sourceTree = BUILT_PRODUCTS_DIR; }; B5D4BF68E012DBCF3627E1F4572D5953 /* Pods-Snowplow-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Snowplow-acknowledgements.markdown"; sourceTree = ""; }; B8F83DD235A746FB174A80D56108D8D0 /* NSData+Nocilla.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSData+Nocilla.m"; path = "Nocilla/Categories/NSData+Nocilla.m"; sourceTree = ""; }; BA44B6C3B9D56679A82A35D20A9AE54F /* FMDatabase.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDatabase.h; path = src/fmdb/FMDatabase.h; sourceTree = ""; }; BAD643502F041A988BA31EF96CD8E669 /* IGLUUtilities.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = IGLUUtilities.h; path = SnowplowIgluClient/IGLUUtilities.h; sourceTree = ""; }; BDA2F9E77B347A5E78FF2AFBBD6343BC /* LSStubRequest.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStubRequest.h; path = Nocilla/Stubs/LSStubRequest.h; sourceTree = ""; }; BFDE8233D505CB069915C73BD480853B /* FMDB-iOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "FMDB-iOS.xcconfig"; sourceTree = ""; }; - C2489902E7F8654A5878CD54A4551E74 /* KiteJSONValidator.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = KiteJSONValidator.bundle; path = KiteJSONValidator.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; C47D7292631AC5A0B8F33554A4D25CAC /* FMDB-iOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "FMDB-iOS-dummy.m"; sourceTree = ""; }; + C70B61A363344F01EB43DDED92DAD8E6 /* SnowplowIgluResources.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = SnowplowIgluResources.bundle; path = "SnowplowIgluClient-macOS-SnowplowIgluResources.bundle"; sourceTree = BUILT_PRODUCTS_DIR; }; C8916269527CF05CAB49D363CDA43F39 /* Reachability-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Reachability-prefix.pch"; sourceTree = ""; }; + C976D31CB85933698F78EB737C6D0873 /* libFMDB-iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libFMDB-iOS.a"; path = "libFMDB-iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; CA10DF491C5CC8FD051956005A6F2768 /* LSASIHTTPRequestHook.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSASIHTTPRequestHook.m; path = Nocilla/Hooks/ASIHTTPRequest/LSASIHTTPRequestHook.m; sourceTree = ""; }; CA7BCADB5B9D4EDBB246F2D904C56F35 /* LSNSURLSessionHook.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSNSURLSessionHook.h; path = Nocilla/Hooks/NSURLSession/LSNSURLSessionHook.h; sourceTree = ""; }; CABAFA9061EC59B5DCCE269AC8FCF345 /* IGLUResolver.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = IGLUResolver.m; path = SnowplowIgluClient/IGLUResolver.m; sourceTree = ""; }; CAC11164B395429144DEF339CAD3D62C /* LSStringMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSStringMatcher.h; path = Nocilla/Matchers/LSStringMatcher.h; sourceTree = ""; }; CB6B9FD7A8FA6CC9792ACBF498A4EE46 /* LSHTTPRequestDSLRepresentation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSHTTPRequestDSLRepresentation.m; path = Nocilla/DSL/LSHTTPRequestDSLRepresentation.m; sourceTree = ""; }; - CC1D5058DE88B33DA3E8B7213318C074 /* libNocilla-macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libNocilla-macOS.a"; path = "libNocilla-macOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; CD8FF4C8CA1B893E97DA03A4DE093A99 /* IGLUSchema.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = IGLUSchema.m; path = SnowplowIgluClient/IGLUSchema.m; sourceTree = ""; }; + CFBFB03BFF92AB868AC9EF76481B4739 /* libPods-Base-Snowplow-OSX.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libPods-Base-Snowplow-OSX.a"; path = "libPods-Base-Snowplow-OSX.a"; sourceTree = BUILT_PRODUCTS_DIR; }; D05291DE14B2CADED42326863D760BA3 /* KiteJSONValidator-iOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "KiteJSONValidator-iOS-dummy.m"; sourceTree = ""; }; - D42CABE495597E0EF0F34017AA42551B /* libPods-Snowplow.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libPods-Snowplow.a"; path = "libPods-Snowplow.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + D07C59D40961C14BACDE2BF2DCBA5AB3 /* KiteJSONValidator.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = KiteJSONValidator.bundle; path = "KiteJSONValidator-iOS-KiteJSONValidator.bundle"; sourceTree = BUILT_PRODUCTS_DIR; }; D47BF69AC7A03BA092EA72F6B401C480 /* Nocilla-macOS.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Nocilla-macOS.xcconfig"; path = "../Nocilla-macOS/Nocilla-macOS.xcconfig"; sourceTree = ""; }; + D6701D4C3ADE0B1B7ACE9ED84131D53D /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = SnowplowIgluResources/Info.plist; sourceTree = ""; }; DC458247CF054B73A2AD19B3358B714B /* Pods-BaseTests-Snowplow-OSXTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-BaseTests-Snowplow-OSXTests-dummy.m"; sourceTree = ""; }; + DDA6D4077D8C2092A8A9A872813952E4 /* SnowplowIgluResources.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = SnowplowIgluResources.bundle; path = "SnowplowIgluClient-iOS-SnowplowIgluResources.bundle"; sourceTree = BUILT_PRODUCTS_DIR; }; DEF84D28BAF9700777031CD340BF9E8F /* FMDatabase.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FMDatabase.m; path = src/fmdb/FMDatabase.m; sourceTree = ""; }; E164678CF27A18EC61ED2BA4A6688571 /* NSURLRequest+LSHTTPRequest.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSURLRequest+LSHTTPRequest.m"; path = "Nocilla/Hooks/NSURLRequest/NSURLRequest+LSHTTPRequest.m"; sourceTree = ""; }; + E182162916ECB2022B2827A4ADE3646D /* libPods-SnowplowTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libPods-SnowplowTests.a"; path = "libPods-SnowplowTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; E1F2C16ED93C93C622316F7A11F87C19 /* FMResultSet.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMResultSet.h; path = src/fmdb/FMResultSet.h; sourceTree = ""; }; E3DEAD35CA1A51BB5820373D632D2017 /* FMDatabasePool.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FMDatabasePool.m; path = src/fmdb/FMDatabasePool.m; sourceTree = ""; }; E5426926018908BD43879088E1469A8D /* LSHTTPResponse.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = LSHTTPResponse.h; path = Nocilla/Model/LSHTTPResponse.h; sourceTree = ""; }; @@ -482,7 +485,6 @@ EAD68D4CD882FF157F9A55571E9E0D1C /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; EB99CEB0A93F3A864C98E0C75EC6A6B5 /* LSRegexMatcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = LSRegexMatcher.m; path = Nocilla/Matchers/LSRegexMatcher.m; sourceTree = ""; }; F06437FE425924A5A7B6150AB7D6B5C5 /* Pods-BaseTests-Snowplow-OSXTests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-BaseTests-Snowplow-OSXTests-resources.sh"; sourceTree = ""; }; - F157F9698ED97FB4504E257F9669047B /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = Info.plist; path = SnowplowIgluResources/Info.plist; sourceTree = ""; }; F1619DEE373D497F1436F269058231EB /* Pods-Base-Snowplow-OSX-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Base-Snowplow-OSX-frameworks.sh"; sourceTree = ""; }; F1ABC97B167A55DFB339D0BA98083C62 /* Nocilla-iOS-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Nocilla-iOS-dummy.m"; sourceTree = ""; }; F267E93FCF133BE45DBE6C4C9C42EE75 /* 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; }; @@ -726,6 +728,15 @@ path = "Target Support Files/Pods-Snowplow"; sourceTree = ""; }; + 4E0A2CEB78F2B6E4351E054A5469D16B /* Resources */ = { + isa = PBXGroup; + children = ( + 21B8A6CD0EBCF2ABA51E287383D7F9F8 /* IGLUResources */, + D6701D4C3ADE0B1B7ACE9ED84131D53D /* Info.plist */, + ); + name = Resources; + sourceTree = ""; + }; 544E509C035632C6EB7FD6AC7DD713FA /* Frameworks */ = { isa = PBXGroup; children = ( @@ -746,15 +757,6 @@ path = "../Target Support Files/Reachability"; sourceTree = ""; }; - 683BCE72604A1A2CC5D4134475A316DB /* Resources */ = { - isa = PBXGroup; - children = ( - F157F9698ED97FB4504E257F9669047B /* Info.plist */, - 6DA346DBDCB5CBA6A7B889ADB1825000 /* Resources */, - ); - name = Resources; - sourceTree = ""; - }; 6FC2DF4F257DC1C04A0F7661F2F67A6A /* Support Files */ = { isa = PBXGroup; children = ( @@ -769,30 +771,6 @@ path = "../Target Support Files/Nocilla-iOS"; sourceTree = ""; }; - 70419A03DE20278ACEDBEA38E8437DD0 /* Products */ = { - isa = PBXGroup; - children = ( - C2489902E7F8654A5878CD54A4551E74 /* KiteJSONValidator.bundle */, - C2489902E7F8654A5878CD54A4551E74 /* KiteJSONValidator.bundle */, - B250EBA24FF382F3623D7253E2D64D26 /* libFMDB-iOS.a */, - 6B3733754AEFA70B91B977971F36DF99 /* libFMDB-macOS.a */, - 85FE1D43BD5852E49AB4C3CC224AE7E5 /* libKiteJSONValidator-iOS.a */, - B2607BC2DEC20E461D4E3FE260C68FA0 /* libKiteJSONValidator-macOS.a */, - 6FC0808B4BC3B0D8758E4C25C0B7F408 /* libNocilla-iOS.a */, - CC1D5058DE88B33DA3E8B7213318C074 /* libNocilla-macOS.a */, - 03FB23C08B559FFF1D45935F0EA6F548 /* libPods-Base-Snowplow-OSX.a */, - 2AFD6211F13071F5432E813278AAD079 /* libPods-BaseTests-Snowplow-OSXTests.a */, - D42CABE495597E0EF0F34017AA42551B /* libPods-Snowplow.a */, - 23F925B3FC4D2FB7864690FCD7C7E8DD /* libPods-SnowplowTests.a */, - 8813B20A797494BB3095EC1AB0FD6893 /* libReachability.a */, - 42AE2514B5234DEE94426306C092E633 /* libSnowplowIgluClient-iOS.a */, - 29EE1BFDD4BBF81236D99AC496834801 /* libSnowplowIgluClient-macOS.a */, - A7B073F2FA6EB712A0553A0E9CDC56A4 /* SnowplowIgluResources.bundle */, - A7B073F2FA6EB712A0553A0E9CDC56A4 /* SnowplowIgluResources.bundle */, - ); - name = Products; - sourceTree = ""; - }; 7464669A39EC1C4C44427D31345D5627 /* iOS */ = { isa = PBXGroup; children = ( @@ -825,7 +803,7 @@ 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 544E509C035632C6EB7FD6AC7DD713FA /* Frameworks */, 8EF760A119CA6880D4C6631F12E5F514 /* Pods */, - 70419A03DE20278ACEDBEA38E8437DD0 /* Products */, + F1FAC26DB806D064A3F80EB3FFC6BA7A /* Products */, 263F27F25802906A0FA5AC09983C26F5 /* Targets Support Files */, ); sourceTree = ""; @@ -983,7 +961,7 @@ CD8FF4C8CA1B893E97DA03A4DE093A99 /* IGLUSchema.m */, BAD643502F041A988BA31EF96CD8E669 /* IGLUUtilities.h */, 18A24299B447CC4657BEC3DD75FE2A91 /* IGLUUtilities.m */, - 683BCE72604A1A2CC5D4134475A316DB /* Resources */, + 4E0A2CEB78F2B6E4351E054A5469D16B /* Resources */, 74DDC94A7D0256622E6A4A73213BBECA /* Support Files */, ); name = SnowplowIgluClient; @@ -1016,6 +994,30 @@ name = KiteJSONResources; sourceTree = ""; }; + F1FAC26DB806D064A3F80EB3FFC6BA7A /* Products */ = { + isa = PBXGroup; + children = ( + D07C59D40961C14BACDE2BF2DCBA5AB3 /* KiteJSONValidator.bundle */, + 64C08C50AFB7E56C6D8592B3BF3DBE96 /* KiteJSONValidator.bundle */, + C976D31CB85933698F78EB737C6D0873 /* libFMDB-iOS.a */, + 2F8D4C5369DAE778AD991394992AD2E9 /* libFMDB-macOS.a */, + 73A64CE3254E812F97A0B35CDD753C39 /* libKiteJSONValidator-iOS.a */, + 29873569994D674E0881727E413FC441 /* libKiteJSONValidator-macOS.a */, + 0EB6370EC6BFC67FD03AC31F3CA43F4F /* libNocilla-iOS.a */, + 202E3EB045C38A85829E936389AF2147 /* libNocilla-macOS.a */, + CFBFB03BFF92AB868AC9EF76481B4739 /* libPods-Base-Snowplow-OSX.a */, + 34BB1FE7338A4C47D6585D1BCC7424E8 /* libPods-BaseTests-Snowplow-OSXTests.a */, + B3C49C65363CA890879E49C805222460 /* libPods-Snowplow.a */, + E182162916ECB2022B2827A4ADE3646D /* libPods-SnowplowTests.a */, + 004736631289FE6FBD08C1078020F189 /* libReachability.a */, + 56BE7592B801EE84C079856B6455B649 /* libSnowplowIgluClient-iOS.a */, + 9CC06F3F4AC0FC50B04A347F9F3DA939 /* libSnowplowIgluClient-macOS.a */, + C70B61A363344F01EB43DDED92DAD8E6 /* SnowplowIgluResources.bundle */, + DDA6D4077D8C2092A8A9A872813952E4 /* SnowplowIgluResources.bundle */, + ); + name = Products; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ @@ -1023,12 +1025,12 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - B750F1746FB325E700E30C3C4A11494D /* FMDatabase.h in Headers */, - 19D16A9FB2BEAA9FFD3A2974036CFD4E /* FMDatabaseAdditions.h in Headers */, - 9EA7B5E389F1122A3594B04808891763 /* FMDatabasePool.h in Headers */, - 04CC997796360DE0D3D33A08230F01E4 /* FMDatabaseQueue.h in Headers */, - 4977FCFF6EEDF220779057AC6BF10741 /* FMDB.h in Headers */, - E25CB7E9955E3ECFA9CB32D3A41E5FBC /* FMResultSet.h in Headers */, + EA12D39311FB9736F4DFF248CE39DE0C /* FMDatabase.h in Headers */, + DB361037F91A074917650F587D12C879 /* FMDatabaseAdditions.h in Headers */, + BB31CB66AB8D484F9B54AA0A48C95C64 /* FMDatabasePool.h in Headers */, + F12F6E0F73A68F2F5A606BE2ADF214AD /* FMDatabaseQueue.h in Headers */, + BDB17DF015A5D24F46A763785B1DD878 /* FMDB.h in Headers */, + E6A42785D49B9F659F69DE00A073E4AB /* FMResultSet.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1036,12 +1038,12 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 1EDEC07C088A108F7E2C18501C6924DC /* FMDatabase.h in Headers */, - 9DB803DF3C2A127206EA661BC8450F37 /* FMDatabaseAdditions.h in Headers */, - 19F9D50C2E54AF4DF0FD55B621723CF5 /* FMDatabasePool.h in Headers */, - E5A5BE859C921FA16966DEF7CA83D1CB /* FMDatabaseQueue.h in Headers */, - A0692DAEAF81068E21563E2D66A5F3D5 /* FMDB.h in Headers */, - 92E66DAFFB64EC05BE0FF61B45A1C9AE /* FMResultSet.h in Headers */, + FED2D0C3E22BBD4BCF76F2A19A13A3D6 /* FMDatabase.h in Headers */, + 3F819C537790C0A26D13ECF57F4D9CA1 /* FMDatabaseAdditions.h in Headers */, + ACAB2B1F5B70F78E90378CF42F29B3F2 /* FMDatabasePool.h in Headers */, + 6E0E1EF645987D9890FB2E5822AABDA3 /* FMDatabaseQueue.h in Headers */, + 6C46EE8A383233F16832FDE4F7DEEC00 /* FMDB.h in Headers */, + CFEB59FD27F66B78C38A09411FE06184 /* FMResultSet.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1053,30 +1055,30 @@ EA5894DBA8EEA32D5BCD15AF1CAA2706 /* LSASIHTTPRequestAdapter.h in Headers */, FA17DC3AFE5ECA1315C85D252D56CEA3 /* LSASIHTTPRequestHook.h in Headers */, AE957A4E5B193E865085879321EE2B3F /* LSDataMatcher.h in Headers */, - 9BB627F44D4B6088B5D87E184E3C38DE /* LSHTTPBody.h in Headers */, + 347D55ACB1E24A14F4F25EBCBE2E94CF /* LSHTTPBody.h in Headers */, C516FB29EA3E61634D15308F4DCED720 /* LSHTTPClientHook.h in Headers */, C7A563BB4EE9B1210104E1993238B9A9 /* LSHTTPRequest.h in Headers */, BA58BB5C6FB11D66C2132218F81F8D37 /* LSHTTPRequestDiff.h in Headers */, 7A59006FF9D663D329D970230A821C40 /* LSHTTPRequestDSLRepresentation.h in Headers */, F24AEE01D8B040CAAFBB95B363E7A8A2 /* LSHTTPResponse.h in Headers */, 401C7167342CA314BDE2648BF6558FB4 /* LSHTTPStubURLProtocol.h in Headers */, - 49A7F5F128739E50DFDB2934E749BB56 /* LSMatcheable.h in Headers */, - 3885FB70EBEF9C87C4A7FEA369C95C26 /* LSMatcher.h in Headers */, - 146C44404207507192C6D2F3077F9555 /* LSNocilla.h in Headers */, + 64F01B69292E80AF874712A0044821DC /* LSMatcheable.h in Headers */, + D1DF9C3745AA0241620D94024361A76D /* LSMatcher.h in Headers */, + 82ADCAB035E25D948BC76F53BDCDD0E6 /* LSNocilla.h in Headers */, 73220CCF9784DEC3CF088A4FC166E86E /* LSNSURLHook.h in Headers */, 688D3DFB896A95DE1F3ED5AFCA39179C /* LSNSURLSessionHook.h in Headers */, 784BD41F2609E066A97BA5D40561BBF5 /* LSRegexMatcher.h in Headers */, 8A9A5FFD292E8874C1D76E839E617623 /* LSStringMatcher.h in Headers */, 40CCF1B34F054F61C7D94E27B0DEFE91 /* LSStubRequest.h in Headers */, - 51ABF7FBABA986F40C5E65B9B3EF13C0 /* LSStubRequestDSL.h in Headers */, + 2B06E43BD77002E9F63F584C5B2385FB /* LSStubRequestDSL.h in Headers */, F1D5859B9A9B9F588B64ECFE4C9E53AF /* LSStubResponse.h in Headers */, - 22EADB6960C34D488F572F8ABB84D2E3 /* LSStubResponseDSL.h in Headers */, - 7E3496D79496A727236388EB6156D3CB /* Nocilla.h in Headers */, - E5CE480AEC7F59196C7FB988C70AFA1F /* NSData+Matcheable.h in Headers */, - 92544896E3B9D84080A59312CA1F493A /* NSData+Nocilla.h in Headers */, - 1FC76C2D9B7A7A46595CDBFB00EF6CCD /* NSRegularExpression+Matcheable.h in Headers */, - FEC1AEEEC124B5E9E70DE6A687FCEDB9 /* NSString+Matcheable.h in Headers */, - 3A0F5EDC795886735E8B5DFF43CD9FCC /* NSString+Nocilla.h in Headers */, + D6EED951813DD517532784687F8FBA83 /* LSStubResponseDSL.h in Headers */, + F777C4CACC62CC6890A67BF11D1A0323 /* Nocilla.h in Headers */, + 370033384DAC1F31E94919960320FA6E /* NSData+Matcheable.h in Headers */, + 57E415FE8892F3E24FF57A016D3B1FCB /* NSData+Nocilla.h in Headers */, + 44A3A4BA2704B49C03DF759BEE5ABE79 /* NSRegularExpression+Matcheable.h in Headers */, + 6E5A9D7007874C9A1364E61B1351012D /* NSString+Matcheable.h in Headers */, + 5DF621B4A98B9C45CCCDC6B631437FE8 /* NSString+Nocilla.h in Headers */, F8D51D32D1CB2BBF507114F9C903E96F /* NSURLRequest+DSL.h in Headers */, 4B078459C18EA1AA8414D51557BB1F6F /* NSURLRequest+LSHTTPRequest.h in Headers */, ); @@ -1086,11 +1088,11 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 0F4ACBD4E1FBC054DC1BA46FADFEC497 /* IGLUClient.h in Headers */, - 879AB1CBA9EED4CCE98458CE5F1E5D7E /* IGLUConstants.h in Headers */, + DF4A8F2C4D3D830338FC01B16F06FCC8 /* IGLUClient.h in Headers */, + B1A8F6DB7BE1036C4EEFA025C8C621A1 /* IGLUConstants.h in Headers */, FF134FF98D35A97B6EC3EC9C45EA0E1E /* IGLUResolver.h in Headers */, 733188337386A2035D6D1C70B6ABEAB5 /* IGLUSchema.h in Headers */, - 9CEB06FA24A20B9CC3015FAA8BA6BC0E /* IGLUUtilities.h in Headers */, + DD44DD80B833706117EFEB3255719AC3 /* IGLUUtilities.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1102,30 +1104,30 @@ 502927E9B6397EDF5360BC461BE2E1F7 /* LSASIHTTPRequestAdapter.h in Headers */, 6E1B17C831D333EA064137CDA64AB10E /* LSASIHTTPRequestHook.h in Headers */, 225C43E2AB3C0F1455178FAF99FE0714 /* LSDataMatcher.h in Headers */, - D5943CF49D5DD54802F644F523CC3FC2 /* LSHTTPBody.h in Headers */, + BFCB9B91962861851510CC9B5972A3C0 /* LSHTTPBody.h in Headers */, D8C16A8516A230361333C853287B3584 /* LSHTTPClientHook.h in Headers */, 27EBFAF82350836D55A9CC18E890B994 /* LSHTTPRequest.h in Headers */, A127A5C731791CA1E835B8ED7BD1ADB6 /* LSHTTPRequestDiff.h in Headers */, A3C49DC7556CD37D578315FABA73D607 /* LSHTTPRequestDSLRepresentation.h in Headers */, 1BAB6CA3821DA9395981A9E193C2931C /* LSHTTPResponse.h in Headers */, 96E75AA428E459D1F6EF6CD5D98DF34A /* LSHTTPStubURLProtocol.h in Headers */, - DE2341C2703E6D06F313AD4FF8E2F9C3 /* LSMatcheable.h in Headers */, - 45116A41C3E5E5905F758E2FC911047D /* LSMatcher.h in Headers */, - 5F40B36E695DFBF3362B8AC291F593D2 /* LSNocilla.h in Headers */, + 850C526C46B0C4BB7711E945826F400F /* LSMatcheable.h in Headers */, + 001AD4CAF9FED3EBC91C4D869C903E09 /* LSMatcher.h in Headers */, + 63BE861F5C4F9F4B1E6D6DA4D80950DE /* LSNocilla.h in Headers */, 6CF95C3D4A2BFC55F63F4816E2A9484A /* LSNSURLHook.h in Headers */, 152EE6E3C943CCAC396131F796C3D7C7 /* LSNSURLSessionHook.h in Headers */, E88D498DE89FBFDCFE27B84FDAD4C5FC /* LSRegexMatcher.h in Headers */, 4B5EB9B5A1F2C1CF41F525DAA629A01C /* LSStringMatcher.h in Headers */, E8E22AC5FA804AD257019B631773EED0 /* LSStubRequest.h in Headers */, - EBE5D1CDDF02583235D6C130E1096BF8 /* LSStubRequestDSL.h in Headers */, + D31C0368691561772EA2A453CD799329 /* LSStubRequestDSL.h in Headers */, 62341ACC5A0597405DED1ADDC4CD3F28 /* LSStubResponse.h in Headers */, - B5252BD95F26B4103E30553D1169E8EB /* LSStubResponseDSL.h in Headers */, - C4D92745368E9B8E7487F318C77C45B5 /* Nocilla.h in Headers */, - ACC920743F151E9A9F52EBEB310852AE /* NSData+Matcheable.h in Headers */, - D5F101ED58188832CA11E423FF6628F9 /* NSData+Nocilla.h in Headers */, - E50D962EDAC0258EA05A54005D35E65B /* NSRegularExpression+Matcheable.h in Headers */, - 8C7C6929434919BBDBB2CB239D5C6C3C /* NSString+Matcheable.h in Headers */, - 63740AF3F08A50E60095581168A2776B /* NSString+Nocilla.h in Headers */, + F48AB66CCD7F8EC1F7F82549DD37F51A /* LSStubResponseDSL.h in Headers */, + 968D8418599C172CDB395444A6E56718 /* Nocilla.h in Headers */, + F5702FB388C7B51C72F109E78C3B8532 /* NSData+Matcheable.h in Headers */, + E7B60CF6A4E3666AEA6DA4E0483483B7 /* NSData+Nocilla.h in Headers */, + 090CB1D7F7AA0852214CDA8E6F19C454 /* NSRegularExpression+Matcheable.h in Headers */, + F438F5D7DA97BA2CA94FB792F3D868C8 /* NSString+Matcheable.h in Headers */, + 8500C995C3C4C666103D66244F1549DA /* NSString+Nocilla.h in Headers */, 4C0E9F4F85C207818215CE9722767DCC /* NSURLRequest+DSL.h in Headers */, 35588010754872EDF7A8175F5289767F /* NSURLRequest+LSHTTPRequest.h in Headers */, ); @@ -1135,8 +1137,8 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 27F201BFBA3181DCA031753818E52987 /* KiteJSONValidator.h in Headers */, - 8A76A176F19405E07719F06869D7276C /* KiteValidationPair.h in Headers */, + 70564F0788A61E62FFEBA9A566DACA57 /* KiteJSONValidator.h in Headers */, + B3F0395468955545F682F5C5044FC9C9 /* KiteValidationPair.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1144,7 +1146,7 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 83077D81DB97779FCA575A509AF629E4 /* Reachability.h in Headers */, + 498122EC92FC967B9960A00A319E5F03 /* Reachability.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1152,11 +1154,11 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 8F441DD61B9527E23D66AEB7C3D19B4C /* IGLUClient.h in Headers */, - 1A9886C8EC0C7B8D266A9BB22BC98F31 /* IGLUConstants.h in Headers */, + FB1077378D957EDDD8512B01F8D59C7B /* IGLUClient.h in Headers */, + D1BB743A923E5B1E5F992269682BCE53 /* IGLUConstants.h in Headers */, 724EC00602A7FE63062EB190D7DADEB9 /* IGLUResolver.h in Headers */, AF18ED37152823BC43D21D0A6E396E19 /* IGLUSchema.h in Headers */, - 3EB7E6C17A75C5755CA721EA166FDB99 /* IGLUUtilities.h in Headers */, + 86CE06EFF2A93973467000647A169D8C /* IGLUUtilities.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1164,8 +1166,8 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 480A91F18E3D56D8048D92AD02CF8B75 /* KiteJSONValidator.h in Headers */, - 57E7941CFC1D1E92657080A82C11B99D /* KiteValidationPair.h in Headers */, + 7D18F6F2585468F6E03EE8A52D0D3630 /* KiteJSONValidator.h in Headers */, + F81CBEB8E21F72C9E670F0893DC00012 /* KiteValidationPair.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1187,7 +1189,7 @@ ); name = "KiteJSONValidator-iOS"; productName = "KiteJSONValidator-iOS"; - productReference = 85FE1D43BD5852E49AB4C3CC224AE7E5 /* libKiteJSONValidator-iOS.a */; + productReference = 73A64CE3254E812F97A0B35CDD753C39 /* libKiteJSONValidator-iOS.a */; productType = "com.apple.product-type.library.static"; }; 2A8F69486E99DF84BFFA4A0F9F579E9F /* Reachability */ = { @@ -1204,7 +1206,7 @@ ); name = Reachability; productName = Reachability; - productReference = 8813B20A797494BB3095EC1AB0FD6893 /* libReachability.a */; + productReference = 004736631289FE6FBD08C1078020F189 /* libReachability.a */; productType = "com.apple.product-type.library.static"; }; 398A48414A97833E7522E5CC1A14DA6C /* Pods-Base-Snowplow-OSX */ = { @@ -1221,7 +1223,7 @@ ); name = "Pods-Base-Snowplow-OSX"; productName = "Pods-Base-Snowplow-OSX"; - productReference = 03FB23C08B559FFF1D45935F0EA6F548 /* libPods-Base-Snowplow-OSX.a */; + productReference = CFBFB03BFF92AB868AC9EF76481B4739 /* libPods-Base-Snowplow-OSX.a */; productType = "com.apple.product-type.library.static"; }; 3B888D6C7A9184E11B92BDC62B0EB75D /* Pods-Snowplow */ = { @@ -1239,7 +1241,7 @@ ); name = "Pods-Snowplow"; productName = "Pods-Snowplow"; - productReference = D42CABE495597E0EF0F34017AA42551B /* libPods-Snowplow.a */; + productReference = B3C49C65363CA890879E49C805222460 /* libPods-Snowplow.a */; productType = "com.apple.product-type.library.static"; }; 52EEDFE12A0DD7B161B9E63018EFC04D /* KiteJSONValidator-macOS */ = { @@ -1257,7 +1259,7 @@ ); name = "KiteJSONValidator-macOS"; productName = "KiteJSONValidator-macOS"; - productReference = B2607BC2DEC20E461D4E3FE260C68FA0 /* libKiteJSONValidator-macOS.a */; + productReference = 29873569994D674E0881727E413FC441 /* libKiteJSONValidator-macOS.a */; productType = "com.apple.product-type.library.static"; }; 55CBD5049E68CE19F32CEAA6E868CE29 /* SnowplowIgluClient-iOS */ = { @@ -1276,7 +1278,7 @@ ); name = "SnowplowIgluClient-iOS"; productName = "SnowplowIgluClient-iOS"; - productReference = 42AE2514B5234DEE94426306C092E633 /* libSnowplowIgluClient-iOS.a */; + productReference = 56BE7592B801EE84C079856B6455B649 /* libSnowplowIgluClient-iOS.a */; productType = "com.apple.product-type.library.static"; }; 5E47FC842492E2AD63B1F47BE40B9482 /* KiteJSONValidator-iOS-KiteJSONValidator */ = { @@ -1293,7 +1295,7 @@ ); name = "KiteJSONValidator-iOS-KiteJSONValidator"; productName = "KiteJSONValidator-iOS-KiteJSONValidator"; - productReference = C2489902E7F8654A5878CD54A4551E74 /* KiteJSONValidator.bundle */; + productReference = D07C59D40961C14BACDE2BF2DCBA5AB3 /* KiteJSONValidator.bundle */; productType = "com.apple.product-type.bundle"; }; 65243EFE2720599D63E901339FB6D059 /* Nocilla-macOS */ = { @@ -1310,7 +1312,7 @@ ); name = "Nocilla-macOS"; productName = "Nocilla-macOS"; - productReference = CC1D5058DE88B33DA3E8B7213318C074 /* libNocilla-macOS.a */; + productReference = 202E3EB045C38A85829E936389AF2147 /* libNocilla-macOS.a */; productType = "com.apple.product-type.library.static"; }; 7375C8C1774C18921EDEDC8BF6E0BDEE /* SnowplowIgluClient-macOS-SnowplowIgluResources */ = { @@ -1319,7 +1321,7 @@ buildPhases = ( 6F457D52AB362F8CF6E5C2B8FFCE42BD /* Sources */, 89455041FBC19B7613516E78B72F73D2 /* Frameworks */, - FA89A8EC48389A8C5DEE7D868E6C9995 /* Resources */, + 2A9365A726A1813FBFA5B6212B7EAA3C /* Resources */, ); buildRules = ( ); @@ -1327,7 +1329,7 @@ ); name = "SnowplowIgluClient-macOS-SnowplowIgluResources"; productName = "SnowplowIgluClient-macOS-SnowplowIgluResources"; - productReference = A7B073F2FA6EB712A0553A0E9CDC56A4 /* SnowplowIgluResources.bundle */; + productReference = C70B61A363344F01EB43DDED92DAD8E6 /* SnowplowIgluResources.bundle */; productType = "com.apple.product-type.bundle"; }; 75C7FD024C2608E95F6E1653BBF1D477 /* FMDB-iOS */ = { @@ -1344,7 +1346,7 @@ ); name = "FMDB-iOS"; productName = "FMDB-iOS"; - productReference = B250EBA24FF382F3623D7253E2D64D26 /* libFMDB-iOS.a */; + productReference = C976D31CB85933698F78EB737C6D0873 /* libFMDB-iOS.a */; productType = "com.apple.product-type.library.static"; }; 8CA7D82EC79D4E4BCFF715D040B32159 /* Nocilla-iOS */ = { @@ -1361,7 +1363,7 @@ ); name = "Nocilla-iOS"; productName = "Nocilla-iOS"; - productReference = 6FC0808B4BC3B0D8758E4C25C0B7F408 /* libNocilla-iOS.a */; + productReference = 0EB6370EC6BFC67FD03AC31F3CA43F4F /* libNocilla-iOS.a */; productType = "com.apple.product-type.library.static"; }; 9CE215E1EA8869939F7FC8BD5D9557A1 /* Pods-SnowplowTests */ = { @@ -1382,7 +1384,7 @@ ); name = "Pods-SnowplowTests"; productName = "Pods-SnowplowTests"; - productReference = 23F925B3FC4D2FB7864690FCD7C7E8DD /* libPods-SnowplowTests.a */; + productReference = E182162916ECB2022B2827A4ADE3646D /* libPods-SnowplowTests.a */; productType = "com.apple.product-type.library.static"; }; BB74065A1A8416F90EEE8A8EFCE0D1D7 /* KiteJSONValidator-macOS-KiteJSONValidator */ = { @@ -1399,7 +1401,7 @@ ); name = "KiteJSONValidator-macOS-KiteJSONValidator"; productName = "KiteJSONValidator-macOS-KiteJSONValidator"; - productReference = C2489902E7F8654A5878CD54A4551E74 /* KiteJSONValidator.bundle */; + productReference = 64C08C50AFB7E56C6D8592B3BF3DBE96 /* KiteJSONValidator.bundle */; productType = "com.apple.product-type.bundle"; }; BE4936E0AB2F9B8FECFCB2A2D651FCEF /* SnowplowIgluClient-macOS */ = { @@ -1418,7 +1420,7 @@ ); name = "SnowplowIgluClient-macOS"; productName = "SnowplowIgluClient-macOS"; - productReference = 29EE1BFDD4BBF81236D99AC496834801 /* libSnowplowIgluClient-macOS.a */; + productReference = 9CC06F3F4AC0FC50B04A347F9F3DA939 /* libSnowplowIgluClient-macOS.a */; productType = "com.apple.product-type.library.static"; }; D14072505E0DEBD1EBFE9B8E497223F3 /* SnowplowIgluClient-iOS-SnowplowIgluResources */ = { @@ -1427,7 +1429,7 @@ buildPhases = ( C59DC14D603E3EBCC09D6E5372AFF60F /* Sources */, EEDF01940A3479BC32CC815C489D8730 /* Frameworks */, - FFD572985C06E37799CEF054D50A4FD9 /* Resources */, + DB4E944F0A6B1EE8AA8D0E367AA049B3 /* Resources */, ); buildRules = ( ); @@ -1435,7 +1437,7 @@ ); name = "SnowplowIgluClient-iOS-SnowplowIgluResources"; productName = "SnowplowIgluClient-iOS-SnowplowIgluResources"; - productReference = A7B073F2FA6EB712A0553A0E9CDC56A4 /* SnowplowIgluResources.bundle */; + productReference = DDA6D4077D8C2092A8A9A872813952E4 /* SnowplowIgluResources.bundle */; productType = "com.apple.product-type.bundle"; }; EB8F9C931D072D36098BEFB3384F32BB /* Pods-BaseTests-Snowplow-OSXTests */ = { @@ -1454,7 +1456,7 @@ ); name = "Pods-BaseTests-Snowplow-OSXTests"; productName = "Pods-BaseTests-Snowplow-OSXTests"; - productReference = 2AFD6211F13071F5432E813278AAD079 /* libPods-BaseTests-Snowplow-OSXTests.a */; + productReference = 34BB1FE7338A4C47D6585D1BCC7424E8 /* libPods-BaseTests-Snowplow-OSXTests.a */; productType = "com.apple.product-type.library.static"; }; EBD9012C1DB233FDE3AC9A811DCB4385 /* FMDB-macOS */ = { @@ -1471,7 +1473,7 @@ ); name = "FMDB-macOS"; productName = "FMDB-macOS"; - productReference = 6B3733754AEFA70B91B977971F36DF99 /* libFMDB-macOS.a */; + productReference = 2F8D4C5369DAE778AD991394992AD2E9 /* libFMDB-macOS.a */; productType = "com.apple.product-type.library.static"; }; /* End PBXNativeTarget section */ @@ -1491,7 +1493,7 @@ en, ); mainGroup = 7DB346D0F39D3F0E887471402A8071AB; - productRefGroup = 70419A03DE20278ACEDBEA38E8437DD0 /* Products */; + productRefGroup = F1FAC26DB806D064A3F80EB3FFC6BA7A /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( @@ -1517,37 +1519,37 @@ /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - CE5E9DCAE3FE0F658EE80E1130029838 /* Resources */ = { + 2A9365A726A1813FBFA5B6212B7EAA3C /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - D645F0C80D121EC84E44CF50E5CF79D8 /* schema in Resources */, + 20710AC936F0B9B87CA5470C1FC24A0E /* IGLUResources in Resources */, + BD759F3F29841FDD481F82479C3F7D63 /* Info.plist in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; - DF1CE1F5C4B7E33B0FFBE7443C57DA3A /* Resources */ = { + CE5E9DCAE3FE0F658EE80E1130029838 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - D047A7BA76CC7F2E2E492AA0066C6494 /* schema in Resources */, + D645F0C80D121EC84E44CF50E5CF79D8 /* schema in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; - FA89A8EC48389A8C5DEE7D868E6C9995 /* Resources */ = { + DB4E944F0A6B1EE8AA8D0E367AA049B3 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 815DF8FD31496A731E0DAF9C9176EFFB /* Info.plist in Resources */, - 0155F6C39719782A45203565600E42DF /* Resources in Resources */, + 979A114B75101E9DB3345B51263EFAB9 /* IGLUResources in Resources */, + 7928CF1E8885812F8E15C28AB4CC1EAD /* Info.plist in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; - FFD572985C06E37799CEF054D50A4FD9 /* Resources */ = { + DF1CE1F5C4B7E33B0FFBE7443C57DA3A /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - BB631B452D43D122E2BBDD4C3454E1AF /* Info.plist in Resources */, - 98CFA9AAD643D65AFFDC1108103BB606 /* Resources in Resources */, + D047A7BA76CC7F2E2E492AA0066C6494 /* schema in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/Pods/SnowplowIgluClient/README.md b/Pods/SnowplowIgluClient/README.md index 33f5b5bfb..7ecb2b2cd 100644 --- a/Pods/SnowplowIgluClient/README.md +++ b/Pods/SnowplowIgluClient/README.md @@ -1,26 +1,26 @@ Obj-C Client for Iglu -========================== +===================== -[ ![Build Status] [travis-image] ] [travis] -[ ![Coverage Status][coveralls-image] ][coveralls] -[ ![Version] [cocoa-version] ] [cocoadocs] -[ ![Platform] [cocoa-plaform] ] [cocoadocs] -[ ![License] [license-image] ] [license] +[![Build Status][travis-image]][travis] +[![Coverage Status][coveralls-image]][coveralls] +[![Version][cocoa-version]][cocoadocs] +[![Platform][cocoa-plaform]][cocoadocs] +[![License][license-image]][license] ## Overview -An Obj-C client and resolver for **[Iglu schema repositories] [iglu-wiki]** from the team at **[Snowplow Analytics] [snowplow-website]**. +An Obj-C client and resolver for **[Iglu schema repositories][iglu-wiki]** from the team at **[Snowplow Analytics][snowplow-website]**. ## Find out more -| **[Technical Docs] [techdocs]** | **[Setup Guide] [setup]** | **[Roadmap] [roadmap]** | **[Contributing] [contributing]** | -|-------------------------------------|-------------------------------|-----------------------------------|---------------------------------------------| -| [![i1] [techdocs-image]] [techdocs] | [![i2] [setup-image]] [setup] | [![i3] [roadmap-image]] [roadmap] | [![i4] [contributing-image]] [contributing] | +| **[Technical Docs][techdocs]** | **[Setup Guide][setup]** | **[Roadmap][roadmap]** | **[Contributing][contributing]** | +|:---------------------------------:|:---------------------------:|:-------------------------------:|:-----------------------------------------:| +| [![i1][techdocs-image]][techdocs] | [![i2][setup-image]][setup] | [![i3][roadmap-image]][roadmap] | [![i4][contributing-image]][contributing] | ## Copyright and license -The Snowplow Iglu Obj-C Client is copyright 2015 Snowplow Analytics Ltd. +The Snowplow Iglu Obj-C Client is copyright 2015-2018 Snowplow Analytics Ltd. -Licensed under the **[Apache License, Version 2.0] [license]** (the "License"); +Licensed under the **[Apache License, Version 2.0][license]** (the "License"); you may not use this software except in compliance with the License. Unless required by applicable law or agreed to in writing, software diff --git a/Pods/SnowplowIgluClient/SnowplowIgluClient/IGLUConstants.m b/Pods/SnowplowIgluClient/SnowplowIgluClient/IGLUConstants.m index 56c974ac2..70a13f1d5 100644 --- a/Pods/SnowplowIgluClient/SnowplowIgluClient/IGLUConstants.m +++ b/Pods/SnowplowIgluClient/SnowplowIgluClient/IGLUConstants.m @@ -24,12 +24,12 @@ @implementation IGLUConstants // --- Version -NSString * const kIGLUVersion = @"iglu-objc-client-0.1.0"; +NSString * const kIGLUVersion = @"iglu-objc-client-0.1.1"; // --- Embedded Directory NSString * const kIGLUEmbeddedBundle = @"SnowplowIgluResources"; -NSString * const kIGLUEmbeddedDirectory = @"Resources/iglu-client-embedded/schemas"; +NSString * const kIGLUEmbeddedDirectory = @"IGLUResources/iglu-client-embedded/schemas"; NSString * const kIGLUInstanceIgluOnly = @"iglu:com.snowplowanalytics.self-desc/instance-iglu-only/jsonschema/1-0-0"; NSString * const kIGLUResolverConfig = @"iglu:com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-0"; diff --git a/Pods/SnowplowIgluClient/SnowplowIgluResources/Resources/iglu-client-embedded/schemas/com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-0 b/Pods/SnowplowIgluClient/SnowplowIgluResources/IGLUResources/iglu-client-embedded/schemas/com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-0 similarity index 100% rename from Pods/SnowplowIgluClient/SnowplowIgluResources/Resources/iglu-client-embedded/schemas/com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-0 rename to Pods/SnowplowIgluClient/SnowplowIgluResources/IGLUResources/iglu-client-embedded/schemas/com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-0 diff --git a/Pods/SnowplowIgluClient/SnowplowIgluResources/IGLUResources/iglu-client-embedded/schemas/com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-1 b/Pods/SnowplowIgluClient/SnowplowIgluResources/IGLUResources/iglu-client-embedded/schemas/com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-1 new file mode 100644 index 000000000..c1c788220 --- /dev/null +++ b/Pods/SnowplowIgluClient/SnowplowIgluResources/IGLUResources/iglu-client-embedded/schemas/com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-1 @@ -0,0 +1,93 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "description": "Schema for an Iglu resolver's configuration", + "self": { + "vendor": "com.snowplowanalytics.iglu", + "name": "resolver-config", + "format": "jsonschema", + "version": "1-0-1" + }, + + "type": "object", + + "properties": { + + "cacheSize": { + "type": "integer", + "minimum": 0 + }, + + "repositories": { + "type": "array", + "items": { + "type": "object", + + "properties": { + + "name": { + "type": "string" + }, + + "priority": { + "type": "integer" + }, + + "vendorPrefixes": { + "type": "array", + "items": { + "type": "string" + } + }, + + "connection": { + "type": "object", + "oneOf": [ + { + "properties": { + "embedded": { + "type": "object", + "properties": { + "path": { + "type": "string" + } + }, + "required": ["path"], + "additionalProperties": false + } + }, + "required": ["embedded"], + "additionalProperties": false + }, + { + "properties": { + "http": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "format": "uri" + }, + "apikey": { + "type": ["string", "null"] + } + }, + "required": ["uri"], + "additionalProperties": false + } + }, + "required": ["http"], + "additionalProperties": false + } + ] + } + }, + "required": ["name", "priority", "vendorPrefixes", "connection"], + "additionalProperties": false + } + } + + }, + + "required": ["cacheSize", "repositories"], + "additionalProperties": false +} diff --git a/Pods/SnowplowIgluClient/SnowplowIgluResources/IGLUResources/iglu-client-embedded/schemas/com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-2 b/Pods/SnowplowIgluClient/SnowplowIgluResources/IGLUResources/iglu-client-embedded/schemas/com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-2 new file mode 100644 index 000000000..0b9129af0 --- /dev/null +++ b/Pods/SnowplowIgluClient/SnowplowIgluResources/IGLUResources/iglu-client-embedded/schemas/com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-2 @@ -0,0 +1,97 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "description": "Schema for an Iglu resolver's configuration", + "self": { + "vendor": "com.snowplowanalytics.iglu", + "name": "resolver-config", + "format": "jsonschema", + "version": "1-0-2" + }, + + "type": "object", + + "properties": { + + "cacheSize": { + "type": "number" + }, + + "cacheTtl": { + "type": ["integer", "null"], + "minimum": 1 + }, + + "repositories": { + "type": "array", + "items": { + "type": "object", + + "properties": { + + "name": { + "type": "string" + }, + + "priority": { + "type": "number" + }, + + "vendorPrefixes": { + "type": "array", + "items": { + "type": "string" + } + }, + + "connection": { + "type": "object", + "oneOf": [ + { + "properties": { + "embedded": { + "type": "object", + "properties": { + "path": { + "type": "string" + } + }, + "required": ["path"], + "additionalProperties": false + } + }, + "required": ["embedded"], + "additionalProperties": false + }, + { + "properties": { + "http": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "format": "uri" + }, + "apikey": { + "type": ["string", "null"] + } + }, + "required": ["uri"], + "additionalProperties": false + } + }, + "required": ["http"], + "additionalProperties": false + } + ] + } + }, + "required": ["name", "priority", "vendorPrefixes", "connection"], + "additionalProperties": false + } + } + + }, + + "required": ["cacheSize", "repositories"], + "additionalProperties": false +} diff --git a/Pods/SnowplowIgluClient/SnowplowIgluResources/Resources/iglu-client-embedded/schemas/com.snowplowanalytics.self-desc/instance-iglu-only/jsonschema/1-0-0 b/Pods/SnowplowIgluClient/SnowplowIgluResources/IGLUResources/iglu-client-embedded/schemas/com.snowplowanalytics.self-desc/instance-iglu-only/jsonschema/1-0-0 similarity index 100% rename from Pods/SnowplowIgluClient/SnowplowIgluResources/Resources/iglu-client-embedded/schemas/com.snowplowanalytics.self-desc/instance-iglu-only/jsonschema/1-0-0 rename to Pods/SnowplowIgluClient/SnowplowIgluResources/IGLUResources/iglu-client-embedded/schemas/com.snowplowanalytics.self-desc/instance-iglu-only/jsonschema/1-0-0 diff --git a/Pods/Target Support Files/FMDB-iOS/FMDB-iOS.xcconfig b/Pods/Target Support Files/FMDB-iOS/FMDB-iOS.xcconfig index 122369d2b..17eb47322 100644 --- a/Pods/Target Support Files/FMDB-iOS/FMDB-iOS.xcconfig +++ b/Pods/Target Support Files/FMDB-iOS/FMDB-iOS.xcconfig @@ -1,9 +1,9 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/FMDB-iOS +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FMDB-iOS GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/FMDB" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/KiteJSONValidator" "${PODS_ROOT}/Headers/Public/Nocilla" "${PODS_ROOT}/Headers/Public/Reachability" "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" OTHER_LDFLAGS = -l"sqlite3" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/FMDB PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} diff --git a/Pods/Target Support Files/FMDB-macOS/FMDB-macOS.xcconfig b/Pods/Target Support Files/FMDB-macOS/FMDB-macOS.xcconfig index 4d6361f32..8708f91f2 100644 --- a/Pods/Target Support Files/FMDB-macOS/FMDB-macOS.xcconfig +++ b/Pods/Target Support Files/FMDB-macOS/FMDB-macOS.xcconfig @@ -1,9 +1,9 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/FMDB-macOS +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FMDB-macOS GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/FMDB" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/KiteJSONValidator" "${PODS_ROOT}/Headers/Public/Nocilla" "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" OTHER_LDFLAGS = -l"sqlite3" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/FMDB PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} diff --git a/Pods/Target Support Files/KiteJSONValidator-iOS/KiteJSONValidator-iOS.xcconfig b/Pods/Target Support Files/KiteJSONValidator-iOS/KiteJSONValidator-iOS.xcconfig index 9a6c9c749..e7c5c7f24 100644 --- a/Pods/Target Support Files/KiteJSONValidator-iOS/KiteJSONValidator-iOS.xcconfig +++ b/Pods/Target Support Files/KiteJSONValidator-iOS/KiteJSONValidator-iOS.xcconfig @@ -1,9 +1,9 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/KiteJSONValidator-iOS +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/KiteJSONValidator-iOS GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/KiteJSONValidator" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/KiteJSONValidator" "${PODS_ROOT}/Headers/Public/Nocilla" "${PODS_ROOT}/Headers/Public/Reachability" "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" ONLY_ACTIVE_ARCH = NO -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/KiteJSONValidator PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} diff --git a/Pods/Target Support Files/KiteJSONValidator-macOS/KiteJSONValidator-macOS.xcconfig b/Pods/Target Support Files/KiteJSONValidator-macOS/KiteJSONValidator-macOS.xcconfig index 1ad2fbe96..e7df1ad02 100644 --- a/Pods/Target Support Files/KiteJSONValidator-macOS/KiteJSONValidator-macOS.xcconfig +++ b/Pods/Target Support Files/KiteJSONValidator-macOS/KiteJSONValidator-macOS.xcconfig @@ -1,9 +1,9 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/KiteJSONValidator-macOS +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/KiteJSONValidator-macOS GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/KiteJSONValidator" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/KiteJSONValidator" "${PODS_ROOT}/Headers/Public/Nocilla" "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" ONLY_ACTIVE_ARCH = NO -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/KiteJSONValidator PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} diff --git a/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS.xcconfig b/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS.xcconfig index 1851ec244..b2e04cd08 100644 --- a/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS.xcconfig +++ b/Pods/Target Support Files/Nocilla-iOS/Nocilla-iOS.xcconfig @@ -1,9 +1,9 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Nocilla-iOS +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Nocilla-iOS GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Nocilla" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/KiteJSONValidator" "${PODS_ROOT}/Headers/Public/Nocilla" "${PODS_ROOT}/Headers/Public/Reachability" "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" OTHER_LDFLAGS = -framework "CFNetwork" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/Nocilla PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} diff --git a/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS.xcconfig b/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS.xcconfig index 2ab05d714..d88debd7e 100644 --- a/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS.xcconfig +++ b/Pods/Target Support Files/Nocilla-macOS/Nocilla-macOS.xcconfig @@ -1,9 +1,9 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Nocilla-macOS +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Nocilla-macOS GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Nocilla" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/KiteJSONValidator" "${PODS_ROOT}/Headers/Public/Nocilla" "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" OTHER_LDFLAGS = -framework "CFNetwork" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/Nocilla PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} diff --git a/Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX-frameworks.sh b/Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX-frameworks.sh index 88dd53799..881cbaed3 100755 --- a/Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX-frameworks.sh +++ b/Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX-frameworks.sh @@ -6,10 +6,14 @@ mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +# Used as a return value for each invocation of `strip_invalid_archs` function. +STRIP_BINARY_RETVAL=0 + # This protects against multiple targets copying the same framework dependency at the same time. The solution # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") +# Copies and strips a vendored framework install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then @@ -58,12 +62,31 @@ install_framework() fi } -# Copies the dSYM of a vendored framework +# Copies and strips a vendored dSYM install_dsym() { local source="$1" if [ -r "$source" ]; then - 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}\"" - 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}" + # Copy the dSYM into a the targets temp dir. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" + + local basename + basename="$(basename -s .framework.dSYM "$source")" + binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then + strip_invalid_archs "$binary" + fi + + if [[ $STRIP_BINARY_RETVAL == 1 ]]; then + # Move the stripped file into its final destination. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" + else + # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. + touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" + fi fi } @@ -85,10 +108,18 @@ code_sign_if_enabled() { # Strip invalid architectures strip_invalid_archs() { binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + # Get architectures for current target binary + binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" + # Intersect them with the architectures we are building for + intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" + # If there are no archs supported by this binary then warn the user + if [[ -z "$intersected_archs" ]]; then + echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." + STRIP_BINARY_RETVAL=0 + return + fi stripped="" - for arch in $archs; do + for arch in $binary_archs; do if ! [[ "${ARCHS}" == *"$arch"* ]]; then # Strip non-valid architectures in-place lipo -remove "$arch" -output "$binary" "$binary" || exit 1 @@ -98,6 +129,7 @@ strip_invalid_archs() { if [[ "$stripped" ]]; then echo "Stripped $binary of architectures:$stripped" fi + STRIP_BINARY_RETVAL=1 } if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then diff --git a/Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX.debug.xcconfig b/Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX.debug.xcconfig index e0f5c492f..6860b4636 100644 --- a/Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX.debug.xcconfig +++ b/Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX.debug.xcconfig @@ -1,9 +1,9 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/KiteJSONValidator" "${PODS_ROOT}/Headers/Public/Nocilla" "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" -LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FMDB-macOS" +LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FMDB-macOS" OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/FMDB" -isystem "${PODS_ROOT}/Headers/Public/KiteJSONValidator" -isystem "${PODS_ROOT}/Headers/Public/Nocilla" -isystem "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" OTHER_LDFLAGS = $(inherited) -ObjC -l"FMDB-macOS" -l"sqlite3" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods diff --git a/Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX.release.xcconfig b/Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX.release.xcconfig index e0f5c492f..6860b4636 100644 --- a/Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX.release.xcconfig +++ b/Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX.release.xcconfig @@ -1,9 +1,9 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/KiteJSONValidator" "${PODS_ROOT}/Headers/Public/Nocilla" "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" -LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FMDB-macOS" +LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FMDB-macOS" OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/FMDB" -isystem "${PODS_ROOT}/Headers/Public/KiteJSONValidator" -isystem "${PODS_ROOT}/Headers/Public/Nocilla" -isystem "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" OTHER_LDFLAGS = $(inherited) -ObjC -l"FMDB-macOS" -l"sqlite3" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods diff --git a/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests-frameworks.sh b/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests-frameworks.sh index 88dd53799..881cbaed3 100755 --- a/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests-frameworks.sh +++ b/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests-frameworks.sh @@ -6,10 +6,14 @@ mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +# Used as a return value for each invocation of `strip_invalid_archs` function. +STRIP_BINARY_RETVAL=0 + # This protects against multiple targets copying the same framework dependency at the same time. The solution # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") +# Copies and strips a vendored framework install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then @@ -58,12 +62,31 @@ install_framework() fi } -# Copies the dSYM of a vendored framework +# Copies and strips a vendored dSYM install_dsym() { local source="$1" if [ -r "$source" ]; then - 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}\"" - 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}" + # Copy the dSYM into a the targets temp dir. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" + + local basename + basename="$(basename -s .framework.dSYM "$source")" + binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then + strip_invalid_archs "$binary" + fi + + if [[ $STRIP_BINARY_RETVAL == 1 ]]; then + # Move the stripped file into its final destination. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" + else + # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. + touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" + fi fi } @@ -85,10 +108,18 @@ code_sign_if_enabled() { # Strip invalid architectures strip_invalid_archs() { binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + # Get architectures for current target binary + binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" + # Intersect them with the architectures we are building for + intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" + # If there are no archs supported by this binary then warn the user + if [[ -z "$intersected_archs" ]]; then + echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." + STRIP_BINARY_RETVAL=0 + return + fi stripped="" - for arch in $archs; do + for arch in $binary_archs; do if ! [[ "${ARCHS}" == *"$arch"* ]]; then # Strip non-valid architectures in-place lipo -remove "$arch" -output "$binary" "$binary" || exit 1 @@ -98,6 +129,7 @@ strip_invalid_archs() { if [[ "$stripped" ]]; then echo "Stripped $binary of architectures:$stripped" fi + STRIP_BINARY_RETVAL=1 } if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then diff --git a/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests-resources.sh b/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests-resources.sh index c2e0cb75e..af14caa2a 100755 --- a/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests-resources.sh +++ b/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests-resources.sh @@ -84,12 +84,12 @@ EOM esac } if [[ "$CONFIGURATION" == "Debug" ]]; then - install_resource "$PODS_CONFIGURATION_BUILD_DIR/KiteJSONValidator-macOS/KiteJSONValidator.bundle" - install_resource "$PODS_CONFIGURATION_BUILD_DIR/SnowplowIgluClient-macOS/SnowplowIgluResources.bundle" + install_resource "${PODS_CONFIGURATION_BUILD_DIR}/KiteJSONValidator-macOS/KiteJSONValidator.bundle" + install_resource "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowIgluClient-macOS/SnowplowIgluResources.bundle" fi if [[ "$CONFIGURATION" == "Release" ]]; then - install_resource "$PODS_CONFIGURATION_BUILD_DIR/KiteJSONValidator-macOS/KiteJSONValidator.bundle" - install_resource "$PODS_CONFIGURATION_BUILD_DIR/SnowplowIgluClient-macOS/SnowplowIgluResources.bundle" + install_resource "${PODS_CONFIGURATION_BUILD_DIR}/KiteJSONValidator-macOS/KiteJSONValidator.bundle" + install_resource "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowIgluClient-macOS/SnowplowIgluResources.bundle" fi mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" diff --git a/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests.debug.xcconfig b/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests.debug.xcconfig index 4e120f6b1..5c64416dd 100644 --- a/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests.debug.xcconfig +++ b/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests.debug.xcconfig @@ -1,10 +1,10 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/KiteJSONValidator" "${PODS_ROOT}/Headers/Public/Nocilla" "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" -LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/KiteJSONValidator-macOS" "$PODS_CONFIGURATION_BUILD_DIR/Nocilla-macOS" "$PODS_CONFIGURATION_BUILD_DIR/SnowplowIgluClient-macOS" +LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/KiteJSONValidator-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/Nocilla-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowIgluClient-macOS" ONLY_ACTIVE_ARCH = NO OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/FMDB" -isystem "${PODS_ROOT}/Headers/Public/KiteJSONValidator" -isystem "${PODS_ROOT}/Headers/Public/Nocilla" -isystem "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" OTHER_LDFLAGS = $(inherited) -ObjC -l"KiteJSONValidator-macOS" -l"Nocilla-macOS" -l"SnowplowIgluClient-macOS" -framework "CFNetwork" -framework "Foundation" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods diff --git a/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests.release.xcconfig b/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests.release.xcconfig index 4e120f6b1..5c64416dd 100644 --- a/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests.release.xcconfig +++ b/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests.release.xcconfig @@ -1,10 +1,10 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/KiteJSONValidator" "${PODS_ROOT}/Headers/Public/Nocilla" "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" -LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/KiteJSONValidator-macOS" "$PODS_CONFIGURATION_BUILD_DIR/Nocilla-macOS" "$PODS_CONFIGURATION_BUILD_DIR/SnowplowIgluClient-macOS" +LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/KiteJSONValidator-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/Nocilla-macOS" "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowIgluClient-macOS" ONLY_ACTIVE_ARCH = NO OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/FMDB" -isystem "${PODS_ROOT}/Headers/Public/KiteJSONValidator" -isystem "${PODS_ROOT}/Headers/Public/Nocilla" -isystem "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" OTHER_LDFLAGS = $(inherited) -ObjC -l"KiteJSONValidator-macOS" -l"Nocilla-macOS" -l"SnowplowIgluClient-macOS" -framework "CFNetwork" -framework "Foundation" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods diff --git a/Pods/Target Support Files/Pods-Snowplow/Pods-Snowplow.debug.xcconfig b/Pods/Target Support Files/Pods-Snowplow/Pods-Snowplow.debug.xcconfig index 3a625ea8e..6918ad8ec 100644 --- a/Pods/Target Support Files/Pods-Snowplow/Pods-Snowplow.debug.xcconfig +++ b/Pods/Target Support Files/Pods-Snowplow/Pods-Snowplow.debug.xcconfig @@ -1,9 +1,9 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/KiteJSONValidator" "${PODS_ROOT}/Headers/Public/Nocilla" "${PODS_ROOT}/Headers/Public/Reachability" "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" -LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FMDB-iOS" "$PODS_CONFIGURATION_BUILD_DIR/Reachability" +LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FMDB-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/Reachability" OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/FMDB" -isystem "${PODS_ROOT}/Headers/Public/KiteJSONValidator" -isystem "${PODS_ROOT}/Headers/Public/Nocilla" -isystem "${PODS_ROOT}/Headers/Public/Reachability" -isystem "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" OTHER_LDFLAGS = $(inherited) -ObjC -l"FMDB-iOS" -l"Reachability" -framework "SystemConfiguration" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods diff --git a/Pods/Target Support Files/Pods-Snowplow/Pods-Snowplow.release.xcconfig b/Pods/Target Support Files/Pods-Snowplow/Pods-Snowplow.release.xcconfig index 3a625ea8e..6918ad8ec 100644 --- a/Pods/Target Support Files/Pods-Snowplow/Pods-Snowplow.release.xcconfig +++ b/Pods/Target Support Files/Pods-Snowplow/Pods-Snowplow.release.xcconfig @@ -1,9 +1,9 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/KiteJSONValidator" "${PODS_ROOT}/Headers/Public/Nocilla" "${PODS_ROOT}/Headers/Public/Reachability" "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" -LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FMDB-iOS" "$PODS_CONFIGURATION_BUILD_DIR/Reachability" +LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FMDB-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/Reachability" OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/FMDB" -isystem "${PODS_ROOT}/Headers/Public/KiteJSONValidator" -isystem "${PODS_ROOT}/Headers/Public/Nocilla" -isystem "${PODS_ROOT}/Headers/Public/Reachability" -isystem "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" OTHER_LDFLAGS = $(inherited) -ObjC -l"FMDB-iOS" -l"Reachability" -framework "SystemConfiguration" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods diff --git a/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests-frameworks.sh b/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests-frameworks.sh index 88dd53799..881cbaed3 100755 --- a/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests-frameworks.sh +++ b/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests-frameworks.sh @@ -6,10 +6,14 @@ mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +# Used as a return value for each invocation of `strip_invalid_archs` function. +STRIP_BINARY_RETVAL=0 + # This protects against multiple targets copying the same framework dependency at the same time. The solution # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") +# Copies and strips a vendored framework install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then @@ -58,12 +62,31 @@ install_framework() fi } -# Copies the dSYM of a vendored framework +# Copies and strips a vendored dSYM install_dsym() { local source="$1" if [ -r "$source" ]; then - 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}\"" - 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}" + # Copy the dSYM into a the targets temp dir. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" + + local basename + basename="$(basename -s .framework.dSYM "$source")" + binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then + strip_invalid_archs "$binary" + fi + + if [[ $STRIP_BINARY_RETVAL == 1 ]]; then + # Move the stripped file into its final destination. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" + else + # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. + touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" + fi fi } @@ -85,10 +108,18 @@ code_sign_if_enabled() { # Strip invalid architectures strip_invalid_archs() { binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + # Get architectures for current target binary + binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" + # Intersect them with the architectures we are building for + intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" + # If there are no archs supported by this binary then warn the user + if [[ -z "$intersected_archs" ]]; then + echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." + STRIP_BINARY_RETVAL=0 + return + fi stripped="" - for arch in $archs; do + for arch in $binary_archs; do if ! [[ "${ARCHS}" == *"$arch"* ]]; then # Strip non-valid architectures in-place lipo -remove "$arch" -output "$binary" "$binary" || exit 1 @@ -98,6 +129,7 @@ strip_invalid_archs() { if [[ "$stripped" ]]; then echo "Stripped $binary of architectures:$stripped" fi + STRIP_BINARY_RETVAL=1 } if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then diff --git a/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests-resources.sh b/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests-resources.sh index c2d9c7e3f..0fd95653c 100755 --- a/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests-resources.sh +++ b/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests-resources.sh @@ -84,12 +84,12 @@ EOM esac } if [[ "$CONFIGURATION" == "Debug" ]]; then - install_resource "$PODS_CONFIGURATION_BUILD_DIR/KiteJSONValidator-iOS/KiteJSONValidator.bundle" - install_resource "$PODS_CONFIGURATION_BUILD_DIR/SnowplowIgluClient-iOS/SnowplowIgluResources.bundle" + install_resource "${PODS_CONFIGURATION_BUILD_DIR}/KiteJSONValidator-iOS/KiteJSONValidator.bundle" + install_resource "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowIgluClient-iOS/SnowplowIgluResources.bundle" fi if [[ "$CONFIGURATION" == "Release" ]]; then - install_resource "$PODS_CONFIGURATION_BUILD_DIR/KiteJSONValidator-iOS/KiteJSONValidator.bundle" - install_resource "$PODS_CONFIGURATION_BUILD_DIR/SnowplowIgluClient-iOS/SnowplowIgluResources.bundle" + install_resource "${PODS_CONFIGURATION_BUILD_DIR}/KiteJSONValidator-iOS/KiteJSONValidator.bundle" + install_resource "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowIgluClient-iOS/SnowplowIgluResources.bundle" fi mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" diff --git a/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests.debug.xcconfig b/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests.debug.xcconfig index e802b455f..1dd495bf5 100644 --- a/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests.debug.xcconfig +++ b/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests.debug.xcconfig @@ -1,10 +1,10 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/KiteJSONValidator" "${PODS_ROOT}/Headers/Public/Nocilla" "${PODS_ROOT}/Headers/Public/Reachability" "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" -LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FMDB-iOS" "$PODS_CONFIGURATION_BUILD_DIR/KiteJSONValidator-iOS" "$PODS_CONFIGURATION_BUILD_DIR/Nocilla-iOS" "$PODS_CONFIGURATION_BUILD_DIR/Reachability" "$PODS_CONFIGURATION_BUILD_DIR/SnowplowIgluClient-iOS" +LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FMDB-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/KiteJSONValidator-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/Nocilla-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/Reachability" "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowIgluClient-iOS" ONLY_ACTIVE_ARCH = NO OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/FMDB" -isystem "${PODS_ROOT}/Headers/Public/KiteJSONValidator" -isystem "${PODS_ROOT}/Headers/Public/Nocilla" -isystem "${PODS_ROOT}/Headers/Public/Reachability" -isystem "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" OTHER_LDFLAGS = -l"sqlite3" $(inherited) -ObjC -l"FMDB-iOS" -l"KiteJSONValidator-iOS" -l"Nocilla-iOS" -l"Reachability" -l"SnowplowIgluClient-iOS" -l"sqlite3" -framework "CFNetwork" -framework "Foundation" -framework "SystemConfiguration" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods diff --git a/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests.release.xcconfig b/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests.release.xcconfig index e802b455f..1dd495bf5 100644 --- a/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests.release.xcconfig +++ b/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests.release.xcconfig @@ -1,10 +1,10 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/KiteJSONValidator" "${PODS_ROOT}/Headers/Public/Nocilla" "${PODS_ROOT}/Headers/Public/Reachability" "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" -LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FMDB-iOS" "$PODS_CONFIGURATION_BUILD_DIR/KiteJSONValidator-iOS" "$PODS_CONFIGURATION_BUILD_DIR/Nocilla-iOS" "$PODS_CONFIGURATION_BUILD_DIR/Reachability" "$PODS_CONFIGURATION_BUILD_DIR/SnowplowIgluClient-iOS" +LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FMDB-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/KiteJSONValidator-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/Nocilla-iOS" "${PODS_CONFIGURATION_BUILD_DIR}/Reachability" "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowIgluClient-iOS" ONLY_ACTIVE_ARCH = NO OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/FMDB" -isystem "${PODS_ROOT}/Headers/Public/KiteJSONValidator" -isystem "${PODS_ROOT}/Headers/Public/Nocilla" -isystem "${PODS_ROOT}/Headers/Public/Reachability" -isystem "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" OTHER_LDFLAGS = -l"sqlite3" $(inherited) -ObjC -l"FMDB-iOS" -l"KiteJSONValidator-iOS" -l"Nocilla-iOS" -l"Reachability" -l"SnowplowIgluClient-iOS" -l"sqlite3" -framework "CFNetwork" -framework "Foundation" -framework "SystemConfiguration" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods diff --git a/Pods/Target Support Files/Reachability/Reachability.xcconfig b/Pods/Target Support Files/Reachability/Reachability.xcconfig index 60068756f..7911cfb41 100644 --- a/Pods/Target Support Files/Reachability/Reachability.xcconfig +++ b/Pods/Target Support Files/Reachability/Reachability.xcconfig @@ -1,9 +1,9 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Reachability +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Reachability GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Reachability" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/KiteJSONValidator" "${PODS_ROOT}/Headers/Public/Nocilla" "${PODS_ROOT}/Headers/Public/Reachability" "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" OTHER_LDFLAGS = -framework "SystemConfiguration" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/Reachability PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} diff --git a/Pods/Target Support Files/SnowplowIgluClient-iOS/ResourceBundle-SnowplowIgluResources-Info.plist b/Pods/Target Support Files/SnowplowIgluClient-iOS/ResourceBundle-SnowplowIgluResources-Info.plist index 99a40ffbf..53dfc9f29 100644 --- a/Pods/Target Support Files/SnowplowIgluClient-iOS/ResourceBundle-SnowplowIgluResources-Info.plist +++ b/Pods/Target Support Files/SnowplowIgluClient-iOS/ResourceBundle-SnowplowIgluResources-Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 0.1.0 + 0.1.1 CFBundleSignature ???? CFBundleVersion diff --git a/Pods/Target Support Files/SnowplowIgluClient-iOS/SnowplowIgluClient-iOS.xcconfig b/Pods/Target Support Files/SnowplowIgluClient-iOS/SnowplowIgluClient-iOS.xcconfig index b45038dca..fc65f75db 100644 --- a/Pods/Target Support Files/SnowplowIgluClient-iOS/SnowplowIgluClient-iOS.xcconfig +++ b/Pods/Target Support Files/SnowplowIgluClient-iOS/SnowplowIgluClient-iOS.xcconfig @@ -1,10 +1,10 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/SnowplowIgluClient-iOS +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SnowplowIgluClient-iOS GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/SnowplowIgluClient" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/KiteJSONValidator" "${PODS_ROOT}/Headers/Public/Nocilla" "${PODS_ROOT}/Headers/Public/Reachability" "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" -LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/KiteJSONValidator-iOS" +LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/KiteJSONValidator-iOS" OTHER_LDFLAGS = -framework "Foundation" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/SnowplowIgluClient PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} diff --git a/Pods/Target Support Files/SnowplowIgluClient-macOS/ResourceBundle-SnowplowIgluResources-Info.plist b/Pods/Target Support Files/SnowplowIgluClient-macOS/ResourceBundle-SnowplowIgluResources-Info.plist index 99a40ffbf..53dfc9f29 100644 --- a/Pods/Target Support Files/SnowplowIgluClient-macOS/ResourceBundle-SnowplowIgluResources-Info.plist +++ b/Pods/Target Support Files/SnowplowIgluClient-macOS/ResourceBundle-SnowplowIgluResources-Info.plist @@ -13,7 +13,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 0.1.0 + 0.1.1 CFBundleSignature ???? CFBundleVersion diff --git a/Pods/Target Support Files/SnowplowIgluClient-macOS/SnowplowIgluClient-macOS.xcconfig b/Pods/Target Support Files/SnowplowIgluClient-macOS/SnowplowIgluClient-macOS.xcconfig index 58369d94c..ce66a9140 100644 --- a/Pods/Target Support Files/SnowplowIgluClient-macOS/SnowplowIgluClient-macOS.xcconfig +++ b/Pods/Target Support Files/SnowplowIgluClient-macOS/SnowplowIgluClient-macOS.xcconfig @@ -1,10 +1,10 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/SnowplowIgluClient-macOS +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SnowplowIgluClient-macOS GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/SnowplowIgluClient" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/KiteJSONValidator" "${PODS_ROOT}/Headers/Public/Nocilla" "${PODS_ROOT}/Headers/Public/SnowplowIgluClient" -LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/KiteJSONValidator-macOS" +LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/KiteJSONValidator-macOS" OTHER_LDFLAGS = -framework "Foundation" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/SnowplowIgluClient PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} diff --git a/Snowplow.xcodeproj/project.pbxproj b/Snowplow.xcodeproj/project.pbxproj index c6010621b..67b3721e6 100644 --- a/Snowplow.xcodeproj/project.pbxproj +++ b/Snowplow.xcodeproj/project.pbxproj @@ -7,7 +7,6 @@ objects = { /* Begin PBXBuildFile section */ - 03DD2B79EF5B82E4F1ED5D44 /* libPods-Snowplow-OSXTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DA0C3EF0493B776ED45FA05 /* libPods-Snowplow-OSXTests.a */; }; 040296EB1BB155A700895DED /* TestGeneratedJsons.m in Sources */ = {isa = PBXBuildFile; fileRef = 040296EA1BB155A700895DED /* TestGeneratedJsons.m */; }; 0402EBEE1BA93CCC006C8818 /* SPEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 0402EBED1BA93CCC006C8818 /* SPEvent.m */; }; 0402EBEF1BA93CCC006C8818 /* SPEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 0402EBED1BA93CCC006C8818 /* SPEvent.m */; }; @@ -39,12 +38,9 @@ 04EF45611BB01C26008E5E8B /* TestSelfDescribingJson.m in Sources */ = {isa = PBXBuildFile; fileRef = 04EF45601BB01C26008E5E8B /* TestSelfDescribingJson.m */; }; 04EF45621BB01C26008E5E8B /* TestSelfDescribingJson.m in Sources */ = {isa = PBXBuildFile; fileRef = 04EF45601BB01C26008E5E8B /* TestSelfDescribingJson.m */; }; 04F4334F1B7A360E00035CDC /* SPRequestResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 0413DD761B78D643000D2112 /* SPRequestResponse.m */; }; - 140454A81B399B9BD12C2030 /* libPods-Snowplow-OSX.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3950A58E0CFC6101746B4C28 /* libPods-Snowplow-OSX.a */; }; - 24103385337EE3892FDCDE3E /* libPods-Snowplow.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 42CE2733D73A2C7D4E3888FB /* libPods-Snowplow.a */; }; - 4C5E98E9C0215549D74F9396 /* libPods-Base-Snowplow-OSX.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AEFD2A3839970FE05343E80B /* libPods-Base-Snowplow-OSX.a */; }; - 739CB86F6E68F675EBA47AE2 /* libPods-SnowplowTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D284B1244765020D7B12B722 /* libPods-SnowplowTests.a */; }; + 3766A2C3F3A47FAD13BBD572 /* libPods-BaseTests-Snowplow-OSXTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8606758B6C212C5A40399954 /* libPods-BaseTests-Snowplow-OSXTests.a */; }; 75907E3C200EB0C000096DB1 /* Products in Resources */ = {isa = PBXBuildFile; fileRef = 75907E3B200EB0C000096DB1 /* Products */; }; - 968F9AB1BB9FC18F0D22FB63 /* libPods-BaseTests-Snowplow-OSXTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 717C9BDC06316B667870FEE3 /* libPods-BaseTests-Snowplow-OSXTests.a */; }; + 94AB3B907E655F40AC33D0D7 /* libPods-SnowplowTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 986B7AA7BB8FF90D3FEF4E8E /* libPods-SnowplowTests.a */; }; AB0C27C1191B408200018557 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AB0C27C0191B408200018557 /* Foundation.framework */; }; AB0C27CF191B408200018557 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AB0C27CE191B408200018557 /* XCTest.framework */; }; AB0C27D0191B408200018557 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AB0C27C0191B408200018557 /* Foundation.framework */; }; @@ -77,6 +73,8 @@ AEA2FCF51A8CE31000123462 /* TestTracker.m in Sources */ = {isa = PBXBuildFile; fileRef = ABB790CB1936F2500084B964 /* TestTracker.m */; }; AEA2FCF61A8CE31200123462 /* TestEventStore.m in Sources */ = {isa = PBXBuildFile; fileRef = AB4338571950A530006A1DE4 /* TestEventStore.m */; }; AEB76D621A8E3AC800BD0E69 /* OpenIDFA.m in Sources */ = {isa = PBXBuildFile; fileRef = AB39617119530E850002F235 /* OpenIDFA.m */; }; + C551ADE01428FA1446A4B276 /* libPods-Snowplow.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A9A27FF60B23B28B2EC88E22 /* libPods-Snowplow.a */; }; + CDE3F020E0223A76F50BDC9C /* libPods-Base-Snowplow-OSX.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6B4FB17F0FF252AB56D1335F /* libPods-Base-Snowplow-OSX.a */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -134,21 +132,18 @@ 04ABC3611B9088DA00F50CAD /* TestSession.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TestSession.m; sourceTree = ""; }; 04B41EA91BB2843F007C19C8 /* Resources */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Resources; sourceTree = ""; }; 04EF45601BB01C26008E5E8B /* TestSelfDescribingJson.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TestSelfDescribingJson.m; sourceTree = ""; }; - 12A60D7497F52746347837AE /* Pods-Snowplow.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Snowplow.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Snowplow/Pods-Snowplow.debug.xcconfig"; sourceTree = ""; }; - 1DA0C3EF0493B776ED45FA05 /* libPods-Snowplow-OSXTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Snowplow-OSXTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 267BD9953CB239A58C6589EE /* Pods-SnowplowTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SnowplowTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests.debug.xcconfig"; sourceTree = ""; }; - 28A23ECAE63F8779C6709804 /* Pods-Snowplow-OSXTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Snowplow-OSXTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Snowplow-OSXTests/Pods-Snowplow-OSXTests.debug.xcconfig"; sourceTree = ""; }; - 2ED66E1B4D9BEC802D606B1D /* Pods-Base-Snowplow-OSX.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Base-Snowplow-OSX.release.xcconfig"; path = "Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX.release.xcconfig"; sourceTree = ""; }; - 37A423DE6135420B7C94F1C5 /* Pods-Snowplow.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Snowplow.release.xcconfig"; path = "Pods/Target Support Files/Pods-Snowplow/Pods-Snowplow.release.xcconfig"; sourceTree = ""; }; - 3929CEC70626A2ACFBAA8686 /* Pods-Snowplow-OSXTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Snowplow-OSXTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-Snowplow-OSXTests/Pods-Snowplow-OSXTests.release.xcconfig"; sourceTree = ""; }; - 3950A58E0CFC6101746B4C28 /* libPods-Snowplow-OSX.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Snowplow-OSX.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 42CE2733D73A2C7D4E3888FB /* libPods-Snowplow.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Snowplow.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 66ACC5B9C3FCC32FFC03B64E /* Pods-Snowplow-OSX.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Snowplow-OSX.release.xcconfig"; path = "Pods/Target Support Files/Pods-Snowplow-OSX/Pods-Snowplow-OSX.release.xcconfig"; sourceTree = ""; }; - 717C9BDC06316B667870FEE3 /* libPods-BaseTests-Snowplow-OSXTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-BaseTests-Snowplow-OSXTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 17737E802825941D70D26535 /* Pods-Snowplow.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Snowplow.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Snowplow/Pods-Snowplow.debug.xcconfig"; sourceTree = ""; }; + 1FBAFAF30FB34AD8EE412768 /* Pods-SnowplowTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SnowplowTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests.release.xcconfig"; sourceTree = ""; }; + 42779C8377005F0BEC03EC3E /* Pods-Base-Snowplow-OSX.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Base-Snowplow-OSX.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX.debug.xcconfig"; sourceTree = ""; }; + 4848D2C383C2217250625D0F /* Pods-SnowplowTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SnowplowTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests.debug.xcconfig"; sourceTree = ""; }; + 625A21243C7F7CE4E7267812 /* Pods-BaseTests-Snowplow-OSXTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BaseTests-Snowplow-OSXTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests.debug.xcconfig"; sourceTree = ""; }; + 6B4FB17F0FF252AB56D1335F /* libPods-Base-Snowplow-OSX.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Base-Snowplow-OSX.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 75907E3B200EB0C000096DB1 /* Products */ = {isa = PBXFileReference; lastKnownFileType = folder; name = Products; path = SnowplowTests/Products; sourceTree = ""; }; - 832ACF462F797D21EF3D667E /* Pods-SnowplowTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SnowplowTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests.release.xcconfig"; sourceTree = ""; }; - 94D24AFAC0C72DF11D744E20 /* Pods-BaseTests-Snowplow-OSXTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BaseTests-Snowplow-OSXTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests.release.xcconfig"; sourceTree = ""; }; - 97BD0CE0229A798C94CE1C3D /* Pods-BaseTests-Snowplow-OSXTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BaseTests-Snowplow-OSXTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests.debug.xcconfig"; sourceTree = ""; }; + 7E6F2978FAC28E50237BF680 /* Pods-Base-Snowplow-OSX.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Base-Snowplow-OSX.release.xcconfig"; path = "Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX.release.xcconfig"; sourceTree = ""; }; + 8606758B6C212C5A40399954 /* libPods-BaseTests-Snowplow-OSXTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-BaseTests-Snowplow-OSXTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 88F14E673D779EFE0BA46623 /* Pods-BaseTests-Snowplow-OSXTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BaseTests-Snowplow-OSXTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests.release.xcconfig"; sourceTree = ""; }; + 986B7AA7BB8FF90D3FEF4E8E /* libPods-SnowplowTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SnowplowTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + A9A27FF60B23B28B2EC88E22 /* libPods-Snowplow.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Snowplow.a"; sourceTree = BUILT_PRODUCTS_DIR; }; AB0C27BD191B408200018557 /* libSnowplow.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSnowplow.a; sourceTree = BUILT_PRODUCTS_DIR; }; AB0C27C0191B408200018557 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; AB0C27C4191B408200018557 /* Snowplow-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Snowplow-Prefix.pch"; sourceTree = ""; }; @@ -181,10 +176,7 @@ AEA2FCD61A8CDF8100123462 /* libSnowplow-OSX.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libSnowplow-OSX.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; AEA2FCE01A8CDF8100123462 /* Snowplow-OSXTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Snowplow-OSXTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; AEA2FCE61A8CDF8100123462 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - AEFD2A3839970FE05343E80B /* libPods-Base-Snowplow-OSX.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Base-Snowplow-OSX.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - C66B5D6EC09F069C2E7517A9 /* Pods-Snowplow-OSX.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Snowplow-OSX.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Snowplow-OSX/Pods-Snowplow-OSX.debug.xcconfig"; sourceTree = ""; }; - C76F61F8CADECC35DA3D5132 /* Pods-Base-Snowplow-OSX.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Base-Snowplow-OSX.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX.debug.xcconfig"; sourceTree = ""; }; - D284B1244765020D7B12B722 /* libPods-SnowplowTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SnowplowTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + E44D93510ED2A7C00763884F /* Pods-Snowplow.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Snowplow.release.xcconfig"; path = "Pods/Target Support Files/Pods-Snowplow/Pods-Snowplow.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -195,7 +187,7 @@ AB9E8214192DEC38006744C9 /* CoreTelephony.framework in Frameworks */, ABB67D8D192D9552009A1ECE /* UIKit.framework in Frameworks */, AB0C27C1191B408200018557 /* Foundation.framework in Frameworks */, - 24103385337EE3892FDCDE3E /* libPods-Snowplow.a in Frameworks */, + C551ADE01428FA1446A4B276 /* libPods-Snowplow.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -208,7 +200,7 @@ AB0C27CF191B408200018557 /* XCTest.framework in Frameworks */, AB0C27D2191B408200018557 /* UIKit.framework in Frameworks */, AB0C27D5191B408200018557 /* libSnowplow.a in Frameworks */, - 739CB86F6E68F675EBA47AE2 /* libPods-SnowplowTests.a in Frameworks */, + 94AB3B907E655F40AC33D0D7 /* libPods-SnowplowTests.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -216,8 +208,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 140454A81B399B9BD12C2030 /* libPods-Snowplow-OSX.a in Frameworks */, - 4C5E98E9C0215549D74F9396 /* libPods-Base-Snowplow-OSX.a in Frameworks */, + CDE3F020E0223A76F50BDC9C /* libPods-Base-Snowplow-OSX.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -226,33 +217,13 @@ buildActionMask = 2147483647; files = ( AEA2FCE11A8CDF8100123462 /* libSnowplow-OSX.dylib in Frameworks */, - 03DD2B79EF5B82E4F1ED5D44 /* libPods-Snowplow-OSXTests.a in Frameworks */, - 968F9AB1BB9FC18F0D22FB63 /* libPods-BaseTests-Snowplow-OSXTests.a in Frameworks */, + 3766A2C3F3A47FAD13BBD572 /* libPods-BaseTests-Snowplow-OSXTests.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 88BA9344523FA1E6EBA7E7A9 /* Pods */ = { - isa = PBXGroup; - children = ( - 12A60D7497F52746347837AE /* Pods-Snowplow.debug.xcconfig */, - 37A423DE6135420B7C94F1C5 /* Pods-Snowplow.release.xcconfig */, - C66B5D6EC09F069C2E7517A9 /* Pods-Snowplow-OSX.debug.xcconfig */, - 66ACC5B9C3FCC32FFC03B64E /* Pods-Snowplow-OSX.release.xcconfig */, - 28A23ECAE63F8779C6709804 /* Pods-Snowplow-OSXTests.debug.xcconfig */, - 3929CEC70626A2ACFBAA8686 /* Pods-Snowplow-OSXTests.release.xcconfig */, - 267BD9953CB239A58C6589EE /* Pods-SnowplowTests.debug.xcconfig */, - 832ACF462F797D21EF3D667E /* Pods-SnowplowTests.release.xcconfig */, - C76F61F8CADECC35DA3D5132 /* Pods-Base-Snowplow-OSX.debug.xcconfig */, - 2ED66E1B4D9BEC802D606B1D /* Pods-Base-Snowplow-OSX.release.xcconfig */, - 97BD0CE0229A798C94CE1C3D /* Pods-BaseTests-Snowplow-OSXTests.debug.xcconfig */, - 94D24AFAC0C72DF11D744E20 /* Pods-BaseTests-Snowplow-OSXTests.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; AB0C27B4191B408200018557 = { isa = PBXGroup; children = ( @@ -262,7 +233,7 @@ AEA2FCE41A8CDF8100123462 /* Snowplow-OSXTests */, AB0C27BF191B408200018557 /* Frameworks */, AB0C27BE191B408200018557 /* Products */, - 88BA9344523FA1E6EBA7E7A9 /* Pods */, + CD078525F59A2001BF3DCE24 /* Pods */, ); sourceTree = ""; }; @@ -287,12 +258,10 @@ AB0C27C0191B408200018557 /* Foundation.framework */, AB0C27CE191B408200018557 /* XCTest.framework */, AB0C27D1191B408200018557 /* UIKit.framework */, - 42CE2733D73A2C7D4E3888FB /* libPods-Snowplow.a */, - 3950A58E0CFC6101746B4C28 /* libPods-Snowplow-OSX.a */, - 1DA0C3EF0493B776ED45FA05 /* libPods-Snowplow-OSXTests.a */, - D284B1244765020D7B12B722 /* libPods-SnowplowTests.a */, - AEFD2A3839970FE05343E80B /* libPods-Base-Snowplow-OSX.a */, - 717C9BDC06316B667870FEE3 /* libPods-BaseTests-Snowplow-OSXTests.a */, + 6B4FB17F0FF252AB56D1335F /* libPods-Base-Snowplow-OSX.a */, + 8606758B6C212C5A40399954 /* libPods-BaseTests-Snowplow-OSXTests.a */, + A9A27FF60B23B28B2EC88E22 /* libPods-Snowplow.a */, + 986B7AA7BB8FF90D3FEF4E8E /* libPods-SnowplowTests.a */, ); name = Frameworks; sourceTree = ""; @@ -387,6 +356,21 @@ name = "Supporting Files"; sourceTree = ""; }; + CD078525F59A2001BF3DCE24 /* Pods */ = { + isa = PBXGroup; + children = ( + 42779C8377005F0BEC03EC3E /* Pods-Base-Snowplow-OSX.debug.xcconfig */, + 7E6F2978FAC28E50237BF680 /* Pods-Base-Snowplow-OSX.release.xcconfig */, + 625A21243C7F7CE4E7267812 /* Pods-BaseTests-Snowplow-OSXTests.debug.xcconfig */, + 88F14E673D779EFE0BA46623 /* Pods-BaseTests-Snowplow-OSXTests.release.xcconfig */, + 17737E802825941D70D26535 /* Pods-Snowplow.debug.xcconfig */, + E44D93510ED2A7C00763884F /* Pods-Snowplow.release.xcconfig */, + 4848D2C383C2217250625D0F /* Pods-SnowplowTests.debug.xcconfig */, + 1FBAFAF30FB34AD8EE412768 /* Pods-SnowplowTests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ @@ -404,11 +388,11 @@ isa = PBXNativeTarget; buildConfigurationList = AB0C27E0191B408200018557 /* Build configuration list for PBXNativeTarget "Snowplow" */; buildPhases = ( - D57FB56B09604F7DE5A24E67 /* [CP] Check Pods Manifest.lock */, + 3B204E4A0724992EEC028B16 /* [CP] Check Pods Manifest.lock */, AB0C27B9191B408200018557 /* Sources */, AB0C27BA191B408200018557 /* Frameworks */, AB0C27BB191B408200018557 /* Copy Files */, - 3C2E6B4B9826843B1E7E4EFD /* [CP] Copy Pods Resources */, + BA358A3D0E7FE4866D328C06 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -423,12 +407,12 @@ isa = PBXNativeTarget; buildConfigurationList = AB0C27E3191B408200018557 /* Build configuration list for PBXNativeTarget "SnowplowTests" */; buildPhases = ( - EADC0929A9F59CAB14899FE2 /* [CP] Check Pods Manifest.lock */, + B457498A863316B5D1830797 /* [CP] Check Pods Manifest.lock */, AB0C27C9191B408200018557 /* Sources */, AB0C27CA191B408200018557 /* Frameworks */, AB0C27CB191B408200018557 /* Resources */, - 29FC8F5A9241F00D03DA0927 /* [CP] Embed Pods Frameworks */, - 1F9BC9FB423F0943D5280774 /* [CP] Copy Pods Resources */, + FA5446DF4FF57E090A9B01F1 /* [CP] Embed Pods Frameworks */, + 14401CDF45AD5C6F3813DDBC /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -444,11 +428,11 @@ isa = PBXNativeTarget; buildConfigurationList = AEA2FCEB1A8CDF8100123462 /* Build configuration list for PBXNativeTarget "Snowplow-OSX" */; buildPhases = ( - 7738A32EBD19843A8632A64F /* [CP] Check Pods Manifest.lock */, + 461D033B830CE62A27AC4074 /* [CP] Check Pods Manifest.lock */, AEA2FCD21A8CDF8100123462 /* Sources */, AEA2FCD31A8CDF8100123462 /* Frameworks */, AEA2FCD41A8CDF8100123462 /* Headers */, - 8160589E33FAD3AFFD2BB6BE /* [CP] Copy Pods Resources */, + 0FA4535FA3E186087769C24D /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -463,12 +447,12 @@ isa = PBXNativeTarget; buildConfigurationList = AEA2FCEC1A8CDF8100123462 /* Build configuration list for PBXNativeTarget "Snowplow-OSXTests" */; buildPhases = ( - 7DA7A3401305596378159266 /* [CP] Check Pods Manifest.lock */, + 91740E5483E11CD41FF22398 /* [CP] Check Pods Manifest.lock */, AEA2FCDC1A8CDF8100123462 /* Sources */, AEA2FCDD1A8CDF8100123462 /* Frameworks */, AEA2FCDE1A8CDF8100123462 /* Resources */, - A23056971F387E78FC9224C8 /* [CP] Embed Pods Frameworks */, - D5C477874193EA89B516CB80 /* [CP] Copy Pods Resources */, + 8E097182AFF622E829A64F61 /* [CP] Embed Pods Frameworks */, + CB79AF1858A9607F1E8FC7B4 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -538,57 +522,60 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 1F9BC9FB423F0943D5280774 /* [CP] Copy Pods Resources */ = { + 0FA4535FA3E186087769C24D /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests-resources.sh", - "${PODS_CONFIGURATION_BUILD_DIR}/KiteJSONValidator-iOS/KiteJSONValidator.bundle", - "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowIgluClient-iOS/SnowplowIgluResources.bundle", ); name = "[CP] Copy Pods Resources"; outputPaths = ( - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/KiteJSONValidator.bundle", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SnowplowIgluResources.bundle", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests-resources.sh\"\n"; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX-resources.sh\"\n"; showEnvVarsInLog = 0; }; - 29FC8F5A9241F00D03DA0927 /* [CP] Embed Pods Frameworks */ = { + 14401CDF45AD5C6F3813DDBC /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests-resources.sh", + "${PODS_CONFIGURATION_BUILD_DIR}/KiteJSONValidator-iOS/KiteJSONValidator.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowIgluClient-iOS/SnowplowIgluResources.bundle", ); - name = "[CP] Embed Pods Frameworks"; + name = "[CP] Copy Pods Resources"; outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/KiteJSONValidator.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SnowplowIgluResources.bundle", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests-frameworks.sh\"\n"; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests-resources.sh\"\n"; showEnvVarsInLog = 0; }; - 3C2E6B4B9826843B1E7E4EFD /* [CP] Copy Pods Resources */ = { + 3B204E4A0724992EEC028B16 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", ); - name = "[CP] Copy Pods Resources"; + name = "[CP] Check Pods Manifest.lock"; outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Snowplow-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Snowplow/Pods-Snowplow-resources.sh\"\n"; + 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"; showEnvVarsInLog = 0; }; - 7738A32EBD19843A8632A64F /* [CP] Check Pods Manifest.lock */ = { + 461D033B830CE62A27AC4074 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -606,73 +593,73 @@ 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"; showEnvVarsInLog = 0; }; - 7DA7A3401305596378159266 /* [CP] Check Pods Manifest.lock */ = { + 8E097182AFF622E829A64F61 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", ); - name = "[CP] Check Pods Manifest.lock"; + name = "[CP] Embed Pods Frameworks"; outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-BaseTests-Snowplow-OSXTests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - 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"; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - 8160589E33FAD3AFFD2BB6BE /* [CP] Copy Pods Resources */ = { + 91740E5483E11CD41FF22398 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", ); - name = "[CP] Copy Pods Resources"; + name = "[CP] Check Pods Manifest.lock"; outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-BaseTests-Snowplow-OSXTests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Base-Snowplow-OSX/Pods-Base-Snowplow-OSX-resources.sh\"\n"; + 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"; showEnvVarsInLog = 0; }; - A23056971F387E78FC9224C8 /* [CP] Embed Pods Frameworks */ = { + B457498A863316B5D1830797 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", ); - name = "[CP] Embed Pods Frameworks"; + name = "[CP] Check Pods Manifest.lock"; outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-SnowplowTests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests-frameworks.sh\"\n"; + 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"; showEnvVarsInLog = 0; }; - D57FB56B09604F7DE5A24E67 /* [CP] Check Pods Manifest.lock */ = { + BA358A3D0E7FE4866D328C06 /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", ); - name = "[CP] Check Pods Manifest.lock"; + name = "[CP] Copy Pods Resources"; outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Snowplow-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - 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"; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Snowplow/Pods-Snowplow-resources.sh\"\n"; showEnvVarsInLog = 0; }; - D5C477874193EA89B516CB80 /* [CP] Copy Pods Resources */ = { + CB79AF1858A9607F1E8FC7B4 /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -692,22 +679,19 @@ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BaseTests-Snowplow-OSXTests/Pods-BaseTests-Snowplow-OSXTests-resources.sh\"\n"; showEnvVarsInLog = 0; }; - EADC0929A9F59CAB14899FE2 /* [CP] Check Pods Manifest.lock */ = { + FA5446DF4FF57E090A9B01F1 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", ); - name = "[CP] Check Pods Manifest.lock"; + name = "[CP] Embed Pods Frameworks"; outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-SnowplowTests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - 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"; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SnowplowTests/Pods-SnowplowTests-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ @@ -919,7 +903,7 @@ }; AB0C27E1191B408200018557 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 12A60D7497F52746347837AE /* Pods-Snowplow.debug.xcconfig */; + baseConfigurationReference = 17737E802825941D70D26535 /* Pods-Snowplow.debug.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = YES; DSTROOT = /tmp/Snowplow.dst; @@ -949,7 +933,7 @@ }; AB0C27E2191B408200018557 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 37A423DE6135420B7C94F1C5 /* Pods-Snowplow.release.xcconfig */; + baseConfigurationReference = E44D93510ED2A7C00763884F /* Pods-Snowplow.release.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = YES; DSTROOT = /tmp/Snowplow.dst; @@ -979,7 +963,7 @@ }; AB0C27E4191B408200018557 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 267BD9953CB239A58C6589EE /* Pods-SnowplowTests.debug.xcconfig */; + baseConfigurationReference = 4848D2C383C2217250625D0F /* Pods-SnowplowTests.debug.xcconfig */; buildSettings = { CLANG_ENABLE_CODE_COVERAGE = YES; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; @@ -1005,7 +989,7 @@ }; AB0C27E5191B408200018557 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 832ACF462F797D21EF3D667E /* Pods-SnowplowTests.release.xcconfig */; + baseConfigurationReference = 1FBAFAF30FB34AD8EE412768 /* Pods-SnowplowTests.release.xcconfig */; buildSettings = { CLANG_ENABLE_CODE_COVERAGE = YES; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; @@ -1027,7 +1011,7 @@ }; AEA2FCE71A8CDF8100123462 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = C76F61F8CADECC35DA3D5132 /* Pods-Base-Snowplow-OSX.debug.xcconfig */; + baseConfigurationReference = 42779C8377005F0BEC03EC3E /* Pods-Base-Snowplow-OSX.debug.xcconfig */; buildSettings = { CLANG_WARN_UNREACHABLE_CODE = YES; DYLIB_COMPATIBILITY_VERSION = 1; @@ -1049,7 +1033,7 @@ }; AEA2FCE81A8CDF8100123462 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 2ED66E1B4D9BEC802D606B1D /* Pods-Base-Snowplow-OSX.release.xcconfig */; + baseConfigurationReference = 7E6F2978FAC28E50237BF680 /* Pods-Base-Snowplow-OSX.release.xcconfig */; buildSettings = { CLANG_WARN_UNREACHABLE_CODE = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; @@ -1068,7 +1052,7 @@ }; AEA2FCE91A8CDF8100123462 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 97BD0CE0229A798C94CE1C3D /* Pods-BaseTests-Snowplow-OSXTests.debug.xcconfig */; + baseConfigurationReference = 625A21243C7F7CE4E7267812 /* Pods-BaseTests-Snowplow-OSXTests.debug.xcconfig */; buildSettings = { CLANG_WARN_UNREACHABLE_CODE = YES; COMBINE_HIDPI_IMAGES = YES; @@ -1093,7 +1077,7 @@ }; AEA2FCEA1A8CDF8100123462 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 94D24AFAC0C72DF11D744E20 /* Pods-BaseTests-Snowplow-OSXTests.release.xcconfig */; + baseConfigurationReference = 88F14E673D779EFE0BA46623 /* Pods-BaseTests-Snowplow-OSXTests.release.xcconfig */; buildSettings = { CLANG_WARN_UNREACHABLE_CODE = YES; COMBINE_HIDPI_IMAGES = YES; diff --git a/SnowplowDemo/SnowplowDemo/Images.xcassets/AppIcon.appiconset/Contents.json b/SnowplowDemo/SnowplowDemo/Images.xcassets/AppIcon.appiconset/Contents.json index fa7c2d358..0269019cf 100644 --- a/SnowplowDemo/SnowplowDemo/Images.xcassets/AppIcon.appiconset/Contents.json +++ b/SnowplowDemo/SnowplowDemo/Images.xcassets/AppIcon.appiconset/Contents.json @@ -1,5 +1,15 @@ { "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, { "size" : "29x29", "idiom" : "iphone", @@ -36,6 +46,16 @@ "filename" : "logo-white-180.png", "scale" : "3x" }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "2x" + }, { "size" : "29x29", "idiom" : "ipad", @@ -71,6 +91,16 @@ "idiom" : "ipad", "filename" : "logo-white-152.png", "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "83.5x83.5", + "scale" : "2x" + }, + { + "idiom" : "ios-marketing", + "size" : "1024x1024", + "scale" : "1x" } ], "info" : { diff --git a/SnowplowSwiftDemo/Podfile b/SnowplowSwiftDemo/Podfile new file mode 100644 index 000000000..07cd4341c --- /dev/null +++ b/SnowplowSwiftDemo/Podfile @@ -0,0 +1,34 @@ +# Uncomment the next line to define a global platform for your project +# platform :ios, '9.0' + +target 'SnowplowSwiftDemo' do + # Comment the next line if you're not using Swift and don't want to use dynamic frameworks + use_frameworks! + + platform :ios, '8.0' + + # Pods for SnowplowSwiftDemo + + pod 'SnowplowTracker', :path => '../' + pod 'SwiftTryCatch' + + target 'SnowplowSwiftDemoTests' do + inherit! :search_paths + # Pods for testing + end + + target 'SnowplowSwiftDemoUITests' do + inherit! :search_paths + # Pods for testing + end + +end + +post_install do |installer| + installer.pods_project.targets.each do |target| + target.build_configurations.each do |config| + config.build_settings['CLANG_ENABLE_OBJC_WEAK'] ||= 'YES' + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '8.0' + end + end +end diff --git a/SnowplowSwiftDemo/Podfile.lock b/SnowplowSwiftDemo/Podfile.lock new file mode 100644 index 000000000..01578b042 --- /dev/null +++ b/SnowplowSwiftDemo/Podfile.lock @@ -0,0 +1,27 @@ +PODS: + - FMDB (2.6.2): + - FMDB/standard (= 2.6.2) + - FMDB/standard (2.6.2) + - Reachability (3.2) + - SnowplowTracker (0.7.0): + - FMDB (= 2.6.2) + - Reachability (= 3.2) + - SwiftTryCatch (0.0.1) + +DEPENDENCIES: + - SnowplowTracker (from `../`) + - SwiftTryCatch + +EXTERNAL SOURCES: + SnowplowTracker: + :path: ../ + +SPEC CHECKSUMS: + FMDB: 854a0341b4726e53276f2a8996f06f1b80f9259a + Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96 + SnowplowTracker: b445639aac57dc8f4c01d7433e370e5915103a4c + SwiftTryCatch: fb6d2b34abe48efd69578dac919293a44f95b481 + +PODFILE CHECKSUM: ee8668707da942c0c024303e73e0f57defbe9eaf + +COCOAPODS: 1.4.0 diff --git a/SnowplowSwiftDemo/Pods/FMDB/LICENSE.txt b/SnowplowSwiftDemo/Pods/FMDB/LICENSE.txt new file mode 100644 index 000000000..addfc1ada --- /dev/null +++ b/SnowplowSwiftDemo/Pods/FMDB/LICENSE.txt @@ -0,0 +1,28 @@ +If you are using FMDB in your project, I'd love to hear about it. Let Gus know +by sending an email to gus@flyingmeat.com. + +And if you happen to come across either Gus Mueller or Rob Ryan in a bar, you +might consider purchasing a drink of their choosing if FMDB has been useful to +you. + +Finally, and shortly, this is the MIT License. + +Copyright (c) 2008-2014 Flying Meat Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/SnowplowSwiftDemo/Pods/FMDB/README.markdown b/SnowplowSwiftDemo/Pods/FMDB/README.markdown new file mode 100644 index 000000000..f0d883db2 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/FMDB/README.markdown @@ -0,0 +1,397 @@ +# FMDB v2.6.2 + +This is an Objective-C wrapper around SQLite: http://sqlite.org/ + +## The FMDB Mailing List: +http://groups.google.com/group/fmdb + +## Read the SQLite FAQ: +http://www.sqlite.org/faq.html + +Since FMDB is built on top of SQLite, you're going to want to read this page top to bottom at least once. And while you're there, make sure to bookmark the SQLite Documentation page: http://www.sqlite.org/docs.html + +## Contributing +Do you have an awesome idea that deserves to be in FMDB? You might consider pinging ccgus first to make sure he hasn't already ruled it out for some reason. Otherwise pull requests are great, and make sure you stick to the local coding conventions. However, please be patient and if you haven't heard anything from ccgus for a week or more, you might want to send a note asking what's up. + +## CocoaPods + +[![Dependency Status](https://www.versioneye.com/objective-c/fmdb/2.3/badge.svg?style=flat)](https://www.versioneye.com/objective-c/fmdb/2.3) +[![Reference Status](https://www.versioneye.com/objective-c/fmdb/reference_badge.svg?style=flat)](https://www.versioneye.com/objective-c/fmdb/references) + +FMDB can be installed using [CocoaPods](https://cocoapods.org/). + +``` +pod 'FMDB' +# pod 'FMDB/FTS' # FMDB with FTS +# pod 'FMDB/standalone' # FMDB with latest SQLite amalgamation source +# pod 'FMDB/standalone/FTS' # FMDB with latest SQLite amalgamation source and FTS +# pod 'FMDB/SQLCipher' # FMDB with SQLCipher +``` + +**If using FMDB with [SQLCipher](https://www.zetetic.net/sqlcipher/) you must use the FMDB/SQLCipher subspec. The FMDB/SQLCipher subspec declares SQLCipher as a dependency, allowing FMDB to be compiled with the `-DSQLITE_HAS_CODEC` flag.** + +## FMDB Class Reference: +http://ccgus.github.io/fmdb/html/index.html + +## Automatic Reference Counting (ARC) or Manual Memory Management? +You can use either style in your Cocoa project. FMDB will figure out which you are using at compile time and do the right thing. + +## Usage +There are three main classes in FMDB: + +1. `FMDatabase` - Represents a single SQLite database. Used for executing SQL statements. +2. `FMResultSet` - Represents the results of executing a query on an `FMDatabase`. +3. `FMDatabaseQueue` - If you're wanting to perform queries and updates on multiple threads, you'll want to use this class. It's described in the "Thread Safety" section below. + +### Database Creation +An `FMDatabase` is created with a path to a SQLite database file. This path can be one of these three: + +1. A file system path. The file does not have to exist on disk. If it does not exist, it is created for you. +2. An empty string (`@""`). An empty database is created at a temporary location. This database is deleted with the `FMDatabase` connection is closed. +3. `NULL`. An in-memory database is created. This database will be destroyed with the `FMDatabase` connection is closed. + +(For more information on temporary and in-memory databases, read the sqlite documentation on the subject: http://www.sqlite.org/inmemorydb.html) + +```objc +FMDatabase *db = [FMDatabase databaseWithPath:@"/tmp/tmp.db"]; +``` + +### Opening + +Before you can interact with the database, it must be opened. Opening fails if there are insufficient resources or permissions to open and/or create the database. + +```objc +if (![db open]) { + [db release]; + return; +} +``` + +### Executing Updates + +Any sort of SQL statement which is not a `SELECT` statement qualifies as an update. This includes `CREATE`, `UPDATE`, `INSERT`, `ALTER`, `COMMIT`, `BEGIN`, `DETACH`, `DELETE`, `DROP`, `END`, `EXPLAIN`, `VACUUM`, and `REPLACE` statements (plus many more). Basically, if your SQL statement does not begin with `SELECT`, it is an update statement. + +Executing updates returns a single value, a `BOOL`. A return value of `YES` means the update was successfully executed, and a return value of `NO` means that some error was encountered. You may invoke the `-lastErrorMessage` and `-lastErrorCode` methods to retrieve more information. + +### Executing Queries + +A `SELECT` statement is a query and is executed via one of the `-executeQuery...` methods. + +Executing queries returns an `FMResultSet` object if successful, and `nil` upon failure. You should use the `-lastErrorMessage` and `-lastErrorCode` methods to determine why a query failed. + +In order to iterate through the results of your query, you use a `while()` loop. You also need to "step" from one record to the other. With FMDB, the easiest way to do that is like this: + +```objc +FMResultSet *s = [db executeQuery:@"SELECT * FROM myTable"]; +while ([s next]) { + //retrieve values for each record +} +``` + +You must always invoke `-[FMResultSet next]` before attempting to access the values returned in a query, even if you're only expecting one: + +```objc +FMResultSet *s = [db executeQuery:@"SELECT COUNT(*) FROM myTable"]; +if ([s next]) { + int totalCount = [s intForColumnIndex:0]; +} +``` + +`FMResultSet` has many methods to retrieve data in an appropriate format: + +- `intForColumn:` +- `longForColumn:` +- `longLongIntForColumn:` +- `boolForColumn:` +- `doubleForColumn:` +- `stringForColumn:` +- `dateForColumn:` +- `dataForColumn:` +- `dataNoCopyForColumn:` +- `UTF8StringForColumnName:` +- `objectForColumnName:` + +Each of these methods also has a `{type}ForColumnIndex:` variant that is used to retrieve the data based on the position of the column in the results, as opposed to the column's name. + +Typically, there's no need to `-close` an `FMResultSet` yourself, since that happens when either the result set is deallocated, or the parent database is closed. + +### Closing + +When you have finished executing queries and updates on the database, you should `-close` the `FMDatabase` connection so that SQLite will relinquish any resources it has acquired during the course of its operation. + +```objc +[db close]; +``` + +### Transactions + +`FMDatabase` can begin and commit a transaction by invoking one of the appropriate methods or executing a begin/end transaction statement. + +### Multiple Statements and Batch Stuff + +You can use `FMDatabase`'s executeStatements:withResultBlock: to do multiple statements in a string: + +```objc +NSString *sql = @"create table bulktest1 (id integer primary key autoincrement, x text);" + "create table bulktest2 (id integer primary key autoincrement, y text);" + "create table bulktest3 (id integer primary key autoincrement, z text);" + "insert into bulktest1 (x) values ('XXX');" + "insert into bulktest2 (y) values ('YYY');" + "insert into bulktest3 (z) values ('ZZZ');"; + +success = [db executeStatements:sql]; + +sql = @"select count(*) as count from bulktest1;" + "select count(*) as count from bulktest2;" + "select count(*) as count from bulktest3;"; + +success = [self.db executeStatements:sql withResultBlock:^int(NSDictionary *dictionary) { + NSInteger count = [dictionary[@"count"] integerValue]; + XCTAssertEqual(count, 1, @"expected one record for dictionary %@", dictionary); + return 0; +}]; +``` + +### Data Sanitization + +When providing a SQL statement to FMDB, you should not attempt to "sanitize" any values before insertion. Instead, you should use the standard SQLite binding syntax: + +```sql +INSERT INTO myTable VALUES (?, ?, ?, ?) +``` + +The `?` character is recognized by SQLite as a placeholder for a value to be inserted. The execution methods all accept a variable number of arguments (or a representation of those arguments, such as an `NSArray`, `NSDictionary`, or a `va_list`), which are properly escaped for you. + +And, to use that SQL with the `?` placeholders from Objective-C: + +```objc +NSInteger identifier = 42; +NSString *name = @"Liam O'Flaherty (\"the famous Irish author\")"; +NSDate *date = [NSDate date]; +NSString *comment = nil; + +BOOL success = [db executeUpdate:@"INSERT INTO authors (identifier, name, date, comment) VALUES (?, ?, ?, ?)", @(identifier), name, date, comment ?: [NSNull null]]; +if (!success) { + NSLog(@"error = %@", [db lastErrorMessage]); +} +``` + +> **Note:** Fundamental data types, like the `NSInteger` variable `identifier`, should be as a `NSNumber` objects, achieved by using the `@` syntax, shown above. Or you can use the `[NSNumber numberWithInt:identifier]` syntax, too. +> +> Likewise, SQL `NULL` values should be inserted as `[NSNull null]`. For example, in the case of `comment` which might be `nil` (and is in this example), you can use the `comment ?: [NSNull null]` syntax, which will insert the string if `comment` is not `nil`, but will insert `[NSNull null]` if it is `nil`. + +In Swift, you would use `executeUpdate(values:)`, which not only is a concise Swift syntax, but also `throws` errors for proper Swift 2 error handling: + +```swift +do { + let identifier = 42 + let name = "Liam O'Flaherty (\"the famous Irish author\")" + let date = NSDate() + let comment: String? = nil + + try db.executeUpdate("INSERT INTO authors (identifier, name, date, comment) VALUES (?, ?, ?, ?)", values: [identifier, name, date, comment ?? NSNull()]) +} catch { + print("error = \(error)") +} +``` + +> **Note:** In Swift, you don't have to wrap fundamental numeric types like you do in Objective-C. But if you are going to insert an optional string, you would probably use the `comment ?? NSNull()` syntax (i.e., if it is `nil`, use `NSNull`, otherwise use the string). + +Alternatively, you may use named parameters syntax: + +```sql +INSERT INTO authors (identifier, name, date, comment) VALUES (:identifier, :name, :date, :comment) +``` + +The parameters *must* start with a colon. SQLite itself supports other characters, but internally the dictionary keys are prefixed with a colon, do **not** include the colon in your dictionary keys. + +```objc +NSDictionary *arguments = @{@"identifier": @(identifier), @"name": name, @"date": date, @"comment": comment ?: [NSNull null]}; +BOOL success = [db executeUpdate:@"INSERT INTO authors (identifier, name, date, comment) VALUES (:identifier, :name, :date, :comment)" withParameterDictionary:arguments]; +if (!success) { + NSLog(@"error = %@", [db lastErrorMessage]); +} +``` + +The key point is that one should not use `NSString` method `stringWithFormat` to manually insert values into the SQL statement, itself. Nor should one Swift string interpolation to insert values into the SQL. Use `?` placeholders for values to be inserted into the database (or used in `WHERE` clauses in `SELECT` statements). + +

Using FMDatabaseQueue and Thread Safety.

+ +Using a single instance of `FMDatabase` from multiple threads at once is a bad idea. It has always been OK to make a `FMDatabase` object *per thread*. Just don't share a single instance across threads, and definitely not across multiple threads at the same time. Bad things will eventually happen and you'll eventually get something to crash, or maybe get an exception, or maybe meteorites will fall out of the sky and hit your Mac Pro. *This would suck*. + +**So don't instantiate a single `FMDatabase` object and use it across multiple threads.** + +Instead, use `FMDatabaseQueue`. Instantiate a single `FMDatabaseQueue` and use it across multiple threads. The `FMDatabaseQueue` object will synchronize and coordinate access across the multiple threads. Here's how to use it: + +First, make your queue. + +```objc +FMDatabaseQueue *queue = [FMDatabaseQueue databaseQueueWithPath:aPath]; +``` + +Then use it like so: + + +```objc +[queue inDatabase:^(FMDatabase *db) { + [db executeUpdate:@"INSERT INTO myTable VALUES (?)", @1]; + [db executeUpdate:@"INSERT INTO myTable VALUES (?)", @2]; + [db executeUpdate:@"INSERT INTO myTable VALUES (?)", @3]; + + FMResultSet *rs = [db executeQuery:@"select * from foo"]; + while ([rs next]) { + … + } +}]; +``` + +An easy way to wrap things up in a transaction can be done like this: + +```objc +[queue inTransaction:^(FMDatabase *db, BOOL *rollback) { + [db executeUpdate:@"INSERT INTO myTable VALUES (?)", @1]; + [db executeUpdate:@"INSERT INTO myTable VALUES (?)", @2]; + [db executeUpdate:@"INSERT INTO myTable VALUES (?)", @3]; + + if (whoopsSomethingWrongHappened) { + *rollback = YES; + return; + } + // etc… + [db executeUpdate:@"INSERT INTO myTable VALUES (?)", @4]; +}]; +``` + +The Swift equivalent would be: + +```swift +queue.inTransaction { db, rollback in + do { + try db.executeUpdate("INSERT INTO myTable VALUES (?)", values: [1]) + try db.executeUpdate("INSERT INTO myTable VALUES (?)", values: [2]) + try db.executeUpdate("INSERT INTO myTable VALUES (?)", values: [3]) + + if whoopsSomethingWrongHappened { + rollback.memory = true + return + } + + try db.executeUpdate("INSERT INTO myTable VALUES (?)", values: [4]) + } catch { + rollback.memory = true + print(error) + } +} +``` + +`FMDatabaseQueue` will run the blocks on a serialized queue (hence the name of the class). So if you call `FMDatabaseQueue`'s methods from multiple threads at the same time, they will be executed in the order they are received. This way queries and updates won't step on each other's toes, and every one is happy. + +**Note:** The calls to `FMDatabaseQueue`'s methods are blocking. So even though you are passing along blocks, they will **not** be run on another thread. + +## Making custom sqlite functions, based on blocks. + +You can do this! For an example, look for `-makeFunctionNamed:` in main.m + +## Swift + +You can use FMDB in Swift projects too. + +To do this, you must: + +1. Copy the relevant `.m` and `.h` files from the FMDB `src` folder into your project. + + You can copy all of them (which is easiest), or only the ones you need. Likely you will need [`FMDatabase`](http://ccgus.github.io/fmdb/html/Classes/FMDatabase.html) and [`FMResultSet`](http://ccgus.github.io/fmdb/html/Classes/FMResultSet.html) at a minimum. [`FMDatabaseAdditions`](http://ccgus.github.io/fmdb/html/Categories/FMDatabase+FMDatabaseAdditions.html) provides some very useful convenience methods, so you will likely want that, too. If you are doing multithreaded access to a database, [`FMDatabaseQueue`](http://ccgus.github.io/fmdb/html/Classes/FMDatabaseQueue.html) is quite useful, too. If you choose to not copy all of the files from the `src` directory, though, you may want to update `FMDB.h` to only reference the files that you included in your project. + + Note, if you're copying all of the files from the `src` folder into to your project (which is recommended), you may want to drag the individual files into your project, not the folder, itself, because if you drag the folder, you won't be prompted to add the bridging header (see next point). + +2. If prompted to create a "bridging header", you should do so. If not prompted and if you don't already have a bridging header, add one. + + For more information on bridging headers, see [Swift and Objective-C in the Same Project](https://developer.apple.com/library/ios/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html#//apple_ref/doc/uid/TP40014216-CH10-XID_76). + +3. In your bridging header, add a line that says: + ```objc + #import "FMDB.h" + ``` + +4. Use the variations of `executeQuery` and `executeUpdate` with the `sql` and `values` parameters with `try` pattern, as shown below. These renditions of `executeQuery` and `executeUpdate` both `throw` errors in true Swift 2 fashion. + +If you do the above, you can then write Swift code that uses `FMDatabase`. For example: + +```swift +let documents = try! NSFileManager.defaultManager().URLForDirectory(.DocumentDirectory, inDomain: .UserDomainMask, appropriateForURL: nil, create: false) +let fileURL = documents.URLByAppendingPathComponent("test.sqlite") + +let database = FMDatabase(path: fileURL.path) + +if !database.open() { + print("Unable to open database") + return +} + +do { + try database.executeUpdate("create table test(x text, y text, z text)", values: nil) + try database.executeUpdate("insert into test (x, y, z) values (?, ?, ?)", values: ["a", "b", "c"]) + try database.executeUpdate("insert into test (x, y, z) values (?, ?, ?)", values: ["e", "f", "g"]) + + let rs = try database.executeQuery("select x, y, z from test", values: nil) + while rs.next() { + let x = rs.stringForColumn("x") + let y = rs.stringForColumn("y") + let z = rs.stringForColumn("z") + print("x = \(x); y = \(y); z = \(z)") + } +} catch let error as NSError { + print("failed: \(error.localizedDescription)") +} + +database.close() +``` + +## History + +The history and changes are availbe on its [GitHub page](https://github.com/ccgus/fmdb) and are summarized in the "CHANGES_AND_TODO_LIST.txt" file. + +## Contributors + +The contributors to FMDB are contained in the "Contributors.txt" file. + +## Additional projects using FMDB, which might be interesting to the discerning developer. + + * FMDBMigrationManager, A SQLite schema migration management system for FMDB: https://github.com/layerhq/FMDBMigrationManager + * FCModel, An alternative to Core Data for people who like having direct SQL access: https://github.com/marcoarment/FCModel + +## Quick notes on FMDB's coding style + +Spaces, not tabs. Square brackets, not dot notation. Look at what FMDB already does with curly brackets and such, and stick to that style. + +## Reporting bugs + +Reduce your bug down to the smallest amount of code possible. You want to make it super easy for the developers to see and reproduce your bug. If it helps, pretend that the person who can fix your bug is active on shipping 3 major products, works on a handful of open source projects, has a newborn baby, and is generally very very busy. + +And we've even added a template function to main.m (FMDBReportABugFunction) in the FMDB distribution to help you out: + +* Open up fmdb project in Xcode. +* Open up main.m and modify the FMDBReportABugFunction to reproduce your bug. + * Setup your table(s) in the code. + * Make your query or update(s). + * Add some assertions which demonstrate the bug. + +Then you can bring it up on the FMDB mailing list by showing your nice and compact FMDBReportABugFunction, or you can report the bug via the github FMDB bug reporter. + +**Optional:** + +Figure out where the bug is, fix it, and send a patch in or bring that up on the mailing list. Make sure all the other tests run after your modifications. + +## Support + +The support channels for FMDB are the mailing list (see above), filing a bug here, or maybe on Stack Overflow. So that is to say, support is provided by the community and on a voluntary basis. + +FMDB development is overseen by Gus Mueller of Flying Meat. If FMDB been helpful to you, consider purchasing an app from FM or telling all your friends about it. + +## License + +The license for FMDB is contained in the "License.txt" file. + +If you happen to come across either Gus Mueller or Rob Ryan in a bar, you might consider purchasing a drink of their choosing if FMDB has been useful to you. + +(The drink is for them of course, shame on you for trying to keep it.) diff --git a/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDB.h b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDB.h new file mode 100644 index 000000000..1ff546504 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDB.h @@ -0,0 +1,10 @@ +#import + +FOUNDATION_EXPORT double FMDBVersionNumber; +FOUNDATION_EXPORT const unsigned char FMDBVersionString[]; + +#import "FMDatabase.h" +#import "FMResultSet.h" +#import "FMDatabaseAdditions.h" +#import "FMDatabaseQueue.h" +#import "FMDatabasePool.h" diff --git a/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabase.h b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabase.h new file mode 100644 index 000000000..7dd5f8ce0 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabase.h @@ -0,0 +1,1162 @@ +#import +#import "FMResultSet.h" +#import "FMDatabasePool.h" + + +#if ! __has_feature(objc_arc) + #define FMDBAutorelease(__v) ([__v autorelease]); + #define FMDBReturnAutoreleased FMDBAutorelease + + #define FMDBRetain(__v) ([__v retain]); + #define FMDBReturnRetained FMDBRetain + + #define FMDBRelease(__v) ([__v release]); + + #define FMDBDispatchQueueRelease(__v) (dispatch_release(__v)); +#else + // -fobjc-arc + #define FMDBAutorelease(__v) + #define FMDBReturnAutoreleased(__v) (__v) + + #define FMDBRetain(__v) + #define FMDBReturnRetained(__v) (__v) + + #define FMDBRelease(__v) + +// If OS_OBJECT_USE_OBJC=1, then the dispatch objects will be treated like ObjC objects +// and will participate in ARC. +// See the section on "Dispatch Queues and Automatic Reference Counting" in "Grand Central Dispatch (GCD) Reference" for details. + #if OS_OBJECT_USE_OBJC + #define FMDBDispatchQueueRelease(__v) + #else + #define FMDBDispatchQueueRelease(__v) (dispatch_release(__v)); + #endif +#endif + +#if !__has_feature(objc_instancetype) + #define instancetype id +#endif + + +typedef int(^FMDBExecuteStatementsCallbackBlock)(NSDictionary *resultsDictionary); + + +/** A SQLite ([http://sqlite.org/](http://sqlite.org/)) Objective-C wrapper. + + ### Usage + The three main classes in FMDB are: + + - `FMDatabase` - Represents a single SQLite database. Used for executing SQL statements. + - `` - Represents the results of executing a query on an `FMDatabase`. + - `` - If you want to perform queries and updates on multiple threads, you'll want to use this class. + + ### See also + + - `` - A pool of `FMDatabase` objects. + - `` - A wrapper for `sqlite_stmt`. + + ### External links + + - [FMDB on GitHub](https://github.com/ccgus/fmdb) including introductory documentation + - [SQLite web site](http://sqlite.org/) + - [FMDB mailing list](http://groups.google.com/group/fmdb) + - [SQLite FAQ](http://www.sqlite.org/faq.html) + + @warning Do not instantiate a single `FMDatabase` object and use it across multiple threads. Instead, use ``. + + */ + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wobjc-interface-ivars" + + +@interface FMDatabase : NSObject { + + void* _db; + NSString* _databasePath; + BOOL _logsErrors; + BOOL _crashOnErrors; + BOOL _traceExecution; + BOOL _checkedOut; + BOOL _shouldCacheStatements; + BOOL _isExecutingStatement; + BOOL _inTransaction; + NSTimeInterval _maxBusyRetryTimeInterval; + NSTimeInterval _startBusyRetryTime; + + NSMutableDictionary *_cachedStatements; + NSMutableSet *_openResultSets; + NSMutableSet *_openFunctions; + + NSDateFormatter *_dateFormat; +} + +///----------------- +/// @name Properties +///----------------- + +/** Whether should trace execution */ + +@property (atomic, assign) BOOL traceExecution; + +/** Whether checked out or not */ + +@property (atomic, assign) BOOL checkedOut; + +/** Crash on errors */ + +@property (atomic, assign) BOOL crashOnErrors; + +/** Logs errors */ + +@property (atomic, assign) BOOL logsErrors; + +/** Dictionary of cached statements */ + +@property (atomic, retain) NSMutableDictionary *cachedStatements; + +///--------------------- +/// @name Initialization +///--------------------- + +/** Create a `FMDatabase` object. + + An `FMDatabase` is created with a path to a SQLite database file. This path can be one of these three: + + 1. A file system path. The file does not have to exist on disk. If it does not exist, it is created for you. + 2. An empty string (`@""`). An empty database is created at a temporary location. This database is deleted with the `FMDatabase` connection is closed. + 3. `nil`. An in-memory database is created. This database will be destroyed with the `FMDatabase` connection is closed. + + For example, to create/open a database in your Mac OS X `tmp` folder: + + FMDatabase *db = [FMDatabase databaseWithPath:@"/tmp/tmp.db"]; + + Or, in iOS, you might open a database in the app's `Documents` directory: + + NSString *docsPath = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)[0]; + NSString *dbPath = [docsPath stringByAppendingPathComponent:@"test.db"]; + FMDatabase *db = [FMDatabase databaseWithPath:dbPath]; + + (For more information on temporary and in-memory databases, read the sqlite documentation on the subject: [http://www.sqlite.org/inmemorydb.html](http://www.sqlite.org/inmemorydb.html)) + + @param inPath Path of database file + + @return `FMDatabase` object if successful; `nil` if failure. + + */ + ++ (instancetype)databaseWithPath:(NSString*)inPath; + +/** Initialize a `FMDatabase` object. + + An `FMDatabase` is created with a path to a SQLite database file. This path can be one of these three: + + 1. A file system path. The file does not have to exist on disk. If it does not exist, it is created for you. + 2. An empty string (`@""`). An empty database is created at a temporary location. This database is deleted with the `FMDatabase` connection is closed. + 3. `nil`. An in-memory database is created. This database will be destroyed with the `FMDatabase` connection is closed. + + For example, to create/open a database in your Mac OS X `tmp` folder: + + FMDatabase *db = [FMDatabase databaseWithPath:@"/tmp/tmp.db"]; + + Or, in iOS, you might open a database in the app's `Documents` directory: + + NSString *docsPath = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)[0]; + NSString *dbPath = [docsPath stringByAppendingPathComponent:@"test.db"]; + FMDatabase *db = [FMDatabase databaseWithPath:dbPath]; + + (For more information on temporary and in-memory databases, read the sqlite documentation on the subject: [http://www.sqlite.org/inmemorydb.html](http://www.sqlite.org/inmemorydb.html)) + + @param inPath Path of database file + + @return `FMDatabase` object if successful; `nil` if failure. + + */ + +- (instancetype)initWithPath:(NSString*)inPath; + + +///----------------------------------- +/// @name Opening and closing database +///----------------------------------- + +/** Opening a new database connection + + The database is opened for reading and writing, and is created if it does not already exist. + + @return `YES` if successful, `NO` on error. + + @see [sqlite3_open()](http://sqlite.org/c3ref/open.html) + @see openWithFlags: + @see close + */ + +- (BOOL)open; + +/** Opening a new database connection with flags and an optional virtual file system (VFS) + + @param flags one of the following three values, optionally combined with the `SQLITE_OPEN_NOMUTEX`, `SQLITE_OPEN_FULLMUTEX`, `SQLITE_OPEN_SHAREDCACHE`, `SQLITE_OPEN_PRIVATECACHE`, and/or `SQLITE_OPEN_URI` flags: + + `SQLITE_OPEN_READONLY` + + The database is opened in read-only mode. If the database does not already exist, an error is returned. + + `SQLITE_OPEN_READWRITE` + + The database is opened for reading and writing if possible, or reading only if the file is write protected by the operating system. In either case the database must already exist, otherwise an error is returned. + + `SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE` + + The database is opened for reading and writing, and is created if it does not already exist. This is the behavior that is always used for `open` method. + + @return `YES` if successful, `NO` on error. + + @see [sqlite3_open_v2()](http://sqlite.org/c3ref/open.html) + @see open + @see close + */ + +- (BOOL)openWithFlags:(int)flags; + +/** Opening a new database connection with flags and an optional virtual file system (VFS) + + @param flags one of the following three values, optionally combined with the `SQLITE_OPEN_NOMUTEX`, `SQLITE_OPEN_FULLMUTEX`, `SQLITE_OPEN_SHAREDCACHE`, `SQLITE_OPEN_PRIVATECACHE`, and/or `SQLITE_OPEN_URI` flags: + + `SQLITE_OPEN_READONLY` + + The database is opened in read-only mode. If the database does not already exist, an error is returned. + + `SQLITE_OPEN_READWRITE` + + The database is opened for reading and writing if possible, or reading only if the file is write protected by the operating system. In either case the database must already exist, otherwise an error is returned. + + `SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE` + + The database is opened for reading and writing, and is created if it does not already exist. This is the behavior that is always used for `open` method. + + @param vfsName If vfs is given the value is passed to the vfs parameter of sqlite3_open_v2. + + @return `YES` if successful, `NO` on error. + + @see [sqlite3_open_v2()](http://sqlite.org/c3ref/open.html) + @see open + @see close + */ + +- (BOOL)openWithFlags:(int)flags vfs:(NSString *)vfsName; + +/** Closing a database connection + + @return `YES` if success, `NO` on error. + + @see [sqlite3_close()](http://sqlite.org/c3ref/close.html) + @see open + @see openWithFlags: + */ + +- (BOOL)close; + +/** Test to see if we have a good connection to the database. + + This will confirm whether: + + - is database open + - if open, it will try a simple SELECT statement and confirm that it succeeds. + + @return `YES` if everything succeeds, `NO` on failure. + */ + +- (BOOL)goodConnection; + + +///---------------------- +/// @name Perform updates +///---------------------- + +/** Execute single update statement + + This method executes a single SQL update statement (i.e. any SQL that does not return results, such as `UPDATE`, `INSERT`, or `DELETE`. This method employs [`sqlite3_prepare_v2`](http://sqlite.org/c3ref/prepare.html), [`sqlite3_bind`](http://sqlite.org/c3ref/bind_blob.html) to bind values to `?` placeholders in the SQL with the optional list of parameters, and [`sqlite_step`](http://sqlite.org/c3ref/step.html) to perform the update. + + The optional values provided to this method should be objects (e.g. `NSString`, `NSNumber`, `NSNull`, `NSDate`, and `NSData` objects), not fundamental data types (e.g. `int`, `long`, `NSInteger`, etc.). This method automatically handles the aforementioned object types, and all other object types will be interpreted as text values using the object's `description` method. + + @param sql The SQL to be performed, with optional `?` placeholders. + + @param outErr A reference to the `NSError` pointer to be updated with an auto released `NSError` object if an error if an error occurs. If `nil`, no `NSError` object will be returned. + + @param ... Optional parameters to bind to `?` placeholders in the SQL statement. These should be Objective-C objects (e.g. `NSString`, `NSNumber`, etc.), not fundamental C data types (e.g. `int`, `char *`, etc.). + + @return `YES` upon success; `NO` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see lastError + @see lastErrorCode + @see lastErrorMessage + @see [`sqlite3_bind`](http://sqlite.org/c3ref/bind_blob.html) + */ + +- (BOOL)executeUpdate:(NSString*)sql withErrorAndBindings:(NSError**)outErr, ...; + +/** Execute single update statement + + @see executeUpdate:withErrorAndBindings: + + @warning **Deprecated**: Please use `` instead. + */ + +- (BOOL)update:(NSString*)sql withErrorAndBindings:(NSError**)outErr, ... __attribute__ ((deprecated)); + +/** Execute single update statement + + This method executes a single SQL update statement (i.e. any SQL that does not return results, such as `UPDATE`, `INSERT`, or `DELETE`. This method employs [`sqlite3_prepare_v2`](http://sqlite.org/c3ref/prepare.html), [`sqlite3_bind`](http://sqlite.org/c3ref/bind_blob.html) to bind values to `?` placeholders in the SQL with the optional list of parameters, and [`sqlite_step`](http://sqlite.org/c3ref/step.html) to perform the update. + + The optional values provided to this method should be objects (e.g. `NSString`, `NSNumber`, `NSNull`, `NSDate`, and `NSData` objects), not fundamental data types (e.g. `int`, `long`, `NSInteger`, etc.). This method automatically handles the aforementioned object types, and all other object types will be interpreted as text values using the object's `description` method. + + @param sql The SQL to be performed, with optional `?` placeholders. + + @param ... Optional parameters to bind to `?` placeholders in the SQL statement. These should be Objective-C objects (e.g. `NSString`, `NSNumber`, etc.), not fundamental C data types (e.g. `int`, `char *`, etc.). + + @return `YES` upon success; `NO` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see lastError + @see lastErrorCode + @see lastErrorMessage + @see [`sqlite3_bind`](http://sqlite.org/c3ref/bind_blob.html) + + @note This technique supports the use of `?` placeholders in the SQL, automatically binding any supplied value parameters to those placeholders. This approach is more robust than techniques that entail using `stringWithFormat` to manually build SQL statements, which can be problematic if the values happened to include any characters that needed to be quoted. + + @note If you want to use this from Swift, please note that you must include `FMDatabaseVariadic.swift` in your project. Without that, you cannot use this method directly, and instead have to use methods such as ``. + */ + +- (BOOL)executeUpdate:(NSString*)sql, ...; + +/** Execute single update statement + + This method executes a single SQL update statement (i.e. any SQL that does not return results, such as `UPDATE`, `INSERT`, or `DELETE`. This method employs [`sqlite3_prepare_v2`](http://sqlite.org/c3ref/prepare.html) and [`sqlite_step`](http://sqlite.org/c3ref/step.html) to perform the update. Unlike the other `executeUpdate` methods, this uses printf-style formatters (e.g. `%s`, `%d`, etc.) to build the SQL. Do not use `?` placeholders in the SQL if you use this method. + + @param format The SQL to be performed, with `printf`-style escape sequences. + + @param ... Optional parameters to bind to use in conjunction with the `printf`-style escape sequences in the SQL statement. + + @return `YES` upon success; `NO` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see executeUpdate: + @see lastError + @see lastErrorCode + @see lastErrorMessage + + @note This method does not technically perform a traditional printf-style replacement. What this method actually does is replace the printf-style percent sequences with a SQLite `?` placeholder, and then bind values to that placeholder. Thus the following command + + [db executeUpdateWithFormat:@"INSERT INTO test (name) VALUES (%@)", @"Gus"]; + + is actually replacing the `%@` with `?` placeholder, and then performing something equivalent to `` + + [db executeUpdate:@"INSERT INTO test (name) VALUES (?)", @"Gus"]; + + There are two reasons why this distinction is important. First, the printf-style escape sequences can only be used where it is permissible to use a SQLite `?` placeholder. You can use it only for values in SQL statements, but not for table names or column names or any other non-value context. This method also cannot be used in conjunction with `pragma` statements and the like. Second, note the lack of quotation marks in the SQL. The `VALUES` clause was _not_ `VALUES ('%@')` (like you might have to do if you built a SQL statement using `NSString` method `stringWithFormat`), but rather simply `VALUES (%@)`. + */ + +- (BOOL)executeUpdateWithFormat:(NSString *)format, ... NS_FORMAT_FUNCTION(1,2); + +/** Execute single update statement + + This method executes a single SQL update statement (i.e. any SQL that does not return results, such as `UPDATE`, `INSERT`, or `DELETE`. This method employs [`sqlite3_prepare_v2`](http://sqlite.org/c3ref/prepare.html) and [`sqlite3_bind`](http://sqlite.org/c3ref/bind_blob.html) binding any `?` placeholders in the SQL with the optional list of parameters. + + The optional values provided to this method should be objects (e.g. `NSString`, `NSNumber`, `NSNull`, `NSDate`, and `NSData` objects), not fundamental data types (e.g. `int`, `long`, `NSInteger`, etc.). This method automatically handles the aforementioned object types, and all other object types will be interpreted as text values using the object's `description` method. + + @param sql The SQL to be performed, with optional `?` placeholders. + + @param arguments A `NSArray` of objects to be used when binding values to the `?` placeholders in the SQL statement. + + @return `YES` upon success; `NO` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see executeUpdate:values:error: + @see lastError + @see lastErrorCode + @see lastErrorMessage + */ + +- (BOOL)executeUpdate:(NSString*)sql withArgumentsInArray:(NSArray *)arguments; + +/** Execute single update statement + + This method executes a single SQL update statement (i.e. any SQL that does not return results, such as `UPDATE`, `INSERT`, or `DELETE`. This method employs [`sqlite3_prepare_v2`](http://sqlite.org/c3ref/prepare.html) and [`sqlite3_bind`](http://sqlite.org/c3ref/bind_blob.html) binding any `?` placeholders in the SQL with the optional list of parameters. + + The optional values provided to this method should be objects (e.g. `NSString`, `NSNumber`, `NSNull`, `NSDate`, and `NSData` objects), not fundamental data types (e.g. `int`, `long`, `NSInteger`, etc.). This method automatically handles the aforementioned object types, and all other object types will be interpreted as text values using the object's `description` method. + + This is similar to ``, except that this also accepts a pointer to a `NSError` pointer, so that errors can be returned. + + In Swift 2, this throws errors, as if it were defined as follows: + + `func executeUpdate(sql: String!, values: [AnyObject]!) throws -> Bool` + + @param sql The SQL to be performed, with optional `?` placeholders. + + @param values A `NSArray` of objects to be used when binding values to the `?` placeholders in the SQL statement. + + @param error A `NSError` object to receive any error object (if any). + + @return `YES` upon success; `NO` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see lastError + @see lastErrorCode + @see lastErrorMessage + + */ + +- (BOOL)executeUpdate:(NSString*)sql values:(NSArray *)values error:(NSError * __autoreleasing *)error; + +/** Execute single update statement + + This method executes a single SQL update statement (i.e. any SQL that does not return results, such as `UPDATE`, `INSERT`, or `DELETE`. This method employs [`sqlite3_prepare_v2`](http://sqlite.org/c3ref/prepare.html) and [`sqlite_step`](http://sqlite.org/c3ref/step.html) to perform the update. Unlike the other `executeUpdate` methods, this uses printf-style formatters (e.g. `%s`, `%d`, etc.) to build the SQL. + + The optional values provided to this method should be objects (e.g. `NSString`, `NSNumber`, `NSNull`, `NSDate`, and `NSData` objects), not fundamental data types (e.g. `int`, `long`, `NSInteger`, etc.). This method automatically handles the aforementioned object types, and all other object types will be interpreted as text values using the object's `description` method. + + @param sql The SQL to be performed, with optional `?` placeholders. + + @param arguments A `NSDictionary` of objects keyed by column names that will be used when binding values to the `?` placeholders in the SQL statement. + + @return `YES` upon success; `NO` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see lastError + @see lastErrorCode + @see lastErrorMessage +*/ + +- (BOOL)executeUpdate:(NSString*)sql withParameterDictionary:(NSDictionary *)arguments; + + +/** Execute single update statement + + This method executes a single SQL update statement (i.e. any SQL that does not return results, such as `UPDATE`, `INSERT`, or `DELETE`. This method employs [`sqlite3_prepare_v2`](http://sqlite.org/c3ref/prepare.html) and [`sqlite_step`](http://sqlite.org/c3ref/step.html) to perform the update. Unlike the other `executeUpdate` methods, this uses printf-style formatters (e.g. `%s`, `%d`, etc.) to build the SQL. + + The optional values provided to this method should be objects (e.g. `NSString`, `NSNumber`, `NSNull`, `NSDate`, and `NSData` objects), not fundamental data types (e.g. `int`, `long`, `NSInteger`, etc.). This method automatically handles the aforementioned object types, and all other object types will be interpreted as text values using the object's `description` method. + + @param sql The SQL to be performed, with optional `?` placeholders. + + @param args A `va_list` of arguments. + + @return `YES` upon success; `NO` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see lastError + @see lastErrorCode + @see lastErrorMessage + */ + +- (BOOL)executeUpdate:(NSString*)sql withVAList: (va_list)args; + +/** Execute multiple SQL statements + + This executes a series of SQL statements that are combined in a single string (e.g. the SQL generated by the `sqlite3` command line `.dump` command). This accepts no value parameters, but rather simply expects a single string with multiple SQL statements, each terminated with a semicolon. This uses `sqlite3_exec`. + + @param sql The SQL to be performed + + @return `YES` upon success; `NO` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see executeStatements:withResultBlock: + @see [sqlite3_exec()](http://sqlite.org/c3ref/exec.html) + + */ + +- (BOOL)executeStatements:(NSString *)sql; + +/** Execute multiple SQL statements with callback handler + + This executes a series of SQL statements that are combined in a single string (e.g. the SQL generated by the `sqlite3` command line `.dump` command). This accepts no value parameters, but rather simply expects a single string with multiple SQL statements, each terminated with a semicolon. This uses `sqlite3_exec`. + + @param sql The SQL to be performed. + @param block A block that will be called for any result sets returned by any SQL statements. + Note, if you supply this block, it must return integer value, zero upon success (this would be a good opportunity to use SQLITE_OK), + non-zero value upon failure (which will stop the bulk execution of the SQL). If a statement returns values, the block will be called with the results from the query in NSDictionary *resultsDictionary. + This may be `nil` if you don't care to receive any results. + + @return `YES` upon success; `NO` upon failure. If failed, you can call ``, + ``, or `` for diagnostic information regarding the failure. + + @see executeStatements: + @see [sqlite3_exec()](http://sqlite.org/c3ref/exec.html) + + */ + +- (BOOL)executeStatements:(NSString *)sql withResultBlock:(FMDBExecuteStatementsCallbackBlock)block; + +/** Last insert rowid + + Each entry in an SQLite table has a unique 64-bit signed integer key called the "rowid". The rowid is always available as an undeclared column named `ROWID`, `OID`, or `_ROWID_` as long as those names are not also used by explicitly declared columns. If the table has a column of type `INTEGER PRIMARY KEY` then that column is another alias for the rowid. + + This routine returns the rowid of the most recent successful `INSERT` into the database from the database connection in the first argument. As of SQLite version 3.7.7, this routines records the last insert rowid of both ordinary tables and virtual tables. If no successful `INSERT`s have ever occurred on that database connection, zero is returned. + + @return The rowid of the last inserted row. + + @see [sqlite3_last_insert_rowid()](http://sqlite.org/c3ref/last_insert_rowid.html) + + */ + +- (int64_t)lastInsertRowId; + +/** The number of rows changed by prior SQL statement. + + This function returns the number of database rows that were changed or inserted or deleted by the most recently completed SQL statement on the database connection specified by the first parameter. Only changes that are directly specified by the INSERT, UPDATE, or DELETE statement are counted. + + @return The number of rows changed by prior SQL statement. + + @see [sqlite3_changes()](http://sqlite.org/c3ref/changes.html) + + */ + +- (int)changes; + + +///------------------------- +/// @name Retrieving results +///------------------------- + +/** Execute select statement + + Executing queries returns an `` object if successful, and `nil` upon failure. Like executing updates, there is a variant that accepts an `NSError **` parameter. Otherwise you should use the `` and `` methods to determine why a query failed. + + In order to iterate through the results of your query, you use a `while()` loop. You also need to "step" (via `<[FMResultSet next]>`) from one record to the other. + + This method employs [`sqlite3_bind`](http://sqlite.org/c3ref/bind_blob.html) for any optional value parameters. This properly escapes any characters that need escape sequences (e.g. quotation marks), which eliminates simple SQL errors as well as protects against SQL injection attacks. This method natively handles `NSString`, `NSNumber`, `NSNull`, `NSDate`, and `NSData` objects. All other object types will be interpreted as text values using the object's `description` method. + + @param sql The SELECT statement to be performed, with optional `?` placeholders. + + @param ... Optional parameters to bind to `?` placeholders in the SQL statement. These should be Objective-C objects (e.g. `NSString`, `NSNumber`, etc.), not fundamental C data types (e.g. `int`, `char *`, etc.). + + @return A `` for the result set upon success; `nil` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see FMResultSet + @see [`FMResultSet next`](<[FMResultSet next]>) + @see [`sqlite3_bind`](http://sqlite.org/c3ref/bind_blob.html) + + @note If you want to use this from Swift, please note that you must include `FMDatabaseVariadic.swift` in your project. Without that, you cannot use this method directly, and instead have to use methods such as ``. + */ + +- (FMResultSet *)executeQuery:(NSString*)sql, ...; + +/** Execute select statement + + Executing queries returns an `` object if successful, and `nil` upon failure. Like executing updates, there is a variant that accepts an `NSError **` parameter. Otherwise you should use the `` and `` methods to determine why a query failed. + + In order to iterate through the results of your query, you use a `while()` loop. You also need to "step" (via `<[FMResultSet next]>`) from one record to the other. + + @param format The SQL to be performed, with `printf`-style escape sequences. + + @param ... Optional parameters to bind to use in conjunction with the `printf`-style escape sequences in the SQL statement. + + @return A `` for the result set upon success; `nil` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see executeQuery: + @see FMResultSet + @see [`FMResultSet next`](<[FMResultSet next]>) + + @note This method does not technically perform a traditional printf-style replacement. What this method actually does is replace the printf-style percent sequences with a SQLite `?` placeholder, and then bind values to that placeholder. Thus the following command + + [db executeQueryWithFormat:@"SELECT * FROM test WHERE name=%@", @"Gus"]; + + is actually replacing the `%@` with `?` placeholder, and then performing something equivalent to `` + + [db executeQuery:@"SELECT * FROM test WHERE name=?", @"Gus"]; + + There are two reasons why this distinction is important. First, the printf-style escape sequences can only be used where it is permissible to use a SQLite `?` placeholder. You can use it only for values in SQL statements, but not for table names or column names or any other non-value context. This method also cannot be used in conjunction with `pragma` statements and the like. Second, note the lack of quotation marks in the SQL. The `WHERE` clause was _not_ `WHERE name='%@'` (like you might have to do if you built a SQL statement using `NSString` method `stringWithFormat`), but rather simply `WHERE name=%@`. + + */ + +- (FMResultSet *)executeQueryWithFormat:(NSString*)format, ... NS_FORMAT_FUNCTION(1,2); + +/** Execute select statement + + Executing queries returns an `` object if successful, and `nil` upon failure. Like executing updates, there is a variant that accepts an `NSError **` parameter. Otherwise you should use the `` and `` methods to determine why a query failed. + + In order to iterate through the results of your query, you use a `while()` loop. You also need to "step" (via `<[FMResultSet next]>`) from one record to the other. + + @param sql The SELECT statement to be performed, with optional `?` placeholders. + + @param arguments A `NSArray` of objects to be used when binding values to the `?` placeholders in the SQL statement. + + @return A `` for the result set upon success; `nil` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see -executeQuery:values:error: + @see FMResultSet + @see [`FMResultSet next`](<[FMResultSet next]>) + */ + +- (FMResultSet *)executeQuery:(NSString *)sql withArgumentsInArray:(NSArray *)arguments; + +/** Execute select statement + + Executing queries returns an `` object if successful, and `nil` upon failure. Like executing updates, there is a variant that accepts an `NSError **` parameter. Otherwise you should use the `` and `` methods to determine why a query failed. + + In order to iterate through the results of your query, you use a `while()` loop. You also need to "step" (via `<[FMResultSet next]>`) from one record to the other. + + This is similar to ``, except that this also accepts a pointer to a `NSError` pointer, so that errors can be returned. + + In Swift 2, this throws errors, as if it were defined as follows: + + `func executeQuery(sql: String!, values: [AnyObject]!) throws -> FMResultSet!` + + @param sql The SELECT statement to be performed, with optional `?` placeholders. + + @param values A `NSArray` of objects to be used when binding values to the `?` placeholders in the SQL statement. + + @param error A `NSError` object to receive any error object (if any). + + @return A `` for the result set upon success; `nil` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see FMResultSet + @see [`FMResultSet next`](<[FMResultSet next]>) + + @note When called from Swift, only use the first two parameters, `sql` and `values`. This but throws the error. + + */ + +- (FMResultSet *)executeQuery:(NSString *)sql values:(NSArray *)values error:(NSError * __autoreleasing *)error; + +/** Execute select statement + + Executing queries returns an `` object if successful, and `nil` upon failure. Like executing updates, there is a variant that accepts an `NSError **` parameter. Otherwise you should use the `` and `` methods to determine why a query failed. + + In order to iterate through the results of your query, you use a `while()` loop. You also need to "step" (via `<[FMResultSet next]>`) from one record to the other. + + @param sql The SELECT statement to be performed, with optional `?` placeholders. + + @param arguments A `NSDictionary` of objects keyed by column names that will be used when binding values to the `?` placeholders in the SQL statement. + + @return A `` for the result set upon success; `nil` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see FMResultSet + @see [`FMResultSet next`](<[FMResultSet next]>) + */ + +- (FMResultSet *)executeQuery:(NSString *)sql withParameterDictionary:(NSDictionary *)arguments; + + +// Documentation forthcoming. +- (FMResultSet *)executeQuery:(NSString*)sql withVAList: (va_list)args; + +///------------------- +/// @name Transactions +///------------------- + +/** Begin a transaction + + @return `YES` on success; `NO` on failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see commit + @see rollback + @see beginDeferredTransaction + @see inTransaction + */ + +- (BOOL)beginTransaction; + +/** Begin a deferred transaction + + @return `YES` on success; `NO` on failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see commit + @see rollback + @see beginTransaction + @see inTransaction + */ + +- (BOOL)beginDeferredTransaction; + +/** Commit a transaction + + Commit a transaction that was initiated with either `` or with ``. + + @return `YES` on success; `NO` on failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see beginTransaction + @see beginDeferredTransaction + @see rollback + @see inTransaction + */ + +- (BOOL)commit; + +/** Rollback a transaction + + Rollback a transaction that was initiated with either `` or with ``. + + @return `YES` on success; `NO` on failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see beginTransaction + @see beginDeferredTransaction + @see commit + @see inTransaction + */ + +- (BOOL)rollback; + +/** Identify whether currently in a transaction or not + + @return `YES` if currently within transaction; `NO` if not. + + @see beginTransaction + @see beginDeferredTransaction + @see commit + @see rollback + */ + +- (BOOL)inTransaction; + + +///---------------------------------------- +/// @name Cached statements and result sets +///---------------------------------------- + +/** Clear cached statements */ + +- (void)clearCachedStatements; + +/** Close all open result sets */ + +- (void)closeOpenResultSets; + +/** Whether database has any open result sets + + @return `YES` if there are open result sets; `NO` if not. + */ + +- (BOOL)hasOpenResultSets; + +/** Return whether should cache statements or not + + @return `YES` if should cache statements; `NO` if not. + */ + +- (BOOL)shouldCacheStatements; + +/** Set whether should cache statements or not + + @param value `YES` if should cache statements; `NO` if not. + */ + +- (void)setShouldCacheStatements:(BOOL)value; + + +///------------------------- +/// @name Encryption methods +///------------------------- + +/** Set encryption key. + + @param key The key to be used. + + @return `YES` if success, `NO` on error. + + @see https://www.zetetic.net/sqlcipher/ + + @warning You need to have purchased the sqlite encryption extensions for this method to work. + */ + +- (BOOL)setKey:(NSString*)key; + +/** Reset encryption key + + @param key The key to be used. + + @return `YES` if success, `NO` on error. + + @see https://www.zetetic.net/sqlcipher/ + + @warning You need to have purchased the sqlite encryption extensions for this method to work. + */ + +- (BOOL)rekey:(NSString*)key; + +/** Set encryption key using `keyData`. + + @param keyData The `NSData` to be used. + + @return `YES` if success, `NO` on error. + + @see https://www.zetetic.net/sqlcipher/ + + @warning You need to have purchased the sqlite encryption extensions for this method to work. + */ + +- (BOOL)setKeyWithData:(NSData *)keyData; + +/** Reset encryption key using `keyData`. + + @param keyData The `NSData` to be used. + + @return `YES` if success, `NO` on error. + + @see https://www.zetetic.net/sqlcipher/ + + @warning You need to have purchased the sqlite encryption extensions for this method to work. + */ + +- (BOOL)rekeyWithData:(NSData *)keyData; + + +///------------------------------ +/// @name General inquiry methods +///------------------------------ + +/** The path of the database file + + @return path of database. + + */ + +- (NSString *)databasePath; + +/** The underlying SQLite handle + + @return The `sqlite3` pointer. + + */ + +- (void*)sqliteHandle; + + +///----------------------------- +/// @name Retrieving error codes +///----------------------------- + +/** Last error message + + Returns the English-language text that describes the most recent failed SQLite API call associated with a database connection. If a prior API call failed but the most recent API call succeeded, this return value is undefined. + + @return `NSString` of the last error message. + + @see [sqlite3_errmsg()](http://sqlite.org/c3ref/errcode.html) + @see lastErrorCode + @see lastError + + */ + +- (NSString*)lastErrorMessage; + +/** Last error code + + Returns the numeric result code or extended result code for the most recent failed SQLite API call associated with a database connection. If a prior API call failed but the most recent API call succeeded, this return value is undefined. + + @return Integer value of the last error code. + + @see [sqlite3_errcode()](http://sqlite.org/c3ref/errcode.html) + @see lastErrorMessage + @see lastError + + */ + +- (int)lastErrorCode; + +/** Had error + + @return `YES` if there was an error, `NO` if no error. + + @see lastError + @see lastErrorCode + @see lastErrorMessage + + */ + +- (BOOL)hadError; + +/** Last error + + @return `NSError` representing the last error. + + @see lastErrorCode + @see lastErrorMessage + + */ + +- (NSError*)lastError; + + +// description forthcoming +- (void)setMaxBusyRetryTimeInterval:(NSTimeInterval)timeoutInSeconds; +- (NSTimeInterval)maxBusyRetryTimeInterval; + + +///------------------ +/// @name Save points +///------------------ + +/** Start save point + + @param name Name of save point. + + @param outErr A `NSError` object to receive any error object (if any). + + @return `YES` on success; `NO` on failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see releaseSavePointWithName:error: + @see rollbackToSavePointWithName:error: + */ + +- (BOOL)startSavePointWithName:(NSString*)name error:(NSError**)outErr; + +/** Release save point + + @param name Name of save point. + + @param outErr A `NSError` object to receive any error object (if any). + + @return `YES` on success; `NO` on failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see startSavePointWithName:error: + @see rollbackToSavePointWithName:error: + + */ + +- (BOOL)releaseSavePointWithName:(NSString*)name error:(NSError**)outErr; + +/** Roll back to save point + + @param name Name of save point. + @param outErr A `NSError` object to receive any error object (if any). + + @return `YES` on success; `NO` on failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure. + + @see startSavePointWithName:error: + @see releaseSavePointWithName:error: + + */ + +- (BOOL)rollbackToSavePointWithName:(NSString*)name error:(NSError**)outErr; + +/** Start save point + + @param block Block of code to perform from within save point. + + @return The NSError corresponding to the error, if any. If no error, returns `nil`. + + @see startSavePointWithName:error: + @see releaseSavePointWithName:error: + @see rollbackToSavePointWithName:error: + + */ + +- (NSError*)inSavePoint:(void (^)(BOOL *rollback))block; + +///---------------------------- +/// @name SQLite library status +///---------------------------- + +/** Test to see if the library is threadsafe + + @return `NO` if and only if SQLite was compiled with mutexing code omitted due to the SQLITE_THREADSAFE compile-time option being set to 0. + + @see [sqlite3_threadsafe()](http://sqlite.org/c3ref/threadsafe.html) + */ + ++ (BOOL)isSQLiteThreadSafe; + +/** Run-time library version numbers + + @return The sqlite library version string. + + @see [sqlite3_libversion()](http://sqlite.org/c3ref/libversion.html) + */ + ++ (NSString*)sqliteLibVersion; + + ++ (NSString*)FMDBUserVersion; + ++ (SInt32)FMDBVersion; + + +///------------------------ +/// @name Make SQL function +///------------------------ + +/** Adds SQL functions or aggregates or to redefine the behavior of existing SQL functions or aggregates. + + For example: + + [queue inDatabase:^(FMDatabase *adb) { + + [adb executeUpdate:@"create table ftest (foo text)"]; + [adb executeUpdate:@"insert into ftest values ('hello')"]; + [adb executeUpdate:@"insert into ftest values ('hi')"]; + [adb executeUpdate:@"insert into ftest values ('not h!')"]; + [adb executeUpdate:@"insert into ftest values ('definitely not h!')"]; + + [adb makeFunctionNamed:@"StringStartsWithH" maximumArguments:1 withBlock:^(sqlite3_context *context, int aargc, sqlite3_value **aargv) { + if (sqlite3_value_type(aargv[0]) == SQLITE_TEXT) { + @autoreleasepool { + const char *c = (const char *)sqlite3_value_text(aargv[0]); + NSString *s = [NSString stringWithUTF8String:c]; + sqlite3_result_int(context, [s hasPrefix:@"h"]); + } + } + else { + NSLog(@"Unknown formart for StringStartsWithH (%d) %s:%d", sqlite3_value_type(aargv[0]), __FUNCTION__, __LINE__); + sqlite3_result_null(context); + } + }]; + + int rowCount = 0; + FMResultSet *ars = [adb executeQuery:@"select * from ftest where StringStartsWithH(foo)"]; + while ([ars next]) { + rowCount++; + NSLog(@"Does %@ start with 'h'?", [rs stringForColumnIndex:0]); + } + FMDBQuickCheck(rowCount == 2); + }]; + + @param name Name of function + + @param count Maximum number of parameters + + @param block The block of code for the function + + @see [sqlite3_create_function()](http://sqlite.org/c3ref/create_function.html) + */ + +- (void)makeFunctionNamed:(NSString*)name maximumArguments:(int)count withBlock:(void (^)(void *context, int argc, void **argv))block; + + +///--------------------- +/// @name Date formatter +///--------------------- + +/** Generate an `NSDateFormatter` that won't be broken by permutations of timezones or locales. + + Use this method to generate values to set the dateFormat property. + + Example: + + myDB.dateFormat = [FMDatabase storeableDateFormat:@"yyyy-MM-dd HH:mm:ss"]; + + @param format A valid NSDateFormatter format string. + + @return A `NSDateFormatter` that can be used for converting dates to strings and vice versa. + + @see hasDateFormatter + @see setDateFormat: + @see dateFromString: + @see stringFromDate: + @see storeableDateFormat: + + @warning Note that `NSDateFormatter` is not thread-safe, so the formatter generated by this method should be assigned to only one FMDB instance and should not be used for other purposes. + + */ + ++ (NSDateFormatter *)storeableDateFormat:(NSString *)format; + +/** Test whether the database has a date formatter assigned. + + @return `YES` if there is a date formatter; `NO` if not. + + @see hasDateFormatter + @see setDateFormat: + @see dateFromString: + @see stringFromDate: + @see storeableDateFormat: + */ + +- (BOOL)hasDateFormatter; + +/** Set to a date formatter to use string dates with sqlite instead of the default UNIX timestamps. + + @param format Set to nil to use UNIX timestamps. Defaults to nil. Should be set using a formatter generated using FMDatabase::storeableDateFormat. + + @see hasDateFormatter + @see setDateFormat: + @see dateFromString: + @see stringFromDate: + @see storeableDateFormat: + + @warning Note there is no direct getter for the `NSDateFormatter`, and you should not use the formatter you pass to FMDB for other purposes, as `NSDateFormatter` is not thread-safe. + */ + +- (void)setDateFormat:(NSDateFormatter *)format; + +/** Convert the supplied NSString to NSDate, using the current database formatter. + + @param s `NSString` to convert to `NSDate`. + + @return The `NSDate` object; or `nil` if no formatter is set. + + @see hasDateFormatter + @see setDateFormat: + @see dateFromString: + @see stringFromDate: + @see storeableDateFormat: + */ + +- (NSDate *)dateFromString:(NSString *)s; + +/** Convert the supplied NSDate to NSString, using the current database formatter. + + @param date `NSDate` of date to convert to `NSString`. + + @return The `NSString` representation of the date; `nil` if no formatter is set. + + @see hasDateFormatter + @see setDateFormat: + @see dateFromString: + @see stringFromDate: + @see storeableDateFormat: + */ + +- (NSString *)stringFromDate:(NSDate *)date; + +@end + + +/** Objective-C wrapper for `sqlite3_stmt` + + This is a wrapper for a SQLite `sqlite3_stmt`. Generally when using FMDB you will not need to interact directly with `FMStatement`, but rather with `` and `` only. + + ### See also + + - `` + - `` + - [`sqlite3_stmt`](http://www.sqlite.org/c3ref/stmt.html) + */ + +@interface FMStatement : NSObject { + void *_statement; + NSString *_query; + long _useCount; + BOOL _inUse; +} + +///----------------- +/// @name Properties +///----------------- + +/** Usage count */ + +@property (atomic, assign) long useCount; + +/** SQL statement */ + +@property (atomic, retain) NSString *query; + +/** SQLite sqlite3_stmt + + @see [`sqlite3_stmt`](http://www.sqlite.org/c3ref/stmt.html) + */ + +@property (atomic, assign) void *statement; + +/** Indication of whether the statement is in use */ + +@property (atomic, assign) BOOL inUse; + +///---------------------------- +/// @name Closing and Resetting +///---------------------------- + +/** Close statement */ + +- (void)close; + +/** Reset statement */ + +- (void)reset; + +@end + +#pragma clang diagnostic pop + diff --git a/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabase.m b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabase.m new file mode 100644 index 000000000..d33c13df1 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabase.m @@ -0,0 +1,1479 @@ +#import "FMDatabase.h" +#import "unistd.h" +#import + +#if FMDB_SQLITE_STANDALONE +#import +#else +#import +#endif + +@interface FMDatabase () + +- (FMResultSet *)executeQuery:(NSString *)sql withArgumentsInArray:(NSArray*)arrayArgs orDictionary:(NSDictionary *)dictionaryArgs orVAList:(va_list)args; +- (BOOL)executeUpdate:(NSString*)sql error:(NSError**)outErr withArgumentsInArray:(NSArray*)arrayArgs orDictionary:(NSDictionary *)dictionaryArgs orVAList:(va_list)args; + +@end + +@implementation FMDatabase +@synthesize cachedStatements=_cachedStatements; +@synthesize logsErrors=_logsErrors; +@synthesize crashOnErrors=_crashOnErrors; +@synthesize checkedOut=_checkedOut; +@synthesize traceExecution=_traceExecution; + +#pragma mark FMDatabase instantiation and deallocation + ++ (instancetype)databaseWithPath:(NSString*)aPath { + return FMDBReturnAutoreleased([[self alloc] initWithPath:aPath]); +} + +- (instancetype)init { + return [self initWithPath:nil]; +} + +- (instancetype)initWithPath:(NSString*)aPath { + + assert(sqlite3_threadsafe()); // whoa there big boy- gotta make sure sqlite it happy with what we're going to do. + + self = [super init]; + + if (self) { + _databasePath = [aPath copy]; + _openResultSets = [[NSMutableSet alloc] init]; + _db = nil; + _logsErrors = YES; + _crashOnErrors = NO; + _maxBusyRetryTimeInterval = 2; + } + + return self; +} + +- (void)finalize { + [self close]; + [super finalize]; +} + +- (void)dealloc { + [self close]; + FMDBRelease(_openResultSets); + FMDBRelease(_cachedStatements); + FMDBRelease(_dateFormat); + FMDBRelease(_databasePath); + FMDBRelease(_openFunctions); + +#if ! __has_feature(objc_arc) + [super dealloc]; +#endif +} + +- (NSString *)databasePath { + return _databasePath; +} + ++ (NSString*)FMDBUserVersion { + return @"2.6.2"; +} + +// returns 0x0240 for version 2.4. This makes it super easy to do things like: +// /* need to make sure to do X with FMDB version 2.4 or later */ +// if ([FMDatabase FMDBVersion] >= 0x0240) { … } + ++ (SInt32)FMDBVersion { + + // we go through these hoops so that we only have to change the version number in a single spot. + static dispatch_once_t once; + static SInt32 FMDBVersionVal = 0; + + dispatch_once(&once, ^{ + NSString *prodVersion = [self FMDBUserVersion]; + + if ([[prodVersion componentsSeparatedByString:@"."] count] < 3) { + prodVersion = [prodVersion stringByAppendingString:@".0"]; + } + + NSString *junk = [prodVersion stringByReplacingOccurrencesOfString:@"." withString:@""]; + + char *e = nil; + FMDBVersionVal = (int) strtoul([junk UTF8String], &e, 16); + + }); + + return FMDBVersionVal; +} + +#pragma mark SQLite information + ++ (NSString*)sqliteLibVersion { + return [NSString stringWithFormat:@"%s", sqlite3_libversion()]; +} + ++ (BOOL)isSQLiteThreadSafe { + // make sure to read the sqlite headers on this guy! + return sqlite3_threadsafe() != 0; +} + +- (void*)sqliteHandle { + return _db; +} + +- (const char*)sqlitePath { + + if (!_databasePath) { + return ":memory:"; + } + + if ([_databasePath length] == 0) { + return ""; // this creates a temporary database (it's an sqlite thing). + } + + return [_databasePath fileSystemRepresentation]; + +} + +#pragma mark Open and close database + +- (BOOL)open { + if (_db) { + return YES; + } + + int err = sqlite3_open([self sqlitePath], (sqlite3**)&_db ); + if(err != SQLITE_OK) { + NSLog(@"error opening!: %d", err); + return NO; + } + + if (_maxBusyRetryTimeInterval > 0.0) { + // set the handler + [self setMaxBusyRetryTimeInterval:_maxBusyRetryTimeInterval]; + } + + + return YES; +} + +- (BOOL)openWithFlags:(int)flags { + return [self openWithFlags:flags vfs:nil]; +} +- (BOOL)openWithFlags:(int)flags vfs:(NSString *)vfsName { +#if SQLITE_VERSION_NUMBER >= 3005000 + if (_db) { + return YES; + } + + int err = sqlite3_open_v2([self sqlitePath], (sqlite3**)&_db, flags, [vfsName UTF8String]); + if(err != SQLITE_OK) { + NSLog(@"error opening!: %d", err); + return NO; + } + + if (_maxBusyRetryTimeInterval > 0.0) { + // set the handler + [self setMaxBusyRetryTimeInterval:_maxBusyRetryTimeInterval]; + } + + return YES; +#else + NSLog(@"openWithFlags requires SQLite 3.5"); + return NO; +#endif +} + + +- (BOOL)close { + + [self clearCachedStatements]; + [self closeOpenResultSets]; + + if (!_db) { + return YES; + } + + int rc; + BOOL retry; + BOOL triedFinalizingOpenStatements = NO; + + do { + retry = NO; + rc = sqlite3_close(_db); + if (SQLITE_BUSY == rc || SQLITE_LOCKED == rc) { + if (!triedFinalizingOpenStatements) { + triedFinalizingOpenStatements = YES; + sqlite3_stmt *pStmt; + while ((pStmt = sqlite3_next_stmt(_db, nil)) !=0) { + NSLog(@"Closing leaked statement"); + sqlite3_finalize(pStmt); + retry = YES; + } + } + } + else if (SQLITE_OK != rc) { + NSLog(@"error closing!: %d", rc); + } + } + while (retry); + + _db = nil; + return YES; +} + +#pragma mark Busy handler routines + +// NOTE: appledoc seems to choke on this function for some reason; +// so when generating documentation, you might want to ignore the +// .m files so that it only documents the public interfaces outlined +// in the .h files. +// +// This is a known appledoc bug that it has problems with C functions +// within a class implementation, but for some reason, only this +// C function causes problems; the rest don't. Anyway, ignoring the .m +// files with appledoc will prevent this problem from occurring. + +static int FMDBDatabaseBusyHandler(void *f, int count) { + FMDatabase *self = (__bridge FMDatabase*)f; + + if (count == 0) { + self->_startBusyRetryTime = [NSDate timeIntervalSinceReferenceDate]; + return 1; + } + + NSTimeInterval delta = [NSDate timeIntervalSinceReferenceDate] - (self->_startBusyRetryTime); + + if (delta < [self maxBusyRetryTimeInterval]) { + int requestedSleepInMillseconds = (int) arc4random_uniform(50) + 50; + int actualSleepInMilliseconds = sqlite3_sleep(requestedSleepInMillseconds); + if (actualSleepInMilliseconds != requestedSleepInMillseconds) { + NSLog(@"WARNING: Requested sleep of %i milliseconds, but SQLite returned %i. Maybe SQLite wasn't built with HAVE_USLEEP=1?", requestedSleepInMillseconds, actualSleepInMilliseconds); + } + return 1; + } + + return 0; +} + +- (void)setMaxBusyRetryTimeInterval:(NSTimeInterval)timeout { + + _maxBusyRetryTimeInterval = timeout; + + if (!_db) { + return; + } + + if (timeout > 0) { + sqlite3_busy_handler(_db, &FMDBDatabaseBusyHandler, (__bridge void *)(self)); + } + else { + // turn it off otherwise + sqlite3_busy_handler(_db, nil, nil); + } +} + +- (NSTimeInterval)maxBusyRetryTimeInterval { + return _maxBusyRetryTimeInterval; +} + + +// we no longer make busyRetryTimeout public +// but for folks who don't bother noticing that the interface to FMDatabase changed, +// we'll still implement the method so they don't get suprise crashes +- (int)busyRetryTimeout { + NSLog(@"%s:%d", __FUNCTION__, __LINE__); + NSLog(@"FMDB: busyRetryTimeout no longer works, please use maxBusyRetryTimeInterval"); + return -1; +} + +- (void)setBusyRetryTimeout:(int)i { +#pragma unused(i) + NSLog(@"%s:%d", __FUNCTION__, __LINE__); + NSLog(@"FMDB: setBusyRetryTimeout does nothing, please use setMaxBusyRetryTimeInterval:"); +} + +#pragma mark Result set functions + +- (BOOL)hasOpenResultSets { + return [_openResultSets count] > 0; +} + +- (void)closeOpenResultSets { + + //Copy the set so we don't get mutation errors + NSSet *openSetCopy = FMDBReturnAutoreleased([_openResultSets copy]); + for (NSValue *rsInWrappedInATastyValueMeal in openSetCopy) { + FMResultSet *rs = (FMResultSet *)[rsInWrappedInATastyValueMeal pointerValue]; + + [rs setParentDB:nil]; + [rs close]; + + [_openResultSets removeObject:rsInWrappedInATastyValueMeal]; + } +} + +- (void)resultSetDidClose:(FMResultSet *)resultSet { + NSValue *setValue = [NSValue valueWithNonretainedObject:resultSet]; + + [_openResultSets removeObject:setValue]; +} + +#pragma mark Cached statements + +- (void)clearCachedStatements { + + for (NSMutableSet *statements in [_cachedStatements objectEnumerator]) { + [statements makeObjectsPerformSelector:@selector(close)]; + } + + [_cachedStatements removeAllObjects]; +} + +- (FMStatement*)cachedStatementForQuery:(NSString*)query { + + NSMutableSet* statements = [_cachedStatements objectForKey:query]; + + return [[statements objectsPassingTest:^BOOL(FMStatement* statement, BOOL *stop) { + + *stop = ![statement inUse]; + return *stop; + + }] anyObject]; +} + + +- (void)setCachedStatement:(FMStatement*)statement forQuery:(NSString*)query { + + query = [query copy]; // in case we got handed in a mutable string... + [statement setQuery:query]; + + NSMutableSet* statements = [_cachedStatements objectForKey:query]; + if (!statements) { + statements = [NSMutableSet set]; + } + + [statements addObject:statement]; + + [_cachedStatements setObject:statements forKey:query]; + + FMDBRelease(query); +} + +#pragma mark Key routines + +- (BOOL)rekey:(NSString*)key { + NSData *keyData = [NSData dataWithBytes:(void *)[key UTF8String] length:(NSUInteger)strlen([key UTF8String])]; + + return [self rekeyWithData:keyData]; +} + +- (BOOL)rekeyWithData:(NSData *)keyData { +#ifdef SQLITE_HAS_CODEC + if (!keyData) { + return NO; + } + + int rc = sqlite3_rekey(_db, [keyData bytes], (int)[keyData length]); + + if (rc != SQLITE_OK) { + NSLog(@"error on rekey: %d", rc); + NSLog(@"%@", [self lastErrorMessage]); + } + + return (rc == SQLITE_OK); +#else +#pragma unused(keyData) + return NO; +#endif +} + +- (BOOL)setKey:(NSString*)key { + NSData *keyData = [NSData dataWithBytes:[key UTF8String] length:(NSUInteger)strlen([key UTF8String])]; + + return [self setKeyWithData:keyData]; +} + +- (BOOL)setKeyWithData:(NSData *)keyData { +#ifdef SQLITE_HAS_CODEC + if (!keyData) { + return NO; + } + + int rc = sqlite3_key(_db, [keyData bytes], (int)[keyData length]); + + return (rc == SQLITE_OK); +#else +#pragma unused(keyData) + return NO; +#endif +} + +#pragma mark Date routines + ++ (NSDateFormatter *)storeableDateFormat:(NSString *)format { + + NSDateFormatter *result = FMDBReturnAutoreleased([[NSDateFormatter alloc] init]); + result.dateFormat = format; + result.timeZone = [NSTimeZone timeZoneForSecondsFromGMT:0]; + result.locale = FMDBReturnAutoreleased([[NSLocale alloc] initWithLocaleIdentifier:@"en_US"]); + return result; +} + + +- (BOOL)hasDateFormatter { + return _dateFormat != nil; +} + +- (void)setDateFormat:(NSDateFormatter *)format { + FMDBAutorelease(_dateFormat); + _dateFormat = FMDBReturnRetained(format); +} + +- (NSDate *)dateFromString:(NSString *)s { + return [_dateFormat dateFromString:s]; +} + +- (NSString *)stringFromDate:(NSDate *)date { + return [_dateFormat stringFromDate:date]; +} + +#pragma mark State of database + +- (BOOL)goodConnection { + + if (!_db) { + return NO; + } + + FMResultSet *rs = [self executeQuery:@"select name from sqlite_master where type='table'"]; + + if (rs) { + [rs close]; + return YES; + } + + return NO; +} + +- (void)warnInUse { + NSLog(@"The FMDatabase %@ is currently in use.", self); + +#ifndef NS_BLOCK_ASSERTIONS + if (_crashOnErrors) { + NSAssert(false, @"The FMDatabase %@ is currently in use.", self); + abort(); + } +#endif +} + +- (BOOL)databaseExists { + + if (!_db) { + + NSLog(@"The FMDatabase %@ is not open.", self); + +#ifndef NS_BLOCK_ASSERTIONS + if (_crashOnErrors) { + NSAssert(false, @"The FMDatabase %@ is not open.", self); + abort(); + } +#endif + + return NO; + } + + return YES; +} + +#pragma mark Error routines + +- (NSString*)lastErrorMessage { + return [NSString stringWithUTF8String:sqlite3_errmsg(_db)]; +} + +- (BOOL)hadError { + int lastErrCode = [self lastErrorCode]; + + return (lastErrCode > SQLITE_OK && lastErrCode < SQLITE_ROW); +} + +- (int)lastErrorCode { + return sqlite3_errcode(_db); +} + +- (NSError*)errorWithMessage:(NSString*)message { + NSDictionary* errorMessage = [NSDictionary dictionaryWithObject:message forKey:NSLocalizedDescriptionKey]; + + return [NSError errorWithDomain:@"FMDatabase" code:sqlite3_errcode(_db) userInfo:errorMessage]; +} + +- (NSError*)lastError { + return [self errorWithMessage:[self lastErrorMessage]]; +} + +#pragma mark Update information routines + +- (sqlite_int64)lastInsertRowId { + + if (_isExecutingStatement) { + [self warnInUse]; + return NO; + } + + _isExecutingStatement = YES; + + sqlite_int64 ret = sqlite3_last_insert_rowid(_db); + + _isExecutingStatement = NO; + + return ret; +} + +- (int)changes { + if (_isExecutingStatement) { + [self warnInUse]; + return 0; + } + + _isExecutingStatement = YES; + + int ret = sqlite3_changes(_db); + + _isExecutingStatement = NO; + + return ret; +} + +#pragma mark SQL manipulation + +- (void)bindObject:(id)obj toColumn:(int)idx inStatement:(sqlite3_stmt*)pStmt { + + if ((!obj) || ((NSNull *)obj == [NSNull null])) { + sqlite3_bind_null(pStmt, idx); + } + + // FIXME - someday check the return codes on these binds. + else if ([obj isKindOfClass:[NSData class]]) { + const void *bytes = [obj bytes]; + if (!bytes) { + // it's an empty NSData object, aka [NSData data]. + // Don't pass a NULL pointer, or sqlite will bind a SQL null instead of a blob. + bytes = ""; + } + sqlite3_bind_blob(pStmt, idx, bytes, (int)[obj length], SQLITE_STATIC); + } + else if ([obj isKindOfClass:[NSDate class]]) { + if (self.hasDateFormatter) + sqlite3_bind_text(pStmt, idx, [[self stringFromDate:obj] UTF8String], -1, SQLITE_STATIC); + else + sqlite3_bind_double(pStmt, idx, [obj timeIntervalSince1970]); + } + else if ([obj isKindOfClass:[NSNumber class]]) { + + if (strcmp([obj objCType], @encode(char)) == 0) { + sqlite3_bind_int(pStmt, idx, [obj charValue]); + } + else if (strcmp([obj objCType], @encode(unsigned char)) == 0) { + sqlite3_bind_int(pStmt, idx, [obj unsignedCharValue]); + } + else if (strcmp([obj objCType], @encode(short)) == 0) { + sqlite3_bind_int(pStmt, idx, [obj shortValue]); + } + else if (strcmp([obj objCType], @encode(unsigned short)) == 0) { + sqlite3_bind_int(pStmt, idx, [obj unsignedShortValue]); + } + else if (strcmp([obj objCType], @encode(int)) == 0) { + sqlite3_bind_int(pStmt, idx, [obj intValue]); + } + else if (strcmp([obj objCType], @encode(unsigned int)) == 0) { + sqlite3_bind_int64(pStmt, idx, (long long)[obj unsignedIntValue]); + } + else if (strcmp([obj objCType], @encode(long)) == 0) { + sqlite3_bind_int64(pStmt, idx, [obj longValue]); + } + else if (strcmp([obj objCType], @encode(unsigned long)) == 0) { + sqlite3_bind_int64(pStmt, idx, (long long)[obj unsignedLongValue]); + } + else if (strcmp([obj objCType], @encode(long long)) == 0) { + sqlite3_bind_int64(pStmt, idx, [obj longLongValue]); + } + else if (strcmp([obj objCType], @encode(unsigned long long)) == 0) { + sqlite3_bind_int64(pStmt, idx, (long long)[obj unsignedLongLongValue]); + } + else if (strcmp([obj objCType], @encode(float)) == 0) { + sqlite3_bind_double(pStmt, idx, [obj floatValue]); + } + else if (strcmp([obj objCType], @encode(double)) == 0) { + sqlite3_bind_double(pStmt, idx, [obj doubleValue]); + } + else if (strcmp([obj objCType], @encode(BOOL)) == 0) { + sqlite3_bind_int(pStmt, idx, ([obj boolValue] ? 1 : 0)); + } + else { + sqlite3_bind_text(pStmt, idx, [[obj description] UTF8String], -1, SQLITE_STATIC); + } + } + else { + sqlite3_bind_text(pStmt, idx, [[obj description] UTF8String], -1, SQLITE_STATIC); + } +} + +- (void)extractSQL:(NSString *)sql argumentsList:(va_list)args intoString:(NSMutableString *)cleanedSQL arguments:(NSMutableArray *)arguments { + + NSUInteger length = [sql length]; + unichar last = '\0'; + for (NSUInteger i = 0; i < length; ++i) { + id arg = nil; + unichar current = [sql characterAtIndex:i]; + unichar add = current; + if (last == '%') { + switch (current) { + case '@': + arg = va_arg(args, id); + break; + case 'c': + // warning: second argument to 'va_arg' is of promotable type 'char'; this va_arg has undefined behavior because arguments will be promoted to 'int' + arg = [NSString stringWithFormat:@"%c", va_arg(args, int)]; + break; + case 's': + arg = [NSString stringWithUTF8String:va_arg(args, char*)]; + break; + case 'd': + case 'D': + case 'i': + arg = [NSNumber numberWithInt:va_arg(args, int)]; + break; + case 'u': + case 'U': + arg = [NSNumber numberWithUnsignedInt:va_arg(args, unsigned int)]; + break; + case 'h': + i++; + if (i < length && [sql characterAtIndex:i] == 'i') { + // warning: second argument to 'va_arg' is of promotable type 'short'; this va_arg has undefined behavior because arguments will be promoted to 'int' + arg = [NSNumber numberWithShort:(short)(va_arg(args, int))]; + } + else if (i < length && [sql characterAtIndex:i] == 'u') { + // warning: second argument to 'va_arg' is of promotable type 'unsigned short'; this va_arg has undefined behavior because arguments will be promoted to 'int' + arg = [NSNumber numberWithUnsignedShort:(unsigned short)(va_arg(args, uint))]; + } + else { + i--; + } + break; + case 'q': + i++; + if (i < length && [sql characterAtIndex:i] == 'i') { + arg = [NSNumber numberWithLongLong:va_arg(args, long long)]; + } + else if (i < length && [sql characterAtIndex:i] == 'u') { + arg = [NSNumber numberWithUnsignedLongLong:va_arg(args, unsigned long long)]; + } + else { + i--; + } + break; + case 'f': + arg = [NSNumber numberWithDouble:va_arg(args, double)]; + break; + case 'g': + // warning: second argument to 'va_arg' is of promotable type 'float'; this va_arg has undefined behavior because arguments will be promoted to 'double' + arg = [NSNumber numberWithFloat:(float)(va_arg(args, double))]; + break; + case 'l': + i++; + if (i < length) { + unichar next = [sql characterAtIndex:i]; + if (next == 'l') { + i++; + if (i < length && [sql characterAtIndex:i] == 'd') { + //%lld + arg = [NSNumber numberWithLongLong:va_arg(args, long long)]; + } + else if (i < length && [sql characterAtIndex:i] == 'u') { + //%llu + arg = [NSNumber numberWithUnsignedLongLong:va_arg(args, unsigned long long)]; + } + else { + i--; + } + } + else if (next == 'd') { + //%ld + arg = [NSNumber numberWithLong:va_arg(args, long)]; + } + else if (next == 'u') { + //%lu + arg = [NSNumber numberWithUnsignedLong:va_arg(args, unsigned long)]; + } + else { + i--; + } + } + else { + i--; + } + break; + default: + // something else that we can't interpret. just pass it on through like normal + break; + } + } + else if (current == '%') { + // percent sign; skip this character + add = '\0'; + } + + if (arg != nil) { + [cleanedSQL appendString:@"?"]; + [arguments addObject:arg]; + } + else if (add == (unichar)'@' && last == (unichar) '%') { + [cleanedSQL appendFormat:@"NULL"]; + } + else if (add != '\0') { + [cleanedSQL appendFormat:@"%C", add]; + } + last = current; + } +} + +#pragma mark Execute queries + +- (FMResultSet *)executeQuery:(NSString *)sql withParameterDictionary:(NSDictionary *)arguments { + return [self executeQuery:sql withArgumentsInArray:nil orDictionary:arguments orVAList:nil]; +} + +- (FMResultSet *)executeQuery:(NSString *)sql withArgumentsInArray:(NSArray*)arrayArgs orDictionary:(NSDictionary *)dictionaryArgs orVAList:(va_list)args { + + if (![self databaseExists]) { + return 0x00; + } + + if (_isExecutingStatement) { + [self warnInUse]; + return 0x00; + } + + _isExecutingStatement = YES; + + int rc = 0x00; + sqlite3_stmt *pStmt = 0x00; + FMStatement *statement = 0x00; + FMResultSet *rs = 0x00; + + if (_traceExecution && sql) { + NSLog(@"%@ executeQuery: %@", self, sql); + } + + if (_shouldCacheStatements) { + statement = [self cachedStatementForQuery:sql]; + pStmt = statement ? [statement statement] : 0x00; + [statement reset]; + } + + if (!pStmt) { + + rc = sqlite3_prepare_v2(_db, [sql UTF8String], -1, &pStmt, 0); + + if (SQLITE_OK != rc) { + if (_logsErrors) { + NSLog(@"DB Error: %d \"%@\"", [self lastErrorCode], [self lastErrorMessage]); + NSLog(@"DB Query: %@", sql); + NSLog(@"DB Path: %@", _databasePath); + } + + if (_crashOnErrors) { + NSAssert(false, @"DB Error: %d \"%@\"", [self lastErrorCode], [self lastErrorMessage]); + abort(); + } + + sqlite3_finalize(pStmt); + _isExecutingStatement = NO; + return nil; + } + } + + id obj; + int idx = 0; + int queryCount = sqlite3_bind_parameter_count(pStmt); // pointed out by Dominic Yu (thanks!) + + // If dictionaryArgs is passed in, that means we are using sqlite's named parameter support + if (dictionaryArgs) { + + for (NSString *dictionaryKey in [dictionaryArgs allKeys]) { + + // Prefix the key with a colon. + NSString *parameterName = [[NSString alloc] initWithFormat:@":%@", dictionaryKey]; + + if (_traceExecution) { + NSLog(@"%@ = %@", parameterName, [dictionaryArgs objectForKey:dictionaryKey]); + } + + // Get the index for the parameter name. + int namedIdx = sqlite3_bind_parameter_index(pStmt, [parameterName UTF8String]); + + FMDBRelease(parameterName); + + if (namedIdx > 0) { + // Standard binding from here. + [self bindObject:[dictionaryArgs objectForKey:dictionaryKey] toColumn:namedIdx inStatement:pStmt]; + // increment the binding count, so our check below works out + idx++; + } + else { + NSLog(@"Could not find index for %@", dictionaryKey); + } + } + } + else { + + while (idx < queryCount) { + + if (arrayArgs && idx < (int)[arrayArgs count]) { + obj = [arrayArgs objectAtIndex:(NSUInteger)idx]; + } + else if (args) { + obj = va_arg(args, id); + } + else { + //We ran out of arguments + break; + } + + if (_traceExecution) { + if ([obj isKindOfClass:[NSData class]]) { + NSLog(@"data: %ld bytes", (unsigned long)[(NSData*)obj length]); + } + else { + NSLog(@"obj: %@", obj); + } + } + + idx++; + + [self bindObject:obj toColumn:idx inStatement:pStmt]; + } + } + + if (idx != queryCount) { + NSLog(@"Error: the bind count is not correct for the # of variables (executeQuery)"); + sqlite3_finalize(pStmt); + _isExecutingStatement = NO; + return nil; + } + + FMDBRetain(statement); // to balance the release below + + if (!statement) { + statement = [[FMStatement alloc] init]; + [statement setStatement:pStmt]; + + if (_shouldCacheStatements && sql) { + [self setCachedStatement:statement forQuery:sql]; + } + } + + // the statement gets closed in rs's dealloc or [rs close]; + rs = [FMResultSet resultSetWithStatement:statement usingParentDatabase:self]; + [rs setQuery:sql]; + + NSValue *openResultSet = [NSValue valueWithNonretainedObject:rs]; + [_openResultSets addObject:openResultSet]; + + [statement setUseCount:[statement useCount] + 1]; + + FMDBRelease(statement); + + _isExecutingStatement = NO; + + return rs; +} + +- (FMResultSet *)executeQuery:(NSString*)sql, ... { + va_list args; + va_start(args, sql); + + id result = [self executeQuery:sql withArgumentsInArray:nil orDictionary:nil orVAList:args]; + + va_end(args); + return result; +} + +- (FMResultSet *)executeQueryWithFormat:(NSString*)format, ... { + va_list args; + va_start(args, format); + + NSMutableString *sql = [NSMutableString stringWithCapacity:[format length]]; + NSMutableArray *arguments = [NSMutableArray array]; + [self extractSQL:format argumentsList:args intoString:sql arguments:arguments]; + + va_end(args); + + return [self executeQuery:sql withArgumentsInArray:arguments]; +} + +- (FMResultSet *)executeQuery:(NSString *)sql withArgumentsInArray:(NSArray *)arguments { + return [self executeQuery:sql withArgumentsInArray:arguments orDictionary:nil orVAList:nil]; +} + +- (FMResultSet *)executeQuery:(NSString *)sql values:(NSArray *)values error:(NSError * __autoreleasing *)error { + FMResultSet *rs = [self executeQuery:sql withArgumentsInArray:values orDictionary:nil orVAList:nil]; + if (!rs && error) { + *error = [self lastError]; + } + return rs; +} + +- (FMResultSet *)executeQuery:(NSString*)sql withVAList:(va_list)args { + return [self executeQuery:sql withArgumentsInArray:nil orDictionary:nil orVAList:args]; +} + +#pragma mark Execute updates + +- (BOOL)executeUpdate:(NSString*)sql error:(NSError**)outErr withArgumentsInArray:(NSArray*)arrayArgs orDictionary:(NSDictionary *)dictionaryArgs orVAList:(va_list)args { + + if (![self databaseExists]) { + return NO; + } + + if (_isExecutingStatement) { + [self warnInUse]; + return NO; + } + + _isExecutingStatement = YES; + + int rc = 0x00; + sqlite3_stmt *pStmt = 0x00; + FMStatement *cachedStmt = 0x00; + + if (_traceExecution && sql) { + NSLog(@"%@ executeUpdate: %@", self, sql); + } + + if (_shouldCacheStatements) { + cachedStmt = [self cachedStatementForQuery:sql]; + pStmt = cachedStmt ? [cachedStmt statement] : 0x00; + [cachedStmt reset]; + } + + if (!pStmt) { + rc = sqlite3_prepare_v2(_db, [sql UTF8String], -1, &pStmt, 0); + + if (SQLITE_OK != rc) { + if (_logsErrors) { + NSLog(@"DB Error: %d \"%@\"", [self lastErrorCode], [self lastErrorMessage]); + NSLog(@"DB Query: %@", sql); + NSLog(@"DB Path: %@", _databasePath); + } + + if (_crashOnErrors) { + NSAssert(false, @"DB Error: %d \"%@\"", [self lastErrorCode], [self lastErrorMessage]); + abort(); + } + + if (outErr) { + *outErr = [self errorWithMessage:[NSString stringWithUTF8String:sqlite3_errmsg(_db)]]; + } + + sqlite3_finalize(pStmt); + + _isExecutingStatement = NO; + return NO; + } + } + + id obj; + int idx = 0; + int queryCount = sqlite3_bind_parameter_count(pStmt); + + // If dictionaryArgs is passed in, that means we are using sqlite's named parameter support + if (dictionaryArgs) { + + for (NSString *dictionaryKey in [dictionaryArgs allKeys]) { + + // Prefix the key with a colon. + NSString *parameterName = [[NSString alloc] initWithFormat:@":%@", dictionaryKey]; + + if (_traceExecution) { + NSLog(@"%@ = %@", parameterName, [dictionaryArgs objectForKey:dictionaryKey]); + } + // Get the index for the parameter name. + int namedIdx = sqlite3_bind_parameter_index(pStmt, [parameterName UTF8String]); + + FMDBRelease(parameterName); + + if (namedIdx > 0) { + // Standard binding from here. + [self bindObject:[dictionaryArgs objectForKey:dictionaryKey] toColumn:namedIdx inStatement:pStmt]; + + // increment the binding count, so our check below works out + idx++; + } + else { + NSString *message = [NSString stringWithFormat:@"Could not find index for %@", dictionaryKey]; + + if (_logsErrors) { + NSLog(@"%@", message); + } + if (outErr) { + *outErr = [self errorWithMessage:message]; + } + } + } + } + else { + + while (idx < queryCount) { + + if (arrayArgs && idx < (int)[arrayArgs count]) { + obj = [arrayArgs objectAtIndex:(NSUInteger)idx]; + } + else if (args) { + obj = va_arg(args, id); + } + else { + //We ran out of arguments + break; + } + + if (_traceExecution) { + if ([obj isKindOfClass:[NSData class]]) { + NSLog(@"data: %ld bytes", (unsigned long)[(NSData*)obj length]); + } + else { + NSLog(@"obj: %@", obj); + } + } + + idx++; + + [self bindObject:obj toColumn:idx inStatement:pStmt]; + } + } + + + if (idx != queryCount) { + NSString *message = [NSString stringWithFormat:@"Error: the bind count (%d) is not correct for the # of variables in the query (%d) (%@) (executeUpdate)", idx, queryCount, sql]; + if (_logsErrors) { + NSLog(@"%@", message); + } + if (outErr) { + *outErr = [self errorWithMessage:message]; + } + + sqlite3_finalize(pStmt); + _isExecutingStatement = NO; + return NO; + } + + /* Call sqlite3_step() to run the virtual machine. Since the SQL being + ** executed is not a SELECT statement, we assume no data will be returned. + */ + + rc = sqlite3_step(pStmt); + + if (SQLITE_DONE == rc) { + // all is well, let's return. + } + else if (rc == SQLITE_ROW) { + NSString *message = [NSString stringWithFormat:@"A executeUpdate is being called with a query string '%@'", sql]; + if (_logsErrors) { + NSLog(@"%@", message); + NSLog(@"DB Query: %@", sql); + } + if (outErr) { + *outErr = [self errorWithMessage:message]; + } + } + else { + if (outErr) { + *outErr = [self errorWithMessage:[NSString stringWithUTF8String:sqlite3_errmsg(_db)]]; + } + + if (SQLITE_ERROR == rc) { + if (_logsErrors) { + NSLog(@"Error calling sqlite3_step (%d: %s) SQLITE_ERROR", rc, sqlite3_errmsg(_db)); + NSLog(@"DB Query: %@", sql); + } + } + else if (SQLITE_MISUSE == rc) { + // uh oh. + if (_logsErrors) { + NSLog(@"Error calling sqlite3_step (%d: %s) SQLITE_MISUSE", rc, sqlite3_errmsg(_db)); + NSLog(@"DB Query: %@", sql); + } + } + else { + // wtf? + if (_logsErrors) { + NSLog(@"Unknown error calling sqlite3_step (%d: %s) eu", rc, sqlite3_errmsg(_db)); + NSLog(@"DB Query: %@", sql); + } + } + } + + if (_shouldCacheStatements && !cachedStmt) { + cachedStmt = [[FMStatement alloc] init]; + + [cachedStmt setStatement:pStmt]; + + [self setCachedStatement:cachedStmt forQuery:sql]; + + FMDBRelease(cachedStmt); + } + + int closeErrorCode; + + if (cachedStmt) { + [cachedStmt setUseCount:[cachedStmt useCount] + 1]; + closeErrorCode = sqlite3_reset(pStmt); + } + else { + /* Finalize the virtual machine. This releases all memory and other + ** resources allocated by the sqlite3_prepare() call above. + */ + closeErrorCode = sqlite3_finalize(pStmt); + } + + if (closeErrorCode != SQLITE_OK) { + if (_logsErrors) { + NSLog(@"Unknown error finalizing or resetting statement (%d: %s)", closeErrorCode, sqlite3_errmsg(_db)); + NSLog(@"DB Query: %@", sql); + } + } + + _isExecutingStatement = NO; + return (rc == SQLITE_DONE || rc == SQLITE_OK); +} + + +- (BOOL)executeUpdate:(NSString*)sql, ... { + va_list args; + va_start(args, sql); + + BOOL result = [self executeUpdate:sql error:nil withArgumentsInArray:nil orDictionary:nil orVAList:args]; + + va_end(args); + return result; +} + +- (BOOL)executeUpdate:(NSString*)sql withArgumentsInArray:(NSArray *)arguments { + return [self executeUpdate:sql error:nil withArgumentsInArray:arguments orDictionary:nil orVAList:nil]; +} + +- (BOOL)executeUpdate:(NSString*)sql values:(NSArray *)values error:(NSError * __autoreleasing *)error { + return [self executeUpdate:sql error:error withArgumentsInArray:values orDictionary:nil orVAList:nil]; +} + +- (BOOL)executeUpdate:(NSString*)sql withParameterDictionary:(NSDictionary *)arguments { + return [self executeUpdate:sql error:nil withArgumentsInArray:nil orDictionary:arguments orVAList:nil]; +} + +- (BOOL)executeUpdate:(NSString*)sql withVAList:(va_list)args { + return [self executeUpdate:sql error:nil withArgumentsInArray:nil orDictionary:nil orVAList:args]; +} + +- (BOOL)executeUpdateWithFormat:(NSString*)format, ... { + va_list args; + va_start(args, format); + + NSMutableString *sql = [NSMutableString stringWithCapacity:[format length]]; + NSMutableArray *arguments = [NSMutableArray array]; + + [self extractSQL:format argumentsList:args intoString:sql arguments:arguments]; + + va_end(args); + + return [self executeUpdate:sql withArgumentsInArray:arguments]; +} + + +int FMDBExecuteBulkSQLCallback(void *theBlockAsVoid, int columns, char **values, char **names); // shhh clang. +int FMDBExecuteBulkSQLCallback(void *theBlockAsVoid, int columns, char **values, char **names) { + + if (!theBlockAsVoid) { + return SQLITE_OK; + } + + int (^execCallbackBlock)(NSDictionary *resultsDictionary) = (__bridge int (^)(NSDictionary *__strong))(theBlockAsVoid); + + NSMutableDictionary *dictionary = [NSMutableDictionary dictionaryWithCapacity:(NSUInteger)columns]; + + for (NSInteger i = 0; i < columns; i++) { + NSString *key = [NSString stringWithUTF8String:names[i]]; + id value = values[i] ? [NSString stringWithUTF8String:values[i]] : [NSNull null]; + [dictionary setObject:value forKey:key]; + } + + return execCallbackBlock(dictionary); +} + +- (BOOL)executeStatements:(NSString *)sql { + return [self executeStatements:sql withResultBlock:nil]; +} + +- (BOOL)executeStatements:(NSString *)sql withResultBlock:(FMDBExecuteStatementsCallbackBlock)block { + + int rc; + char *errmsg = nil; + + rc = sqlite3_exec([self sqliteHandle], [sql UTF8String], block ? FMDBExecuteBulkSQLCallback : nil, (__bridge void *)(block), &errmsg); + + if (errmsg && [self logsErrors]) { + NSLog(@"Error inserting batch: %s", errmsg); + sqlite3_free(errmsg); + } + + return (rc == SQLITE_OK); +} + +- (BOOL)executeUpdate:(NSString*)sql withErrorAndBindings:(NSError**)outErr, ... { + + va_list args; + va_start(args, outErr); + + BOOL result = [self executeUpdate:sql error:outErr withArgumentsInArray:nil orDictionary:nil orVAList:args]; + + va_end(args); + return result; +} + + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-implementations" +- (BOOL)update:(NSString*)sql withErrorAndBindings:(NSError**)outErr, ... { + va_list args; + va_start(args, outErr); + + BOOL result = [self executeUpdate:sql error:outErr withArgumentsInArray:nil orDictionary:nil orVAList:args]; + + va_end(args); + return result; +} + +#pragma clang diagnostic pop + +#pragma mark Transactions + +- (BOOL)rollback { + BOOL b = [self executeUpdate:@"rollback transaction"]; + + if (b) { + _inTransaction = NO; + } + + return b; +} + +- (BOOL)commit { + BOOL b = [self executeUpdate:@"commit transaction"]; + + if (b) { + _inTransaction = NO; + } + + return b; +} + +- (BOOL)beginDeferredTransaction { + + BOOL b = [self executeUpdate:@"begin deferred transaction"]; + if (b) { + _inTransaction = YES; + } + + return b; +} + +- (BOOL)beginTransaction { + + BOOL b = [self executeUpdate:@"begin exclusive transaction"]; + if (b) { + _inTransaction = YES; + } + + return b; +} + +- (BOOL)inTransaction { + return _inTransaction; +} + +static NSString *FMDBEscapeSavePointName(NSString *savepointName) { + return [savepointName stringByReplacingOccurrencesOfString:@"'" withString:@"''"]; +} + +- (BOOL)startSavePointWithName:(NSString*)name error:(NSError**)outErr { +#if SQLITE_VERSION_NUMBER >= 3007000 + NSParameterAssert(name); + + NSString *sql = [NSString stringWithFormat:@"savepoint '%@';", FMDBEscapeSavePointName(name)]; + + return [self executeUpdate:sql error:outErr withArgumentsInArray:nil orDictionary:nil orVAList:nil]; +#else + NSString *errorMessage = NSLocalizedString(@"Save point functions require SQLite 3.7", nil); + if (self.logsErrors) NSLog(@"%@", errorMessage); + return NO; +#endif +} + +- (BOOL)releaseSavePointWithName:(NSString*)name error:(NSError**)outErr { +#if SQLITE_VERSION_NUMBER >= 3007000 + NSParameterAssert(name); + + NSString *sql = [NSString stringWithFormat:@"release savepoint '%@';", FMDBEscapeSavePointName(name)]; + + return [self executeUpdate:sql error:outErr withArgumentsInArray:nil orDictionary:nil orVAList:nil]; +#else + NSString *errorMessage = NSLocalizedString(@"Save point functions require SQLite 3.7", nil); + if (self.logsErrors) NSLog(@"%@", errorMessage); + return NO; +#endif +} + +- (BOOL)rollbackToSavePointWithName:(NSString*)name error:(NSError**)outErr { +#if SQLITE_VERSION_NUMBER >= 3007000 + NSParameterAssert(name); + + NSString *sql = [NSString stringWithFormat:@"rollback transaction to savepoint '%@';", FMDBEscapeSavePointName(name)]; + + return [self executeUpdate:sql error:outErr withArgumentsInArray:nil orDictionary:nil orVAList:nil]; +#else + NSString *errorMessage = NSLocalizedString(@"Save point functions require SQLite 3.7", nil); + if (self.logsErrors) NSLog(@"%@", errorMessage); + return NO; +#endif +} + +- (NSError*)inSavePoint:(void (^)(BOOL *rollback))block { +#if SQLITE_VERSION_NUMBER >= 3007000 + static unsigned long savePointIdx = 0; + + NSString *name = [NSString stringWithFormat:@"dbSavePoint%ld", savePointIdx++]; + + BOOL shouldRollback = NO; + + NSError *err = 0x00; + + if (![self startSavePointWithName:name error:&err]) { + return err; + } + + if (block) { + block(&shouldRollback); + } + + if (shouldRollback) { + // We need to rollback and release this savepoint to remove it + [self rollbackToSavePointWithName:name error:&err]; + } + [self releaseSavePointWithName:name error:&err]; + + return err; +#else + NSString *errorMessage = NSLocalizedString(@"Save point functions require SQLite 3.7", nil); + if (self.logsErrors) NSLog(@"%@", errorMessage); + return [NSError errorWithDomain:@"FMDatabase" code:0 userInfo:@{NSLocalizedDescriptionKey : errorMessage}]; +#endif +} + + +#pragma mark Cache statements + +- (BOOL)shouldCacheStatements { + return _shouldCacheStatements; +} + +- (void)setShouldCacheStatements:(BOOL)value { + + _shouldCacheStatements = value; + + if (_shouldCacheStatements && !_cachedStatements) { + [self setCachedStatements:[NSMutableDictionary dictionary]]; + } + + if (!_shouldCacheStatements) { + [self setCachedStatements:nil]; + } +} + +#pragma mark Callback function + +void FMDBBlockSQLiteCallBackFunction(sqlite3_context *context, int argc, sqlite3_value **argv); // -Wmissing-prototypes +void FMDBBlockSQLiteCallBackFunction(sqlite3_context *context, int argc, sqlite3_value **argv) { +#if ! __has_feature(objc_arc) + void (^block)(sqlite3_context *context, int argc, sqlite3_value **argv) = (id)sqlite3_user_data(context); +#else + void (^block)(sqlite3_context *context, int argc, sqlite3_value **argv) = (__bridge id)sqlite3_user_data(context); +#endif + if (block) { + block(context, argc, argv); + } +} + + +- (void)makeFunctionNamed:(NSString*)name maximumArguments:(int)count withBlock:(void (^)(void *context, int argc, void **argv))block { + + if (!_openFunctions) { + _openFunctions = [NSMutableSet new]; + } + + id b = FMDBReturnAutoreleased([block copy]); + + [_openFunctions addObject:b]; + + /* I tried adding custom functions to release the block when the connection is destroyed- but they seemed to never be called, so we use _openFunctions to store the values instead. */ +#if ! __has_feature(objc_arc) + sqlite3_create_function([self sqliteHandle], [name UTF8String], count, SQLITE_UTF8, (void*)b, &FMDBBlockSQLiteCallBackFunction, 0x00, 0x00); +#else + sqlite3_create_function([self sqliteHandle], [name UTF8String], count, SQLITE_UTF8, (__bridge void*)b, &FMDBBlockSQLiteCallBackFunction, 0x00, 0x00); +#endif +} + +@end + + + +@implementation FMStatement +@synthesize statement=_statement; +@synthesize query=_query; +@synthesize useCount=_useCount; +@synthesize inUse=_inUse; + +- (void)finalize { + [self close]; + [super finalize]; +} + +- (void)dealloc { + [self close]; + FMDBRelease(_query); +#if ! __has_feature(objc_arc) + [super dealloc]; +#endif +} + +- (void)close { + if (_statement) { + sqlite3_finalize(_statement); + _statement = 0x00; + } + + _inUse = NO; +} + +- (void)reset { + if (_statement) { + sqlite3_reset(_statement); + } + + _inUse = NO; +} + +- (NSString*)description { + return [NSString stringWithFormat:@"%@ %ld hit(s) for query %@", [super description], _useCount, _query]; +} + + +@end + diff --git a/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabaseAdditions.h b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabaseAdditions.h new file mode 100644 index 000000000..9dd0b629e --- /dev/null +++ b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabaseAdditions.h @@ -0,0 +1,278 @@ +// +// FMDatabaseAdditions.h +// fmdb +// +// Created by August Mueller on 10/30/05. +// Copyright 2005 Flying Meat Inc.. All rights reserved. +// + +#import +#import "FMDatabase.h" + + +/** Category of additions for `` class. + + ### See also + + - `` + */ + +@interface FMDatabase (FMDatabaseAdditions) + +///---------------------------------------- +/// @name Return results of SQL to variable +///---------------------------------------- + +/** Return `int` value for query + + @param query The SQL query to be performed. + @param ... A list of parameters that will be bound to the `?` placeholders in the SQL query. + + @return `int` value. + + @note To use this method from Swift, you must include `FMDatabaseAdditionsVariadic.swift` in your project. + */ + +- (int)intForQuery:(NSString*)query, ...; + +/** Return `long` value for query + + @param query The SQL query to be performed. + @param ... A list of parameters that will be bound to the `?` placeholders in the SQL query. + + @return `long` value. + + @note To use this method from Swift, you must include `FMDatabaseAdditionsVariadic.swift` in your project. + */ + +- (long)longForQuery:(NSString*)query, ...; + +/** Return `BOOL` value for query + + @param query The SQL query to be performed. + @param ... A list of parameters that will be bound to the `?` placeholders in the SQL query. + + @return `BOOL` value. + + @note To use this method from Swift, you must include `FMDatabaseAdditionsVariadic.swift` in your project. + */ + +- (BOOL)boolForQuery:(NSString*)query, ...; + +/** Return `double` value for query + + @param query The SQL query to be performed. + @param ... A list of parameters that will be bound to the `?` placeholders in the SQL query. + + @return `double` value. + + @note To use this method from Swift, you must include `FMDatabaseAdditionsVariadic.swift` in your project. + */ + +- (double)doubleForQuery:(NSString*)query, ...; + +/** Return `NSString` value for query + + @param query The SQL query to be performed. + @param ... A list of parameters that will be bound to the `?` placeholders in the SQL query. + + @return `NSString` value. + + @note To use this method from Swift, you must include `FMDatabaseAdditionsVariadic.swift` in your project. + */ + +- (NSString*)stringForQuery:(NSString*)query, ...; + +/** Return `NSData` value for query + + @param query The SQL query to be performed. + @param ... A list of parameters that will be bound to the `?` placeholders in the SQL query. + + @return `NSData` value. + + @note To use this method from Swift, you must include `FMDatabaseAdditionsVariadic.swift` in your project. + */ + +- (NSData*)dataForQuery:(NSString*)query, ...; + +/** Return `NSDate` value for query + + @param query The SQL query to be performed. + @param ... A list of parameters that will be bound to the `?` placeholders in the SQL query. + + @return `NSDate` value. + + @note To use this method from Swift, you must include `FMDatabaseAdditionsVariadic.swift` in your project. + */ + +- (NSDate*)dateForQuery:(NSString*)query, ...; + + +// Notice that there's no dataNoCopyForQuery:. +// That would be a bad idea, because we close out the result set, and then what +// happens to the data that we just didn't copy? Who knows, not I. + + +///-------------------------------- +/// @name Schema related operations +///-------------------------------- + +/** Does table exist in database? + + @param tableName The name of the table being looked for. + + @return `YES` if table found; `NO` if not found. + */ + +- (BOOL)tableExists:(NSString*)tableName; + +/** The schema of the database. + + This will be the schema for the entire database. For each entity, each row of the result set will include the following fields: + + - `type` - The type of entity (e.g. table, index, view, or trigger) + - `name` - The name of the object + - `tbl_name` - The name of the table to which the object references + - `rootpage` - The page number of the root b-tree page for tables and indices + - `sql` - The SQL that created the entity + + @return `FMResultSet` of schema; `nil` on error. + + @see [SQLite File Format](http://www.sqlite.org/fileformat.html) + */ + +- (FMResultSet*)getSchema; + +/** The schema of the database. + + This will be the schema for a particular table as report by SQLite `PRAGMA`, for example: + + PRAGMA table_info('employees') + + This will report: + + - `cid` - The column ID number + - `name` - The name of the column + - `type` - The data type specified for the column + - `notnull` - whether the field is defined as NOT NULL (i.e. values required) + - `dflt_value` - The default value for the column + - `pk` - Whether the field is part of the primary key of the table + + @param tableName The name of the table for whom the schema will be returned. + + @return `FMResultSet` of schema; `nil` on error. + + @see [table_info](http://www.sqlite.org/pragma.html#pragma_table_info) + */ + +- (FMResultSet*)getTableSchema:(NSString*)tableName; + +/** Test to see if particular column exists for particular table in database + + @param columnName The name of the column. + + @param tableName The name of the table. + + @return `YES` if column exists in table in question; `NO` otherwise. + */ + +- (BOOL)columnExists:(NSString*)columnName inTableWithName:(NSString*)tableName; + +/** Test to see if particular column exists for particular table in database + + @param columnName The name of the column. + + @param tableName The name of the table. + + @return `YES` if column exists in table in question; `NO` otherwise. + + @see columnExists:inTableWithName: + + @warning Deprecated - use `` instead. + */ + +- (BOOL)columnExists:(NSString*)tableName columnName:(NSString*)columnName __attribute__ ((deprecated)); + + +/** Validate SQL statement + + This validates SQL statement by performing `sqlite3_prepare_v2`, but not returning the results, but instead immediately calling `sqlite3_finalize`. + + @param sql The SQL statement being validated. + + @param error This is a pointer to a `NSError` object that will receive the autoreleased `NSError` object if there was any error. If this is `nil`, no `NSError` result will be returned. + + @return `YES` if validation succeeded without incident; `NO` otherwise. + + */ + +- (BOOL)validateSQL:(NSString*)sql error:(NSError**)error; + + +///----------------------------------- +/// @name Application identifier tasks +///----------------------------------- + +/** Retrieve application ID + + @return The `uint32_t` numeric value of the application ID. + + @see setApplicationID: + */ + +- (uint32_t)applicationID; + +/** Set the application ID + + @param appID The `uint32_t` numeric value of the application ID. + + @see applicationID + */ + +- (void)setApplicationID:(uint32_t)appID; + +#if TARGET_OS_MAC && !TARGET_OS_IPHONE +/** Retrieve application ID string + + @return The `NSString` value of the application ID. + + @see setApplicationIDString: + */ + + +- (NSString*)applicationIDString; + +/** Set the application ID string + + @param string The `NSString` value of the application ID. + + @see applicationIDString + */ + +- (void)setApplicationIDString:(NSString*)string; + +#endif + +///----------------------------------- +/// @name user version identifier tasks +///----------------------------------- + +/** Retrieve user version + + @return The `uint32_t` numeric value of the user version. + + @see setUserVersion: + */ + +- (uint32_t)userVersion; + +/** Set the user-version + + @param version The `uint32_t` numeric value of the user version. + + @see userVersion + */ + +- (void)setUserVersion:(uint32_t)version; + +@end diff --git a/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabaseAdditions.m b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabaseAdditions.m new file mode 100644 index 000000000..61fa747e4 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabaseAdditions.m @@ -0,0 +1,246 @@ +// +// FMDatabaseAdditions.m +// fmdb +// +// Created by August Mueller on 10/30/05. +// Copyright 2005 Flying Meat Inc.. All rights reserved. +// + +#import "FMDatabase.h" +#import "FMDatabaseAdditions.h" +#import "TargetConditionals.h" + +#if FMDB_SQLITE_STANDALONE +#import +#else +#import +#endif + +@interface FMDatabase (PrivateStuff) +- (FMResultSet *)executeQuery:(NSString *)sql withArgumentsInArray:(NSArray*)arrayArgs orDictionary:(NSDictionary *)dictionaryArgs orVAList:(va_list)args; +@end + +@implementation FMDatabase (FMDatabaseAdditions) + +#define RETURN_RESULT_FOR_QUERY_WITH_SELECTOR(type, sel) \ +va_list args; \ +va_start(args, query); \ +FMResultSet *resultSet = [self executeQuery:query withArgumentsInArray:0x00 orDictionary:0x00 orVAList:args]; \ +va_end(args); \ +if (![resultSet next]) { return (type)0; } \ +type ret = [resultSet sel:0]; \ +[resultSet close]; \ +[resultSet setParentDB:nil]; \ +return ret; + + +- (NSString*)stringForQuery:(NSString*)query, ... { + RETURN_RESULT_FOR_QUERY_WITH_SELECTOR(NSString *, stringForColumnIndex); +} + +- (int)intForQuery:(NSString*)query, ... { + RETURN_RESULT_FOR_QUERY_WITH_SELECTOR(int, intForColumnIndex); +} + +- (long)longForQuery:(NSString*)query, ... { + RETURN_RESULT_FOR_QUERY_WITH_SELECTOR(long, longForColumnIndex); +} + +- (BOOL)boolForQuery:(NSString*)query, ... { + RETURN_RESULT_FOR_QUERY_WITH_SELECTOR(BOOL, boolForColumnIndex); +} + +- (double)doubleForQuery:(NSString*)query, ... { + RETURN_RESULT_FOR_QUERY_WITH_SELECTOR(double, doubleForColumnIndex); +} + +- (NSData*)dataForQuery:(NSString*)query, ... { + RETURN_RESULT_FOR_QUERY_WITH_SELECTOR(NSData *, dataForColumnIndex); +} + +- (NSDate*)dateForQuery:(NSString*)query, ... { + RETURN_RESULT_FOR_QUERY_WITH_SELECTOR(NSDate *, dateForColumnIndex); +} + + +- (BOOL)tableExists:(NSString*)tableName { + + tableName = [tableName lowercaseString]; + + FMResultSet *rs = [self executeQuery:@"select [sql] from sqlite_master where [type] = 'table' and lower(name) = ?", tableName]; + + //if at least one next exists, table exists + BOOL returnBool = [rs next]; + + //close and free object + [rs close]; + + return returnBool; +} + +/* + get table with list of tables: result colums: type[STRING], name[STRING],tbl_name[STRING],rootpage[INTEGER],sql[STRING] + check if table exist in database (patch from OZLB) +*/ +- (FMResultSet*)getSchema { + + //result colums: type[STRING], name[STRING],tbl_name[STRING],rootpage[INTEGER],sql[STRING] + FMResultSet *rs = [self executeQuery:@"SELECT type, name, tbl_name, rootpage, sql FROM (SELECT * FROM sqlite_master UNION ALL SELECT * FROM sqlite_temp_master) WHERE type != 'meta' AND name NOT LIKE 'sqlite_%' ORDER BY tbl_name, type DESC, name"]; + + return rs; +} + +/* + get table schema: result colums: cid[INTEGER], name,type [STRING], notnull[INTEGER], dflt_value[],pk[INTEGER] +*/ +- (FMResultSet*)getTableSchema:(NSString*)tableName { + + //result colums: cid[INTEGER], name,type [STRING], notnull[INTEGER], dflt_value[],pk[INTEGER] + FMResultSet *rs = [self executeQuery:[NSString stringWithFormat: @"pragma table_info('%@')", tableName]]; + + return rs; +} + +- (BOOL)columnExists:(NSString*)columnName inTableWithName:(NSString*)tableName { + + BOOL returnBool = NO; + + tableName = [tableName lowercaseString]; + columnName = [columnName lowercaseString]; + + FMResultSet *rs = [self getTableSchema:tableName]; + + //check if column is present in table schema + while ([rs next]) { + if ([[[rs stringForColumn:@"name"] lowercaseString] isEqualToString:columnName]) { + returnBool = YES; + break; + } + } + + //If this is not done FMDatabase instance stays out of pool + [rs close]; + + return returnBool; +} + + + +- (uint32_t)applicationID { +#if SQLITE_VERSION_NUMBER >= 3007017 + uint32_t r = 0; + + FMResultSet *rs = [self executeQuery:@"pragma application_id"]; + + if ([rs next]) { + r = (uint32_t)[rs longLongIntForColumnIndex:0]; + } + + [rs close]; + + return r; +#else + NSString *errorMessage = NSLocalizedString(@"Application ID functions require SQLite 3.7.17", nil); + if (self.logsErrors) NSLog(@"%@", errorMessage); + return 0; +#endif +} + +- (void)setApplicationID:(uint32_t)appID { +#if SQLITE_VERSION_NUMBER >= 3007017 + NSString *query = [NSString stringWithFormat:@"pragma application_id=%d", appID]; + FMResultSet *rs = [self executeQuery:query]; + [rs next]; + [rs close]; +#else + NSString *errorMessage = NSLocalizedString(@"Application ID functions require SQLite 3.7.17", nil); + if (self.logsErrors) NSLog(@"%@", errorMessage); +#endif +} + + +#if TARGET_OS_MAC && !TARGET_OS_IPHONE + +- (NSString*)applicationIDString { +#if SQLITE_VERSION_NUMBER >= 3007017 + NSString *s = NSFileTypeForHFSTypeCode([self applicationID]); + + assert([s length] == 6); + + s = [s substringWithRange:NSMakeRange(1, 4)]; + + + return s; +#else + NSString *errorMessage = NSLocalizedString(@"Application ID functions require SQLite 3.7.17", nil); + if (self.logsErrors) NSLog(@"%@", errorMessage); + return nil; +#endif +} + +- (void)setApplicationIDString:(NSString*)s { +#if SQLITE_VERSION_NUMBER >= 3007017 + if ([s length] != 4) { + NSLog(@"setApplicationIDString: string passed is not exactly 4 chars long. (was %ld)", [s length]); + } + + [self setApplicationID:NSHFSTypeCodeFromFileType([NSString stringWithFormat:@"'%@'", s])]; +#else + NSString *errorMessage = NSLocalizedString(@"Application ID functions require SQLite 3.7.17", nil); + if (self.logsErrors) NSLog(@"%@", errorMessage); +#endif +} + +#endif + +- (uint32_t)userVersion { + uint32_t r = 0; + + FMResultSet *rs = [self executeQuery:@"pragma user_version"]; + + if ([rs next]) { + r = (uint32_t)[rs longLongIntForColumnIndex:0]; + } + + [rs close]; + return r; +} + +- (void)setUserVersion:(uint32_t)version { + NSString *query = [NSString stringWithFormat:@"pragma user_version = %d", version]; + FMResultSet *rs = [self executeQuery:query]; + [rs next]; + [rs close]; +} + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-implementations" + +- (BOOL)columnExists:(NSString*)tableName columnName:(NSString*)columnName __attribute__ ((deprecated)) { + return [self columnExists:columnName inTableWithName:tableName]; +} + +#pragma clang diagnostic pop + + +- (BOOL)validateSQL:(NSString*)sql error:(NSError**)error { + sqlite3_stmt *pStmt = NULL; + BOOL validationSucceeded = YES; + + int rc = sqlite3_prepare_v2(_db, [sql UTF8String], -1, &pStmt, 0); + if (rc != SQLITE_OK) { + validationSucceeded = NO; + if (error) { + *error = [NSError errorWithDomain:NSCocoaErrorDomain + code:[self lastErrorCode] + userInfo:[NSDictionary dictionaryWithObject:[self lastErrorMessage] + forKey:NSLocalizedDescriptionKey]]; + } + } + + sqlite3_finalize(pStmt); + + return validationSucceeded; +} + +@end diff --git a/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabasePool.h b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabasePool.h new file mode 100644 index 000000000..1915858f3 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabasePool.h @@ -0,0 +1,200 @@ +// +// FMDatabasePool.h +// fmdb +// +// Created by August Mueller on 6/22/11. +// Copyright 2011 Flying Meat Inc. All rights reserved. +// + +#import + +@class FMDatabase; + +/** Pool of `` objects. + + ### See also + + - `` + - `` + + @warning Before using `FMDatabasePool`, please consider using `` instead. + + If you really really really know what you're doing and `FMDatabasePool` is what + you really really need (ie, you're using a read only database), OK you can use + it. But just be careful not to deadlock! + + For an example on deadlocking, search for: + `ONLY_USE_THE_POOL_IF_YOU_ARE_DOING_READS_OTHERWISE_YOULL_DEADLOCK_USE_FMDATABASEQUEUE_INSTEAD` + in the main.m file. + */ + +@interface FMDatabasePool : NSObject { + NSString *_path; + + dispatch_queue_t _lockQueue; + + NSMutableArray *_databaseInPool; + NSMutableArray *_databaseOutPool; + + __unsafe_unretained id _delegate; + + NSUInteger _maximumNumberOfDatabasesToCreate; + int _openFlags; +} + +/** Database path */ + +@property (atomic, retain) NSString *path; + +/** Delegate object */ + +@property (atomic, assign) id delegate; + +/** Maximum number of databases to create */ + +@property (atomic, assign) NSUInteger maximumNumberOfDatabasesToCreate; + +/** Open flags */ + +@property (atomic, readonly) int openFlags; + + +///--------------------- +/// @name Initialization +///--------------------- + +/** Create pool using path. + + @param aPath The file path of the database. + + @return The `FMDatabasePool` object. `nil` on error. + */ + ++ (instancetype)databasePoolWithPath:(NSString*)aPath; + +/** Create pool using path and specified flags + + @param aPath The file path of the database. + @param openFlags Flags passed to the openWithFlags method of the database + + @return The `FMDatabasePool` object. `nil` on error. + */ + ++ (instancetype)databasePoolWithPath:(NSString*)aPath flags:(int)openFlags; + +/** Create pool using path. + + @param aPath The file path of the database. + + @return The `FMDatabasePool` object. `nil` on error. + */ + +- (instancetype)initWithPath:(NSString*)aPath; + +/** Create pool using path and specified flags. + + @param aPath The file path of the database. + @param openFlags Flags passed to the openWithFlags method of the database + + @return The `FMDatabasePool` object. `nil` on error. + */ + +- (instancetype)initWithPath:(NSString*)aPath flags:(int)openFlags; + +///------------------------------------------------ +/// @name Keeping track of checked in/out databases +///------------------------------------------------ + +/** Number of checked-in databases in pool + + @returns Number of databases + */ + +- (NSUInteger)countOfCheckedInDatabases; + +/** Number of checked-out databases in pool + + @returns Number of databases + */ + +- (NSUInteger)countOfCheckedOutDatabases; + +/** Total number of databases in pool + + @returns Number of databases + */ + +- (NSUInteger)countOfOpenDatabases; + +/** Release all databases in pool */ + +- (void)releaseAllDatabases; + +///------------------------------------------ +/// @name Perform database operations in pool +///------------------------------------------ + +/** Synchronously perform database operations in pool. + + @param block The code to be run on the `FMDatabasePool` pool. + */ + +- (void)inDatabase:(void (^)(FMDatabase *db))block; + +/** Synchronously perform database operations in pool using transaction. + + @param block The code to be run on the `FMDatabasePool` pool. + */ + +- (void)inTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block; + +/** Synchronously perform database operations in pool using deferred transaction. + + @param block The code to be run on the `FMDatabasePool` pool. + */ + +- (void)inDeferredTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block; + +/** Synchronously perform database operations in pool using save point. + + @param block The code to be run on the `FMDatabasePool` pool. + + @return `NSError` object if error; `nil` if successful. + + @warning You can not nest these, since calling it will pull another database out of the pool and you'll get a deadlock. If you need to nest, use `<[FMDatabase startSavePointWithName:error:]>` instead. +*/ + +- (NSError*)inSavePoint:(void (^)(FMDatabase *db, BOOL *rollback))block; + +@end + + +/** FMDatabasePool delegate category + + This is a category that defines the protocol for the FMDatabasePool delegate + */ + +@interface NSObject (FMDatabasePoolDelegate) + +/** Asks the delegate whether database should be added to the pool. + + @param pool The `FMDatabasePool` object. + @param database The `FMDatabase` object. + + @return `YES` if it should add database to pool; `NO` if not. + + */ + +- (BOOL)databasePool:(FMDatabasePool*)pool shouldAddDatabaseToPool:(FMDatabase*)database; + +/** Tells the delegate that database was added to the pool. + + @param pool The `FMDatabasePool` object. + @param database The `FMDatabase` object. + + */ + +- (void)databasePool:(FMDatabasePool*)pool didAddDatabase:(FMDatabase*)database; + +@end + diff --git a/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabasePool.m b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabasePool.m new file mode 100644 index 000000000..e8e52cb5a --- /dev/null +++ b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabasePool.m @@ -0,0 +1,283 @@ +// +// FMDatabasePool.m +// fmdb +// +// Created by August Mueller on 6/22/11. +// Copyright 2011 Flying Meat Inc. All rights reserved. +// + +#if FMDB_SQLITE_STANDALONE +#import +#else +#import +#endif + +#import "FMDatabasePool.h" +#import "FMDatabase.h" + +@interface FMDatabasePool() + +- (void)pushDatabaseBackInPool:(FMDatabase*)db; +- (FMDatabase*)db; + +@end + + +@implementation FMDatabasePool +@synthesize path=_path; +@synthesize delegate=_delegate; +@synthesize maximumNumberOfDatabasesToCreate=_maximumNumberOfDatabasesToCreate; +@synthesize openFlags=_openFlags; + + ++ (instancetype)databasePoolWithPath:(NSString*)aPath { + return FMDBReturnAutoreleased([[self alloc] initWithPath:aPath]); +} + ++ (instancetype)databasePoolWithPath:(NSString*)aPath flags:(int)openFlags { + return FMDBReturnAutoreleased([[self alloc] initWithPath:aPath flags:openFlags]); +} + +- (instancetype)initWithPath:(NSString*)aPath flags:(int)openFlags { + + self = [super init]; + + if (self != nil) { + _path = [aPath copy]; + _lockQueue = dispatch_queue_create([[NSString stringWithFormat:@"fmdb.%@", self] UTF8String], NULL); + _databaseInPool = FMDBReturnRetained([NSMutableArray array]); + _databaseOutPool = FMDBReturnRetained([NSMutableArray array]); + _openFlags = openFlags; + } + + return self; +} + +- (instancetype)initWithPath:(NSString*)aPath +{ + // default flags for sqlite3_open + return [self initWithPath:aPath flags:SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE]; +} + +- (instancetype)init { + return [self initWithPath:nil]; +} + + +- (void)dealloc { + + _delegate = 0x00; + FMDBRelease(_path); + FMDBRelease(_databaseInPool); + FMDBRelease(_databaseOutPool); + + if (_lockQueue) { + FMDBDispatchQueueRelease(_lockQueue); + _lockQueue = 0x00; + } +#if ! __has_feature(objc_arc) + [super dealloc]; +#endif +} + + +- (void)executeLocked:(void (^)(void))aBlock { + dispatch_sync(_lockQueue, aBlock); +} + +- (void)pushDatabaseBackInPool:(FMDatabase*)db { + + if (!db) { // db can be null if we set an upper bound on the # of databases to create. + return; + } + + [self executeLocked:^() { + + if ([self->_databaseInPool containsObject:db]) { + [[NSException exceptionWithName:@"Database already in pool" reason:@"The FMDatabase being put back into the pool is already present in the pool" userInfo:nil] raise]; + } + + [self->_databaseInPool addObject:db]; + [self->_databaseOutPool removeObject:db]; + + }]; +} + +- (FMDatabase*)db { + + __block FMDatabase *db; + + + [self executeLocked:^() { + db = [self->_databaseInPool lastObject]; + + BOOL shouldNotifyDelegate = NO; + + if (db) { + [self->_databaseOutPool addObject:db]; + [self->_databaseInPool removeLastObject]; + } + else { + + if (self->_maximumNumberOfDatabasesToCreate) { + NSUInteger currentCount = [self->_databaseOutPool count] + [self->_databaseInPool count]; + + if (currentCount >= self->_maximumNumberOfDatabasesToCreate) { + NSLog(@"Maximum number of databases (%ld) has already been reached!", (long)currentCount); + return; + } + } + + db = [FMDatabase databaseWithPath:self->_path]; + shouldNotifyDelegate = YES; + } + + //This ensures that the db is opened before returning +#if SQLITE_VERSION_NUMBER >= 3005000 + BOOL success = [db openWithFlags:self->_openFlags]; +#else + BOOL success = [db open]; +#endif + if (success) { + if ([self->_delegate respondsToSelector:@selector(databasePool:shouldAddDatabaseToPool:)] && ![self->_delegate databasePool:self shouldAddDatabaseToPool:db]) { + [db close]; + db = 0x00; + } + else { + //It should not get added in the pool twice if lastObject was found + if (![self->_databaseOutPool containsObject:db]) { + [self->_databaseOutPool addObject:db]; + + if (shouldNotifyDelegate && [self->_delegate respondsToSelector:@selector(databasePool:didAddDatabase:)]) { + [self->_delegate databasePool:self didAddDatabase:db]; + } + } + } + } + else { + NSLog(@"Could not open up the database at path %@", self->_path); + db = 0x00; + } + }]; + + return db; +} + +- (NSUInteger)countOfCheckedInDatabases { + + __block NSUInteger count; + + [self executeLocked:^() { + count = [self->_databaseInPool count]; + }]; + + return count; +} + +- (NSUInteger)countOfCheckedOutDatabases { + + __block NSUInteger count; + + [self executeLocked:^() { + count = [self->_databaseOutPool count]; + }]; + + return count; +} + +- (NSUInteger)countOfOpenDatabases { + __block NSUInteger count; + + [self executeLocked:^() { + count = [self->_databaseOutPool count] + [self->_databaseInPool count]; + }]; + + return count; +} + +- (void)releaseAllDatabases { + [self executeLocked:^() { + [self->_databaseOutPool removeAllObjects]; + [self->_databaseInPool removeAllObjects]; + }]; +} + +- (void)inDatabase:(void (^)(FMDatabase *db))block { + + FMDatabase *db = [self db]; + + block(db); + + [self pushDatabaseBackInPool:db]; +} + +- (void)beginTransaction:(BOOL)useDeferred withBlock:(void (^)(FMDatabase *db, BOOL *rollback))block { + + BOOL shouldRollback = NO; + + FMDatabase *db = [self db]; + + if (useDeferred) { + [db beginDeferredTransaction]; + } + else { + [db beginTransaction]; + } + + + block(db, &shouldRollback); + + if (shouldRollback) { + [db rollback]; + } + else { + [db commit]; + } + + [self pushDatabaseBackInPool:db]; +} + +- (void)inDeferredTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block { + [self beginTransaction:YES withBlock:block]; +} + +- (void)inTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block { + [self beginTransaction:NO withBlock:block]; +} + +- (NSError*)inSavePoint:(void (^)(FMDatabase *db, BOOL *rollback))block { +#if SQLITE_VERSION_NUMBER >= 3007000 + static unsigned long savePointIdx = 0; + + NSString *name = [NSString stringWithFormat:@"savePoint%ld", savePointIdx++]; + + BOOL shouldRollback = NO; + + FMDatabase *db = [self db]; + + NSError *err = 0x00; + + if (![db startSavePointWithName:name error:&err]) { + [self pushDatabaseBackInPool:db]; + return err; + } + + block(db, &shouldRollback); + + if (shouldRollback) { + // We need to rollback and release this savepoint to remove it + [db rollbackToSavePointWithName:name error:&err]; + } + [db releaseSavePointWithName:name error:&err]; + + [self pushDatabaseBackInPool:db]; + + return err; +#else + NSString *errorMessage = NSLocalizedString(@"Save point functions require SQLite 3.7", nil); + if (self.logsErrors) NSLog(@"%@", errorMessage); + return [NSError errorWithDomain:@"FMDatabase" code:0 userInfo:@{NSLocalizedDescriptionKey : errorMessage}]; +#endif +} + +@end diff --git a/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabaseQueue.h b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabaseQueue.h new file mode 100644 index 000000000..ae45b6588 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabaseQueue.h @@ -0,0 +1,182 @@ +// +// FMDatabaseQueue.h +// fmdb +// +// Created by August Mueller on 6/22/11. +// Copyright 2011 Flying Meat Inc. All rights reserved. +// + +#import + +@class FMDatabase; + +/** To perform queries and updates on multiple threads, you'll want to use `FMDatabaseQueue`. + + Using a single instance of `` from multiple threads at once is a bad idea. It has always been OK to make a `` object *per thread*. Just don't share a single instance across threads, and definitely not across multiple threads at the same time. + + Instead, use `FMDatabaseQueue`. Here's how to use it: + + First, make your queue. + + FMDatabaseQueue *queue = [FMDatabaseQueue databaseQueueWithPath:aPath]; + + Then use it like so: + + [queue inDatabase:^(FMDatabase *db) { + [db executeUpdate:@"INSERT INTO myTable VALUES (?)", [NSNumber numberWithInt:1]]; + [db executeUpdate:@"INSERT INTO myTable VALUES (?)", [NSNumber numberWithInt:2]]; + [db executeUpdate:@"INSERT INTO myTable VALUES (?)", [NSNumber numberWithInt:3]]; + + FMResultSet *rs = [db executeQuery:@"select * from foo"]; + while ([rs next]) { + //… + } + }]; + + An easy way to wrap things up in a transaction can be done like this: + + [queue inTransaction:^(FMDatabase *db, BOOL *rollback) { + [db executeUpdate:@"INSERT INTO myTable VALUES (?)", [NSNumber numberWithInt:1]]; + [db executeUpdate:@"INSERT INTO myTable VALUES (?)", [NSNumber numberWithInt:2]]; + [db executeUpdate:@"INSERT INTO myTable VALUES (?)", [NSNumber numberWithInt:3]]; + + if (whoopsSomethingWrongHappened) { + *rollback = YES; + return; + } + // etc… + [db executeUpdate:@"INSERT INTO myTable VALUES (?)", [NSNumber numberWithInt:4]]; + }]; + + `FMDatabaseQueue` will run the blocks on a serialized queue (hence the name of the class). So if you call `FMDatabaseQueue`'s methods from multiple threads at the same time, they will be executed in the order they are received. This way queries and updates won't step on each other's toes, and every one is happy. + + ### See also + + - `` + + @warning Do not instantiate a single `` object and use it across multiple threads. Use `FMDatabaseQueue` instead. + + @warning The calls to `FMDatabaseQueue`'s methods are blocking. So even though you are passing along blocks, they will **not** be run on another thread. + + */ + +@interface FMDatabaseQueue : NSObject { + NSString *_path; + dispatch_queue_t _queue; + FMDatabase *_db; + int _openFlags; +} + +/** Path of database */ + +@property (atomic, retain) NSString *path; + +/** Open flags */ + +@property (atomic, readonly) int openFlags; + +///---------------------------------------------------- +/// @name Initialization, opening, and closing of queue +///---------------------------------------------------- + +/** Create queue using path. + + @param aPath The file path of the database. + + @return The `FMDatabaseQueue` object. `nil` on error. + */ + ++ (instancetype)databaseQueueWithPath:(NSString*)aPath; + +/** Create queue using path and specified flags. + + @param aPath The file path of the database. + @param openFlags Flags passed to the openWithFlags method of the database + + @return The `FMDatabaseQueue` object. `nil` on error. + */ ++ (instancetype)databaseQueueWithPath:(NSString*)aPath flags:(int)openFlags; + +/** Create queue using path. + + @param aPath The file path of the database. + + @return The `FMDatabaseQueue` object. `nil` on error. + */ + +- (instancetype)initWithPath:(NSString*)aPath; + +/** Create queue using path and specified flags. + + @param aPath The file path of the database. + @param openFlags Flags passed to the openWithFlags method of the database + + @return The `FMDatabaseQueue` object. `nil` on error. + */ + +- (instancetype)initWithPath:(NSString*)aPath flags:(int)openFlags; + +/** Create queue using path and specified flags. + + @param aPath The file path of the database. + @param openFlags Flags passed to the openWithFlags method of the database + @param vfsName The name of a custom virtual file system + + @return The `FMDatabaseQueue` object. `nil` on error. + */ + +- (instancetype)initWithPath:(NSString*)aPath flags:(int)openFlags vfs:(NSString *)vfsName; + +/** Returns the Class of 'FMDatabase' subclass, that will be used to instantiate database object. + + Subclasses can override this method to return specified Class of 'FMDatabase' subclass. + + @return The Class of 'FMDatabase' subclass, that will be used to instantiate database object. + */ + ++ (Class)databaseClass; + +/** Close database used by queue. */ + +- (void)close; + +///----------------------------------------------- +/// @name Dispatching database operations to queue +///----------------------------------------------- + +/** Synchronously perform database operations on queue. + + @param block The code to be run on the queue of `FMDatabaseQueue` + */ + +- (void)inDatabase:(void (^)(FMDatabase *db))block; + +/** Synchronously perform database operations on queue, using transactions. + + @param block The code to be run on the queue of `FMDatabaseQueue` + */ + +- (void)inTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block; + +/** Synchronously perform database operations on queue, using deferred transactions. + + @param block The code to be run on the queue of `FMDatabaseQueue` + */ + +- (void)inDeferredTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block; + +///----------------------------------------------- +/// @name Dispatching database operations to queue +///----------------------------------------------- + +/** Synchronously perform database operations using save point. + + @param block The code to be run on the queue of `FMDatabaseQueue` + */ + +// NOTE: you can not nest these, since calling it will pull another database out of the pool and you'll get a deadlock. +// If you need to nest, use FMDatabase's startSavePointWithName:error: instead. +- (NSError*)inSavePoint:(void (^)(FMDatabase *db, BOOL *rollback))block; + +@end + diff --git a/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabaseQueue.m b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabaseQueue.m new file mode 100644 index 000000000..c877a341d --- /dev/null +++ b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMDatabaseQueue.m @@ -0,0 +1,245 @@ +// +// FMDatabaseQueue.m +// fmdb +// +// Created by August Mueller on 6/22/11. +// Copyright 2011 Flying Meat Inc. All rights reserved. +// + +#import "FMDatabaseQueue.h" +#import "FMDatabase.h" + +#if FMDB_SQLITE_STANDALONE +#import +#else +#import +#endif + +/* + + Note: we call [self retain]; before using dispatch_sync, just incase + FMDatabaseQueue is released on another thread and we're in the middle of doing + something in dispatch_sync + + */ + +/* + * A key used to associate the FMDatabaseQueue object with the dispatch_queue_t it uses. + * This in turn is used for deadlock detection by seeing if inDatabase: is called on + * the queue's dispatch queue, which should not happen and causes a deadlock. + */ +static const void * const kDispatchQueueSpecificKey = &kDispatchQueueSpecificKey; + +@implementation FMDatabaseQueue + +@synthesize path = _path; +@synthesize openFlags = _openFlags; + ++ (instancetype)databaseQueueWithPath:(NSString*)aPath { + + FMDatabaseQueue *q = [[self alloc] initWithPath:aPath]; + + FMDBAutorelease(q); + + return q; +} + ++ (instancetype)databaseQueueWithPath:(NSString*)aPath flags:(int)openFlags { + + FMDatabaseQueue *q = [[self alloc] initWithPath:aPath flags:openFlags]; + + FMDBAutorelease(q); + + return q; +} + ++ (Class)databaseClass { + return [FMDatabase class]; +} + +- (instancetype)initWithPath:(NSString*)aPath flags:(int)openFlags vfs:(NSString *)vfsName { + + self = [super init]; + + if (self != nil) { + + _db = [[[self class] databaseClass] databaseWithPath:aPath]; + FMDBRetain(_db); + +#if SQLITE_VERSION_NUMBER >= 3005000 + BOOL success = [_db openWithFlags:openFlags vfs:vfsName]; +#else + BOOL success = [_db open]; +#endif + if (!success) { + NSLog(@"Could not create database queue for path %@", aPath); + FMDBRelease(self); + return 0x00; + } + + _path = FMDBReturnRetained(aPath); + + _queue = dispatch_queue_create([[NSString stringWithFormat:@"fmdb.%@", self] UTF8String], NULL); + dispatch_queue_set_specific(_queue, kDispatchQueueSpecificKey, (__bridge void *)self, NULL); + _openFlags = openFlags; + } + + return self; +} + +- (instancetype)initWithPath:(NSString*)aPath flags:(int)openFlags { + return [self initWithPath:aPath flags:openFlags vfs:nil]; +} + +- (instancetype)initWithPath:(NSString*)aPath { + + // default flags for sqlite3_open + return [self initWithPath:aPath flags:SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE vfs:nil]; +} + +- (instancetype)init { + return [self initWithPath:nil]; +} + + +- (void)dealloc { + + FMDBRelease(_db); + FMDBRelease(_path); + + if (_queue) { + FMDBDispatchQueueRelease(_queue); + _queue = 0x00; + } +#if ! __has_feature(objc_arc) + [super dealloc]; +#endif +} + +- (void)close { + FMDBRetain(self); + dispatch_sync(_queue, ^() { + [self->_db close]; + FMDBRelease(_db); + self->_db = 0x00; + }); + FMDBRelease(self); +} + +- (FMDatabase*)database { + if (!_db) { + _db = FMDBReturnRetained([FMDatabase databaseWithPath:_path]); + +#if SQLITE_VERSION_NUMBER >= 3005000 + BOOL success = [_db openWithFlags:_openFlags]; +#else + BOOL success = [_db open]; +#endif + if (!success) { + NSLog(@"FMDatabaseQueue could not reopen database for path %@", _path); + FMDBRelease(_db); + _db = 0x00; + return 0x00; + } + } + + return _db; +} + +- (void)inDatabase:(void (^)(FMDatabase *db))block { + /* Get the currently executing queue (which should probably be nil, but in theory could be another DB queue + * and then check it against self to make sure we're not about to deadlock. */ + FMDatabaseQueue *currentSyncQueue = (__bridge id)dispatch_get_specific(kDispatchQueueSpecificKey); + assert(currentSyncQueue != self && "inDatabase: was called reentrantly on the same queue, which would lead to a deadlock"); + + FMDBRetain(self); + + dispatch_sync(_queue, ^() { + + FMDatabase *db = [self database]; + block(db); + + if ([db hasOpenResultSets]) { + NSLog(@"Warning: there is at least one open result set around after performing [FMDatabaseQueue inDatabase:]"); + +#if defined(DEBUG) && DEBUG + NSSet *openSetCopy = FMDBReturnAutoreleased([[db valueForKey:@"_openResultSets"] copy]); + for (NSValue *rsInWrappedInATastyValueMeal in openSetCopy) { + FMResultSet *rs = (FMResultSet *)[rsInWrappedInATastyValueMeal pointerValue]; + NSLog(@"query: '%@'", [rs query]); + } +#endif + } + }); + + FMDBRelease(self); +} + + +- (void)beginTransaction:(BOOL)useDeferred withBlock:(void (^)(FMDatabase *db, BOOL *rollback))block { + FMDBRetain(self); + dispatch_sync(_queue, ^() { + + BOOL shouldRollback = NO; + + if (useDeferred) { + [[self database] beginDeferredTransaction]; + } + else { + [[self database] beginTransaction]; + } + + block([self database], &shouldRollback); + + if (shouldRollback) { + [[self database] rollback]; + } + else { + [[self database] commit]; + } + }); + + FMDBRelease(self); +} + +- (void)inDeferredTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block { + [self beginTransaction:YES withBlock:block]; +} + +- (void)inTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block { + [self beginTransaction:NO withBlock:block]; +} + +- (NSError*)inSavePoint:(void (^)(FMDatabase *db, BOOL *rollback))block { +#if SQLITE_VERSION_NUMBER >= 3007000 + static unsigned long savePointIdx = 0; + __block NSError *err = 0x00; + FMDBRetain(self); + dispatch_sync(_queue, ^() { + + NSString *name = [NSString stringWithFormat:@"savePoint%ld", savePointIdx++]; + + BOOL shouldRollback = NO; + + if ([[self database] startSavePointWithName:name error:&err]) { + + block([self database], &shouldRollback); + + if (shouldRollback) { + // We need to rollback and release this savepoint to remove it + [[self database] rollbackToSavePointWithName:name error:&err]; + } + [[self database] releaseSavePointWithName:name error:&err]; + + } + }); + FMDBRelease(self); + return err; +#else + NSString *errorMessage = NSLocalizedString(@"Save point functions require SQLite 3.7", nil); + if (self.logsErrors) NSLog(@"%@", errorMessage); + return [NSError errorWithDomain:@"FMDatabase" code:0 userInfo:@{NSLocalizedDescriptionKey : errorMessage}]; +#endif +} + +@end diff --git a/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMResultSet.h b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMResultSet.h new file mode 100644 index 000000000..af0433b4b --- /dev/null +++ b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMResultSet.h @@ -0,0 +1,468 @@ +#import + +#ifndef __has_feature // Optional. +#define __has_feature(x) 0 // Compatibility with non-clang compilers. +#endif + +#ifndef NS_RETURNS_NOT_RETAINED +#if __has_feature(attribute_ns_returns_not_retained) +#define NS_RETURNS_NOT_RETAINED __attribute__((ns_returns_not_retained)) +#else +#define NS_RETURNS_NOT_RETAINED +#endif +#endif + +@class FMDatabase; +@class FMStatement; + +/** Represents the results of executing a query on an ``. + + ### See also + + - `` + */ + +@interface FMResultSet : NSObject { + FMDatabase *_parentDB; + FMStatement *_statement; + + NSString *_query; + NSMutableDictionary *_columnNameToIndexMap; +} + +///----------------- +/// @name Properties +///----------------- + +/** Executed query */ + +@property (atomic, retain) NSString *query; + +/** `NSMutableDictionary` mapping column names to numeric index */ + +@property (readonly) NSMutableDictionary *columnNameToIndexMap; + +/** `FMStatement` used by result set. */ + +@property (atomic, retain) FMStatement *statement; + +///------------------------------------ +/// @name Creating and closing database +///------------------------------------ + +/** Create result set from `` + + @param statement A `` to be performed + + @param aDB A `` to be used + + @return A `FMResultSet` on success; `nil` on failure + */ + ++ (instancetype)resultSetWithStatement:(FMStatement *)statement usingParentDatabase:(FMDatabase*)aDB; + +/** Close result set */ + +- (void)close; + +- (void)setParentDB:(FMDatabase *)newDb; + +///--------------------------------------- +/// @name Iterating through the result set +///--------------------------------------- + +/** Retrieve next row for result set. + + You must always invoke `next` or `nextWithError` before attempting to access the values returned in a query, even if you're only expecting one. + + @return `YES` if row successfully retrieved; `NO` if end of result set reached + + @see hasAnotherRow + */ + +- (BOOL)next; + +/** Retrieve next row for result set. + + You must always invoke `next` or `nextWithError` before attempting to access the values returned in a query, even if you're only expecting one. + + @param outErr A 'NSError' object to receive any error object (if any). + + @return 'YES' if row successfully retrieved; 'NO' if end of result set reached + + @see hasAnotherRow + */ + +- (BOOL)nextWithError:(NSError **)outErr; + +/** Did the last call to `` succeed in retrieving another row? + + @return `YES` if the last call to `` succeeded in retrieving another record; `NO` if not. + + @see next + + @warning The `hasAnotherRow` method must follow a call to ``. If the previous database interaction was something other than a call to `next`, then this method may return `NO`, whether there is another row of data or not. + */ + +- (BOOL)hasAnotherRow; + +///--------------------------------------------- +/// @name Retrieving information from result set +///--------------------------------------------- + +/** How many columns in result set + + @return Integer value of the number of columns. + */ + +- (int)columnCount; + +/** Column index for column name + + @param columnName `NSString` value of the name of the column. + + @return Zero-based index for column. + */ + +- (int)columnIndexForName:(NSString*)columnName; + +/** Column name for column index + + @param columnIdx Zero-based index for column. + + @return columnName `NSString` value of the name of the column. + */ + +- (NSString*)columnNameForIndex:(int)columnIdx; + +/** Result set integer value for column. + + @param columnName `NSString` value of the name of the column. + + @return `int` value of the result set's column. + */ + +- (int)intForColumn:(NSString*)columnName; + +/** Result set integer value for column. + + @param columnIdx Zero-based index for column. + + @return `int` value of the result set's column. + */ + +- (int)intForColumnIndex:(int)columnIdx; + +/** Result set `long` value for column. + + @param columnName `NSString` value of the name of the column. + + @return `long` value of the result set's column. + */ + +- (long)longForColumn:(NSString*)columnName; + +/** Result set long value for column. + + @param columnIdx Zero-based index for column. + + @return `long` value of the result set's column. + */ + +- (long)longForColumnIndex:(int)columnIdx; + +/** Result set `long long int` value for column. + + @param columnName `NSString` value of the name of the column. + + @return `long long int` value of the result set's column. + */ + +- (long long int)longLongIntForColumn:(NSString*)columnName; + +/** Result set `long long int` value for column. + + @param columnIdx Zero-based index for column. + + @return `long long int` value of the result set's column. + */ + +- (long long int)longLongIntForColumnIndex:(int)columnIdx; + +/** Result set `unsigned long long int` value for column. + + @param columnName `NSString` value of the name of the column. + + @return `unsigned long long int` value of the result set's column. + */ + +- (unsigned long long int)unsignedLongLongIntForColumn:(NSString*)columnName; + +/** Result set `unsigned long long int` value for column. + + @param columnIdx Zero-based index for column. + + @return `unsigned long long int` value of the result set's column. + */ + +- (unsigned long long int)unsignedLongLongIntForColumnIndex:(int)columnIdx; + +/** Result set `BOOL` value for column. + + @param columnName `NSString` value of the name of the column. + + @return `BOOL` value of the result set's column. + */ + +- (BOOL)boolForColumn:(NSString*)columnName; + +/** Result set `BOOL` value for column. + + @param columnIdx Zero-based index for column. + + @return `BOOL` value of the result set's column. + */ + +- (BOOL)boolForColumnIndex:(int)columnIdx; + +/** Result set `double` value for column. + + @param columnName `NSString` value of the name of the column. + + @return `double` value of the result set's column. + + */ + +- (double)doubleForColumn:(NSString*)columnName; + +/** Result set `double` value for column. + + @param columnIdx Zero-based index for column. + + @return `double` value of the result set's column. + + */ + +- (double)doubleForColumnIndex:(int)columnIdx; + +/** Result set `NSString` value for column. + + @param columnName `NSString` value of the name of the column. + + @return `NSString` value of the result set's column. + + */ + +- (NSString*)stringForColumn:(NSString*)columnName; + +/** Result set `NSString` value for column. + + @param columnIdx Zero-based index for column. + + @return `NSString` value of the result set's column. + */ + +- (NSString*)stringForColumnIndex:(int)columnIdx; + +/** Result set `NSDate` value for column. + + @param columnName `NSString` value of the name of the column. + + @return `NSDate` value of the result set's column. + */ + +- (NSDate*)dateForColumn:(NSString*)columnName; + +/** Result set `NSDate` value for column. + + @param columnIdx Zero-based index for column. + + @return `NSDate` value of the result set's column. + + */ + +- (NSDate*)dateForColumnIndex:(int)columnIdx; + +/** Result set `NSData` value for column. + + This is useful when storing binary data in table (such as image or the like). + + @param columnName `NSString` value of the name of the column. + + @return `NSData` value of the result set's column. + + */ + +- (NSData*)dataForColumn:(NSString*)columnName; + +/** Result set `NSData` value for column. + + @param columnIdx Zero-based index for column. + + @return `NSData` value of the result set's column. + */ + +- (NSData*)dataForColumnIndex:(int)columnIdx; + +/** Result set `(const unsigned char *)` value for column. + + @param columnName `NSString` value of the name of the column. + + @return `(const unsigned char *)` value of the result set's column. + */ + +- (const unsigned char *)UTF8StringForColumnName:(NSString*)columnName; + +/** Result set `(const unsigned char *)` value for column. + + @param columnIdx Zero-based index for column. + + @return `(const unsigned char *)` value of the result set's column. + */ + +- (const unsigned char *)UTF8StringForColumnIndex:(int)columnIdx; + +/** Result set object for column. + + @param columnName `NSString` value of the name of the column. + + @return Either `NSNumber`, `NSString`, `NSData`, or `NSNull`. If the column was `NULL`, this returns `[NSNull null]` object. + + @see objectForKeyedSubscript: + */ + +- (id)objectForColumnName:(NSString*)columnName; + +/** Result set object for column. + + @param columnIdx Zero-based index for column. + + @return Either `NSNumber`, `NSString`, `NSData`, or `NSNull`. If the column was `NULL`, this returns `[NSNull null]` object. + + @see objectAtIndexedSubscript: + */ + +- (id)objectForColumnIndex:(int)columnIdx; + +/** Result set object for column. + + This method allows the use of the "boxed" syntax supported in Modern Objective-C. For example, by defining this method, the following syntax is now supported: + + id result = rs[@"employee_name"]; + + This simplified syntax is equivalent to calling: + + id result = [rs objectForKeyedSubscript:@"employee_name"]; + + which is, it turns out, equivalent to calling: + + id result = [rs objectForColumnName:@"employee_name"]; + + @param columnName `NSString` value of the name of the column. + + @return Either `NSNumber`, `NSString`, `NSData`, or `NSNull`. If the column was `NULL`, this returns `[NSNull null]` object. + */ + +- (id)objectForKeyedSubscript:(NSString *)columnName; + +/** Result set object for column. + + This method allows the use of the "boxed" syntax supported in Modern Objective-C. For example, by defining this method, the following syntax is now supported: + + id result = rs[0]; + + This simplified syntax is equivalent to calling: + + id result = [rs objectForKeyedSubscript:0]; + + which is, it turns out, equivalent to calling: + + id result = [rs objectForColumnName:0]; + + @param columnIdx Zero-based index for column. + + @return Either `NSNumber`, `NSString`, `NSData`, or `NSNull`. If the column was `NULL`, this returns `[NSNull null]` object. + */ + +- (id)objectAtIndexedSubscript:(int)columnIdx; + +/** Result set `NSData` value for column. + + @param columnName `NSString` value of the name of the column. + + @return `NSData` value of the result set's column. + + @warning If you are going to use this data after you iterate over the next row, or after you close the +result set, make sure to make a copy of the data first (or just use ``/``) +If you don't, you're going to be in a world of hurt when you try and use the data. + + */ + +- (NSData*)dataNoCopyForColumn:(NSString*)columnName NS_RETURNS_NOT_RETAINED; + +/** Result set `NSData` value for column. + + @param columnIdx Zero-based index for column. + + @return `NSData` value of the result set's column. + + @warning If you are going to use this data after you iterate over the next row, or after you close the + result set, make sure to make a copy of the data first (or just use ``/``) + If you don't, you're going to be in a world of hurt when you try and use the data. + + */ + +- (NSData*)dataNoCopyForColumnIndex:(int)columnIdx NS_RETURNS_NOT_RETAINED; + +/** Is the column `NULL`? + + @param columnIdx Zero-based index for column. + + @return `YES` if column is `NULL`; `NO` if not `NULL`. + */ + +- (BOOL)columnIndexIsNull:(int)columnIdx; + +/** Is the column `NULL`? + + @param columnName `NSString` value of the name of the column. + + @return `YES` if column is `NULL`; `NO` if not `NULL`. + */ + +- (BOOL)columnIsNull:(NSString*)columnName; + + +/** Returns a dictionary of the row results mapped to case sensitive keys of the column names. + + @returns `NSDictionary` of the row results. + + @warning The keys to the dictionary are case sensitive of the column names. + */ + +- (NSDictionary*)resultDictionary; + +/** Returns a dictionary of the row results + + @see resultDictionary + + @warning **Deprecated**: Please use `` instead. Also, beware that `` is case sensitive! + */ + +- (NSDictionary*)resultDict __attribute__ ((deprecated)); + +///----------------------------- +/// @name Key value coding magic +///----------------------------- + +/** Performs `setValue` to yield support for key value observing. + + @param object The object for which the values will be set. This is the key-value-coding compliant object that you might, for example, observe. + + */ + +- (void)kvcMagic:(id)object; + + +@end + diff --git a/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMResultSet.m b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMResultSet.m new file mode 100644 index 000000000..cfc51e115 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/FMDB/src/fmdb/FMResultSet.m @@ -0,0 +1,422 @@ +#import "FMResultSet.h" +#import "FMDatabase.h" +#import "unistd.h" + +#if FMDB_SQLITE_STANDALONE +#import +#else +#import +#endif + +@interface FMDatabase () +- (void)resultSetDidClose:(FMResultSet *)resultSet; +@end + + +@implementation FMResultSet +@synthesize query=_query; +@synthesize statement=_statement; + ++ (instancetype)resultSetWithStatement:(FMStatement *)statement usingParentDatabase:(FMDatabase*)aDB { + + FMResultSet *rs = [[FMResultSet alloc] init]; + + [rs setStatement:statement]; + [rs setParentDB:aDB]; + + NSParameterAssert(![statement inUse]); + [statement setInUse:YES]; // weak reference + + return FMDBReturnAutoreleased(rs); +} + +- (void)finalize { + [self close]; + [super finalize]; +} + +- (void)dealloc { + [self close]; + + FMDBRelease(_query); + _query = nil; + + FMDBRelease(_columnNameToIndexMap); + _columnNameToIndexMap = nil; + +#if ! __has_feature(objc_arc) + [super dealloc]; +#endif +} + +- (void)close { + [_statement reset]; + FMDBRelease(_statement); + _statement = nil; + + // we don't need this anymore... (i think) + //[_parentDB setInUse:NO]; + [_parentDB resultSetDidClose:self]; + _parentDB = nil; +} + +- (int)columnCount { + return sqlite3_column_count([_statement statement]); +} + +- (NSMutableDictionary *)columnNameToIndexMap { + if (!_columnNameToIndexMap) { + int columnCount = sqlite3_column_count([_statement statement]); + _columnNameToIndexMap = [[NSMutableDictionary alloc] initWithCapacity:(NSUInteger)columnCount]; + int columnIdx = 0; + for (columnIdx = 0; columnIdx < columnCount; columnIdx++) { + [_columnNameToIndexMap setObject:[NSNumber numberWithInt:columnIdx] + forKey:[[NSString stringWithUTF8String:sqlite3_column_name([_statement statement], columnIdx)] lowercaseString]]; + } + } + return _columnNameToIndexMap; +} + +- (void)kvcMagic:(id)object { + + int columnCount = sqlite3_column_count([_statement statement]); + + int columnIdx = 0; + for (columnIdx = 0; columnIdx < columnCount; columnIdx++) { + + const char *c = (const char *)sqlite3_column_text([_statement statement], columnIdx); + + // check for a null row + if (c) { + NSString *s = [NSString stringWithUTF8String:c]; + + [object setValue:s forKey:[NSString stringWithUTF8String:sqlite3_column_name([_statement statement], columnIdx)]]; + } + } +} + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-implementations" + +- (NSDictionary*)resultDict { + + NSUInteger num_cols = (NSUInteger)sqlite3_data_count([_statement statement]); + + if (num_cols > 0) { + NSMutableDictionary *dict = [NSMutableDictionary dictionaryWithCapacity:num_cols]; + + NSEnumerator *columnNames = [[self columnNameToIndexMap] keyEnumerator]; + NSString *columnName = nil; + while ((columnName = [columnNames nextObject])) { + id objectValue = [self objectForColumnName:columnName]; + [dict setObject:objectValue forKey:columnName]; + } + + return FMDBReturnAutoreleased([dict copy]); + } + else { + NSLog(@"Warning: There seem to be no columns in this set."); + } + + return nil; +} + +#pragma clang diagnostic pop + +- (NSDictionary*)resultDictionary { + + NSUInteger num_cols = (NSUInteger)sqlite3_data_count([_statement statement]); + + if (num_cols > 0) { + NSMutableDictionary *dict = [NSMutableDictionary dictionaryWithCapacity:num_cols]; + + int columnCount = sqlite3_column_count([_statement statement]); + + int columnIdx = 0; + for (columnIdx = 0; columnIdx < columnCount; columnIdx++) { + + NSString *columnName = [NSString stringWithUTF8String:sqlite3_column_name([_statement statement], columnIdx)]; + id objectValue = [self objectForColumnIndex:columnIdx]; + [dict setObject:objectValue forKey:columnName]; + } + + return dict; + } + else { + NSLog(@"Warning: There seem to be no columns in this set."); + } + + return nil; +} + + + + +- (BOOL)next { + return [self nextWithError:nil]; +} + +- (BOOL)nextWithError:(NSError **)outErr { + + int rc = sqlite3_step([_statement statement]); + + if (SQLITE_BUSY == rc || SQLITE_LOCKED == rc) { + NSLog(@"%s:%d Database busy (%@)", __FUNCTION__, __LINE__, [_parentDB databasePath]); + NSLog(@"Database busy"); + if (outErr) { + *outErr = [_parentDB lastError]; + } + } + else if (SQLITE_DONE == rc || SQLITE_ROW == rc) { + // all is well, let's return. + } + else if (SQLITE_ERROR == rc) { + NSLog(@"Error calling sqlite3_step (%d: %s) rs", rc, sqlite3_errmsg([_parentDB sqliteHandle])); + if (outErr) { + *outErr = [_parentDB lastError]; + } + } + else if (SQLITE_MISUSE == rc) { + // uh oh. + NSLog(@"Error calling sqlite3_step (%d: %s) rs", rc, sqlite3_errmsg([_parentDB sqliteHandle])); + if (outErr) { + if (_parentDB) { + *outErr = [_parentDB lastError]; + } + else { + // If 'next' or 'nextWithError' is called after the result set is closed, + // we need to return the appropriate error. + NSDictionary* errorMessage = [NSDictionary dictionaryWithObject:@"parentDB does not exist" forKey:NSLocalizedDescriptionKey]; + *outErr = [NSError errorWithDomain:@"FMDatabase" code:SQLITE_MISUSE userInfo:errorMessage]; + } + + } + } + else { + // wtf? + NSLog(@"Unknown error calling sqlite3_step (%d: %s) rs", rc, sqlite3_errmsg([_parentDB sqliteHandle])); + if (outErr) { + *outErr = [_parentDB lastError]; + } + } + + + if (rc != SQLITE_ROW) { + [self close]; + } + + return (rc == SQLITE_ROW); +} + +- (BOOL)hasAnotherRow { + return sqlite3_errcode([_parentDB sqliteHandle]) == SQLITE_ROW; +} + +- (int)columnIndexForName:(NSString*)columnName { + columnName = [columnName lowercaseString]; + + NSNumber *n = [[self columnNameToIndexMap] objectForKey:columnName]; + + if (n) { + return [n intValue]; + } + + NSLog(@"Warning: I could not find the column named '%@'.", columnName); + + return -1; +} + + + +- (int)intForColumn:(NSString*)columnName { + return [self intForColumnIndex:[self columnIndexForName:columnName]]; +} + +- (int)intForColumnIndex:(int)columnIdx { + return sqlite3_column_int([_statement statement], columnIdx); +} + +- (long)longForColumn:(NSString*)columnName { + return [self longForColumnIndex:[self columnIndexForName:columnName]]; +} + +- (long)longForColumnIndex:(int)columnIdx { + return (long)sqlite3_column_int64([_statement statement], columnIdx); +} + +- (long long int)longLongIntForColumn:(NSString*)columnName { + return [self longLongIntForColumnIndex:[self columnIndexForName:columnName]]; +} + +- (long long int)longLongIntForColumnIndex:(int)columnIdx { + return sqlite3_column_int64([_statement statement], columnIdx); +} + +- (unsigned long long int)unsignedLongLongIntForColumn:(NSString*)columnName { + return [self unsignedLongLongIntForColumnIndex:[self columnIndexForName:columnName]]; +} + +- (unsigned long long int)unsignedLongLongIntForColumnIndex:(int)columnIdx { + return (unsigned long long int)[self longLongIntForColumnIndex:columnIdx]; +} + +- (BOOL)boolForColumn:(NSString*)columnName { + return [self boolForColumnIndex:[self columnIndexForName:columnName]]; +} + +- (BOOL)boolForColumnIndex:(int)columnIdx { + return ([self intForColumnIndex:columnIdx] != 0); +} + +- (double)doubleForColumn:(NSString*)columnName { + return [self doubleForColumnIndex:[self columnIndexForName:columnName]]; +} + +- (double)doubleForColumnIndex:(int)columnIdx { + return sqlite3_column_double([_statement statement], columnIdx); +} + +- (NSString*)stringForColumnIndex:(int)columnIdx { + + if (sqlite3_column_type([_statement statement], columnIdx) == SQLITE_NULL || (columnIdx < 0)) { + return nil; + } + + const char *c = (const char *)sqlite3_column_text([_statement statement], columnIdx); + + if (!c) { + // null row. + return nil; + } + + return [NSString stringWithUTF8String:c]; +} + +- (NSString*)stringForColumn:(NSString*)columnName { + return [self stringForColumnIndex:[self columnIndexForName:columnName]]; +} + +- (NSDate*)dateForColumn:(NSString*)columnName { + return [self dateForColumnIndex:[self columnIndexForName:columnName]]; +} + +- (NSDate*)dateForColumnIndex:(int)columnIdx { + + if (sqlite3_column_type([_statement statement], columnIdx) == SQLITE_NULL || (columnIdx < 0)) { + return nil; + } + + return [_parentDB hasDateFormatter] ? [_parentDB dateFromString:[self stringForColumnIndex:columnIdx]] : [NSDate dateWithTimeIntervalSince1970:[self doubleForColumnIndex:columnIdx]]; +} + + +- (NSData*)dataForColumn:(NSString*)columnName { + return [self dataForColumnIndex:[self columnIndexForName:columnName]]; +} + +- (NSData*)dataForColumnIndex:(int)columnIdx { + + if (sqlite3_column_type([_statement statement], columnIdx) == SQLITE_NULL || (columnIdx < 0)) { + return nil; + } + + const char *dataBuffer = sqlite3_column_blob([_statement statement], columnIdx); + int dataSize = sqlite3_column_bytes([_statement statement], columnIdx); + + if (dataBuffer == NULL) { + return nil; + } + + return [NSData dataWithBytes:(const void *)dataBuffer length:(NSUInteger)dataSize]; +} + + +- (NSData*)dataNoCopyForColumn:(NSString*)columnName { + return [self dataNoCopyForColumnIndex:[self columnIndexForName:columnName]]; +} + +- (NSData*)dataNoCopyForColumnIndex:(int)columnIdx { + + if (sqlite3_column_type([_statement statement], columnIdx) == SQLITE_NULL || (columnIdx < 0)) { + return nil; + } + + const char *dataBuffer = sqlite3_column_blob([_statement statement], columnIdx); + int dataSize = sqlite3_column_bytes([_statement statement], columnIdx); + + NSData *data = [NSData dataWithBytesNoCopy:(void *)dataBuffer length:(NSUInteger)dataSize freeWhenDone:NO]; + + return data; +} + + +- (BOOL)columnIndexIsNull:(int)columnIdx { + return sqlite3_column_type([_statement statement], columnIdx) == SQLITE_NULL; +} + +- (BOOL)columnIsNull:(NSString*)columnName { + return [self columnIndexIsNull:[self columnIndexForName:columnName]]; +} + +- (const unsigned char *)UTF8StringForColumnIndex:(int)columnIdx { + + if (sqlite3_column_type([_statement statement], columnIdx) == SQLITE_NULL || (columnIdx < 0)) { + return nil; + } + + return sqlite3_column_text([_statement statement], columnIdx); +} + +- (const unsigned char *)UTF8StringForColumnName:(NSString*)columnName { + return [self UTF8StringForColumnIndex:[self columnIndexForName:columnName]]; +} + +- (id)objectForColumnIndex:(int)columnIdx { + int columnType = sqlite3_column_type([_statement statement], columnIdx); + + id returnValue = nil; + + if (columnType == SQLITE_INTEGER) { + returnValue = [NSNumber numberWithLongLong:[self longLongIntForColumnIndex:columnIdx]]; + } + else if (columnType == SQLITE_FLOAT) { + returnValue = [NSNumber numberWithDouble:[self doubleForColumnIndex:columnIdx]]; + } + else if (columnType == SQLITE_BLOB) { + returnValue = [self dataForColumnIndex:columnIdx]; + } + else { + //default to a string for everything else + returnValue = [self stringForColumnIndex:columnIdx]; + } + + if (returnValue == nil) { + returnValue = [NSNull null]; + } + + return returnValue; +} + +- (id)objectForColumnName:(NSString*)columnName { + return [self objectForColumnIndex:[self columnIndexForName:columnName]]; +} + +// returns autoreleased NSString containing the name of the column in the result set +- (NSString*)columnNameForIndex:(int)columnIdx { + return [NSString stringWithUTF8String: sqlite3_column_name([_statement statement], columnIdx)]; +} + +- (void)setParentDB:(FMDatabase *)newDb { + _parentDB = newDb; +} + +- (id)objectAtIndexedSubscript:(int)columnIdx { + return [self objectForColumnIndex:columnIdx]; +} + +- (id)objectForKeyedSubscript:(NSString *)columnName { + return [self objectForColumnName:columnName]; +} + + +@end diff --git a/SnowplowSwiftDemo/Pods/Local Podspecs/SnowplowTracker.podspec.json b/SnowplowSwiftDemo/Pods/Local Podspecs/SnowplowTracker.podspec.json new file mode 100644 index 000000000..4492e4275 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Local Podspecs/SnowplowTracker.podspec.json @@ -0,0 +1,65 @@ +{ + "name": "SnowplowTracker", + "version": "0.7.0", + "summary": "Snowplow event tracker for iOS 7+. Add analytics to your iOS apps and games.", + "description": "Snowplow is a mobile and event analytics platform with a difference: rather than tell our users how they should analyze their data, we deliver their event-level data in their own data warehouse, on their own Amazon Redshift or Postgres database, so they can analyze it any way they choose. Snowplow mobile is used by data-savvy games companies and app developers to better understand their users and how they engage with their games and applications. Snowplow is open source using the business-friendly Apache License, Version 2.0 and scales horizontally to many billions of events.", + "homepage": "http://snowplowanalytics.com", + "screenshots": "https://d3i6fms1cm1j0i.cloudfront.net/github-wiki/images/snowplow-logo-large.png", + "license": "Apache License, Version 2.0", + "authors": { + "Snowplow Analytics Ltd": "support@snowplowanalytics.com" + }, + "source": { + "git": "https://github.com/snowplow/snowplow-objc-tracker.git", + "tag": "0.7.0" + }, + "social_media_url": "https://twitter.com/SnowPlowData", + "documentation_url": "https://github.com/snowplow/snowplow/wiki/iOS-Tracker", + "platforms": { + "ios": "8.0", + "osx": "10.9", + "tvos": "9.0" + }, + "requires_arc": true, + "source_files": "Snowplow/*.{m,h}", + "public_header_files": [ + "Snowplow/Snowplow.h", + "Snowplow/SPTracker.h", + "Snowplow/SPEmitter.h", + "Snowplow/SPSubject.h", + "Snowplow/SPPayload.h", + "Snowplow/SPUtilities.h", + "Snowplow/SPRequestCallback.h", + "Snowplow/SPEvent.h", + "Snowplow/SPSelfDescribingJson.h" + ], + "ios": { + "frameworks": [ + "CoreTelephony", + "UIKit", + "Foundation" + ], + "dependencies": { + "Reachability": [ + "3.2" + ] + } + }, + "osx": { + "frameworks": [ + "AppKit", + "Foundation" + ] + }, + "tvos": { + "frameworks": [ + "UIKit", + "Foundation" + ] + }, + "dependencies": { + "FMDB": [ + "2.6.2" + ] + } +} diff --git a/SnowplowSwiftDemo/Pods/Manifest.lock b/SnowplowSwiftDemo/Pods/Manifest.lock new file mode 100644 index 000000000..01578b042 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Manifest.lock @@ -0,0 +1,27 @@ +PODS: + - FMDB (2.6.2): + - FMDB/standard (= 2.6.2) + - FMDB/standard (2.6.2) + - Reachability (3.2) + - SnowplowTracker (0.7.0): + - FMDB (= 2.6.2) + - Reachability (= 3.2) + - SwiftTryCatch (0.0.1) + +DEPENDENCIES: + - SnowplowTracker (from `../`) + - SwiftTryCatch + +EXTERNAL SOURCES: + SnowplowTracker: + :path: ../ + +SPEC CHECKSUMS: + FMDB: 854a0341b4726e53276f2a8996f06f1b80f9259a + Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96 + SnowplowTracker: b445639aac57dc8f4c01d7433e370e5915103a4c + SwiftTryCatch: fb6d2b34abe48efd69578dac919293a44f95b481 + +PODFILE CHECKSUM: ee8668707da942c0c024303e73e0f57defbe9eaf + +COCOAPODS: 1.4.0 diff --git a/SnowplowSwiftDemo/Pods/Pods.xcodeproj/project.pbxproj b/SnowplowSwiftDemo/Pods/Pods.xcodeproj/project.pbxproj new file mode 100644 index 000000000..0c4656e4d --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Pods.xcodeproj/project.pbxproj @@ -0,0 +1,1594 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 48; + objects = { + +/* Begin PBXBuildFile section */ + 13C2FD0A01C708B291F1C2FABE60CF76 /* SnowplowTracker-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B5E9DF053426375FC9ACA3607A4F5801 /* SnowplowTracker-dummy.m */; }; + 1C37CDBF71D6906DAFFBD4CA40354650 /* Pods-SnowplowSwiftDemoUITests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7A9797AAB54775FC9EE31598180DBC34 /* Pods-SnowplowSwiftDemoUITests-dummy.m */; }; + 22554065FA07F1BFE5308A685394CB12 /* FMDatabaseQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = 61AD02C5CCB2ED421F7FB5B0799F2F58 /* FMDatabaseQueue.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 24C441B6D7690B1E3E05F3B72E78C1D0 /* SPRequestCallback.h in Headers */ = {isa = PBXBuildFile; fileRef = DE6AB0AF7EE5B5020573EE6CDAE87CDE /* SPRequestCallback.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 29A0C7D92865DE928C6184D73E13CD6C /* SwiftTryCatch-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = AC7F7A359CCEBA0CFD08D1407BB19D27 /* SwiftTryCatch-dummy.m */; }; + 2A427F31058BE5DFEAEC03A3EFF271FA /* SPSession.m in Sources */ = {isa = PBXBuildFile; fileRef = 9979AE07620BD8128BE6F7BB038BC7E2 /* SPSession.m */; }; + 2ADDE71DC95372CD545F4EBC7FE3E43F /* SPEventStore.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C09FC10471E788227FFD6C18112B744 /* SPEventStore.m */; }; + 2C2100D9543EFC5C757DDAFF0DA3A598 /* OpenIDFA.h in Headers */ = {isa = PBXBuildFile; fileRef = CA16EF70669735BA09AF06920DD6DD5F /* OpenIDFA.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 2C7E2CA3045AE54B0336E56498BDA359 /* SPEventStore.h in Headers */ = {isa = PBXBuildFile; fileRef = 97D8024C593F9F6375E3CE2BC9B8BB38 /* SPEventStore.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 2FCB4AC9010772385F3CB052C91DC2F3 /* SPSubject.m in Sources */ = {isa = PBXBuildFile; fileRef = D92798E0C4A015A483D57CB17893D8EA /* SPSubject.m */; }; + 2FEC01456568184B9180EC0EA558E32C /* Pods-SnowplowSwiftDemoTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = A75D536CB25D34ECEEF37FD52FF0D07B /* Pods-SnowplowSwiftDemoTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 37F097E2269EF1BD238AD7449D796445 /* FMDatabase.m in Sources */ = {isa = PBXBuildFile; fileRef = 3F4F04FF870CCA6EF4CAA735D8672C91 /* FMDatabase.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 3B5D1D185A4DED646C3AB9083B6682A8 /* SPUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = 7244B7CD9F9498B50B08A3361864C427 /* SPUtilities.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3E43906B70EB01C06F3AE17008B853B9 /* FMResultSet.h in Headers */ = {isa = PBXBuildFile; fileRef = 918EAEEFF005A8010CBFE7520BDFB171 /* FMResultSet.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 54301C7CD43F7ACFF668D43E6BD02969 /* SwiftTryCatch-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = BC181136E94ADE59B9AEF185EE1FB2DF /* SwiftTryCatch-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 54BA0FB923A1EE5F96622B31FB150409 /* SPRequestResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = CE258E1D43AB8B51EF14C76A3F445AB5 /* SPRequestResponse.m */; }; + 5C092592F677BDC3927BC9E6125B1480 /* Snowplow.m in Sources */ = {isa = PBXBuildFile; fileRef = AA75269DF1D15A9478B3596CD541BBF6 /* Snowplow.m */; }; + 5E01664CDEC9B081B300138BC6955D67 /* Pods-SnowplowSwiftDemoUITests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 2940C9AD2EDB745799564AE103C2DE5E /* Pods-SnowplowSwiftDemoUITests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 5FC0AB55B160C3A8E9C0B4A47563A010 /* FMDB.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EA1DFB22B519DB8B69B8E76AC6A7464F /* FMDB.framework */; }; + 6355E6DCC830EDC160543DB3BD31CFD3 /* OpenIDFA.m in Sources */ = {isa = PBXBuildFile; fileRef = E39F5D54A32D9352A4D9D8DA2B1FE6FA /* OpenIDFA.m */; }; + 6505722983E1B4C71FB33D874125C0D8 /* SPEmitter.m in Sources */ = {isa = PBXBuildFile; fileRef = 5FA92712DFC665565E10C3FE72747C04 /* SPEmitter.m */; }; + 67D5C360F84BB2D0931E597051529085 /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F6F0647C8E7DB3DA294060161B88109D /* CoreTelephony.framework */; }; + 69DCA2A1DA21C6F9541ACA509EE4FB92 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FC5C5C21AA256D13A0CB5528FA9C9202 /* SystemConfiguration.framework */; }; + 6DFCDD92984B992097B1A252195057D2 /* SPSubject.h in Headers */ = {isa = PBXBuildFile; fileRef = 7589A9D8EBB8ADB4DD989E37F79C33F5 /* SPSubject.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 72563ADE99DC9E753B27D48B16AA3654 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 33494453EFEAAB9E414C5EF78AF2F9DB /* Foundation.framework */; }; + 764E63022DF4E0E85FE2D9E4F3EFBD68 /* Reachability.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE606520F60FCF7D41B9672BCDCA2D6E /* Reachability.framework */; }; + 87ECA447DB887426665260651B7F147E /* FMResultSet.m in Sources */ = {isa = PBXBuildFile; fileRef = D9A69FA8E4593A84AB972B7EFB2015DC /* FMResultSet.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 8BA3EB7B88B975B81D01F61AD97F3BE3 /* SPEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = FB4DC54047EF60A16CA334F0ABA2865B /* SPEvent.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 951CC8C5158904D1CA6428A00879F977 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 33494453EFEAAB9E414C5EF78AF2F9DB /* Foundation.framework */; }; + 96E70B43FC04BC99AED1BBD4FB1D7581 /* FMDB-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7875004843A806B7B0C77C8068E3F90B /* FMDB-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9803F7CB519C91323B1E8D239E1B0AED /* Reachability-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D1A4F7DB06BDD1B06FE133AAA2346A9 /* Reachability-dummy.m */; }; + 9B4123CD616ED1C9D3D8D63B3A959831 /* Reachability.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F9E58A7FBF4616DE2F70821E75E8011 /* Reachability.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9B8D84996694C541CD3434386E0A081A /* FMDatabasePool.h in Headers */ = {isa = PBXBuildFile; fileRef = 6C251624900A6CAF14D04B4E905F9312 /* FMDatabasePool.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9B9C4122D2D6F47002A532468AE3ABD5 /* SPWeakTimerTarget.h in Headers */ = {isa = PBXBuildFile; fileRef = A59B3F7182EAF9587DB9BA33377C23FC /* SPWeakTimerTarget.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 9C11A290C9C5866A185A54F1EC04E2BB /* FMDatabaseAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = D24055067ED2E362011C523BFA08EF2D /* FMDatabaseAdditions.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 9EF3A66CD428EB6ADE6E95E1CD6C175F /* SPEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 7EA8E1DF21BCE17997BBCF5AC8E9CCF8 /* SPEvent.m */; }; + 9FAF60E47B461D863D84C20BAAF9FFB0 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 33494453EFEAAB9E414C5EF78AF2F9DB /* Foundation.framework */; }; + A1B5D80A8998311B8C9043E6942925E6 /* FMDatabaseQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = C659A06F8815196B6FE8A436AAEA4DA1 /* FMDatabaseQueue.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + A548833BE5FAD40830428F36E77D0F52 /* FMDatabaseAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 3E55765AEFD1EBB3C98B251AF3BB61D4 /* FMDatabaseAdditions.h */; settings = {ATTRIBUTES = (Public, ); }; }; + AACFBABD376C81CDA182F4A9F0E6B992 /* Pods-SnowplowSwiftDemoTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DE3D7E1ECF2945D391EC64422FB2C03 /* Pods-SnowplowSwiftDemoTests-dummy.m */; }; + ABAAC406F8E9C9216ED1BB8B47370034 /* SPSelfDescribingJson.m in Sources */ = {isa = PBXBuildFile; fileRef = 3230C3B538CEC6BD532A93E77632B762 /* SPSelfDescribingJson.m */; }; + ACAD7F3F3D0F9CBE4BA5F994C9D6331D /* SPUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = E2E917E516513806BF6F3EC1A1F46694 /* SPUtilities.m */; }; + B03449621852F2EE83EDFDB37F2C93A7 /* SPEmitter.h in Headers */ = {isa = PBXBuildFile; fileRef = 1E5E22101D20323995C6FE08B312A998 /* SPEmitter.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B1F4B5E7ECDC9C61CB56B7CF3B31E218 /* SPSession.h in Headers */ = {isa = PBXBuildFile; fileRef = E56632CB56E10BFCA57CC83D2D6E69D6 /* SPSession.h */; settings = {ATTRIBUTES = (Project, ); }; }; + B3FD468AEECC37487FE570671D9127DB /* SPWeakTimerTarget.m in Sources */ = {isa = PBXBuildFile; fileRef = 88B82552F7986AE1D17B5F2A323E0389 /* SPWeakTimerTarget.m */; }; + B76121488B646F8FC0025E608ECFE923 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 33494453EFEAAB9E414C5EF78AF2F9DB /* Foundation.framework */; }; + C605A44DF96E7FCACF7D6E37B62F795D /* FMDatabasePool.m in Sources */ = {isa = PBXBuildFile; fileRef = BDA75E95BE3A225490CAFD27B319B20F /* FMDatabasePool.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + CCB74062CE0F4B8E5B7483599BC398DA /* FMDB.h in Headers */ = {isa = PBXBuildFile; fileRef = 2D19E00E6AFE2837864E488DBB39264F /* FMDB.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D3E979FCD1F821DAD041F7FF9B18D0F8 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CC4ABE4C6B4BD190AB3EABA777F9869A /* UIKit.framework */; }; + D5991941DC41DDDDDACAE0B5D47A4639 /* FMDB-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = EC0DA277025D9F19124988D6FB1EFAE7 /* FMDB-dummy.m */; }; + D735B973F25E55774375DB923B221371 /* Pods-SnowplowSwiftDemo-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A3A38C9FE5CFDE6FA36C39152CB9ED52 /* Pods-SnowplowSwiftDemo-dummy.m */; }; + D9F6783ED1B542269C5C191055910091 /* Pods-SnowplowSwiftDemo-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 77C90F7918C5D2BADE4841020755DDAD /* Pods-SnowplowSwiftDemo-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + DB044AE7C77CC949740CCF94AA03B079 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 33494453EFEAAB9E414C5EF78AF2F9DB /* Foundation.framework */; }; + DD94AAC9F461E191519B250570A6A6FC /* Snowplow.h in Headers */ = {isa = PBXBuildFile; fileRef = 140DA85304C85F80E602939F10EC238C /* Snowplow.h */; settings = {ATTRIBUTES = (Public, ); }; }; + DF361AD60760A87619CDCEF073930924 /* SPPayload.m in Sources */ = {isa = PBXBuildFile; fileRef = 83DA97C160799E2A8EA2A437A255D751 /* SPPayload.m */; }; + E29E4DD3FCCCD70B5F4A1CF3863809D8 /* Reachability.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CAA6C250CD700D81243A952BB75B9D5 /* Reachability.m */; }; + E2FDA930C3C954B3B70B6F3CBC5468A7 /* SwiftTryCatch.h in Headers */ = {isa = PBXBuildFile; fileRef = FE77287645D77E8B1BB48E28FFB277BA /* SwiftTryCatch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E4ACB7794AA22C62A79DF0A47CD61201 /* SPRequestResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = B797AF266953F35800A41744D0803EC3 /* SPRequestResponse.h */; settings = {ATTRIBUTES = (Project, ); }; }; + E65935445DBE6BF0490FC61B5D8027DE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 33494453EFEAAB9E414C5EF78AF2F9DB /* Foundation.framework */; }; + E8311FF2D47535CCBA95C56BC803733F /* SPSelfDescribingJson.h in Headers */ = {isa = PBXBuildFile; fileRef = 069EA9B6756672228AA7DB15CEDC1A58 /* SPSelfDescribingJson.h */; settings = {ATTRIBUTES = (Public, ); }; }; + EB97516DAE243DEBAFF37488C814BD52 /* SPPayload.h in Headers */ = {isa = PBXBuildFile; fileRef = C8D9BAABE20EDCC734589A08AEB7B1C1 /* SPPayload.h */; settings = {ATTRIBUTES = (Public, ); }; }; + EBE14C373D7897ADD4C618340AE3CA52 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 33494453EFEAAB9E414C5EF78AF2F9DB /* Foundation.framework */; }; + F11FAB91014130EE233A3429439D38D7 /* FMDatabase.h in Headers */ = {isa = PBXBuildFile; fileRef = 2BB2209FA578B65B3F5BE1CE80FC5293 /* FMDatabase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F232D9E96B1819527ECAC1D0DF19E035 /* SnowplowTracker-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = DAF4780A2928ED9B514B024EBF830738 /* SnowplowTracker-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F374165C9DA576ED42BFE967FA3B903D /* SPTracker.h in Headers */ = {isa = PBXBuildFile; fileRef = 2A87C5F0E43CF78AE462286E7363FA15 /* SPTracker.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F44365D71F14050F48E6432C541C4022 /* SwiftTryCatch.m in Sources */ = {isa = PBXBuildFile; fileRef = 11262BFCF169032CEC90131D0BE6D33D /* SwiftTryCatch.m */; }; + F4F4E89DDAE8C2CBDD43851ADEF8A856 /* Reachability-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F38BC40945DE380E649EC2F019B25B6B /* Reachability-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FBDB4A8A2FB04235BFFC1A60FC833EB3 /* SPTracker.m in Sources */ = {isa = PBXBuildFile; fileRef = AAE09143845950894DFBB60F9D842E6B /* SPTracker.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 075DF89432C3385EBFEFE6EBD145AD5E /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = E9B61A0CC719201A7D3C04723B0AFD36; + remoteInfo = Reachability; + }; + 385818D769AC4E53484A2A1B3F2320C2 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = E9B61A0CC719201A7D3C04723B0AFD36; + remoteInfo = Reachability; + }; + 478D6710C84D2967E5DDBC7C81D8B4C6 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 251BAD17812F7EBF6532EACF66F941C3; + remoteInfo = FMDB; + }; + B1818DDB82B29D2BC98BBB171090EA7A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = B88C03DB218EB44A1FF8AD90B3FA6EF0; + remoteInfo = SwiftTryCatch; + }; + BED1A8653AD267CF41BD376660768B0B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 5D582B79A04C55D49FEB2BB979615706; + remoteInfo = SnowplowTracker; + }; + D1FC9C0FE23848F67F9EDFC47018462C /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 251BAD17812F7EBF6532EACF66F941C3; + remoteInfo = FMDB; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 00B419BC5F177F5754D2F9185DD525FE /* Pods-SnowplowSwiftDemoUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SnowplowSwiftDemoUITests.release.xcconfig"; sourceTree = ""; }; + 01F817EE9D3CFBA67E9AB41642058CA2 /* Pods-SnowplowSwiftDemoTests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SnowplowSwiftDemoTests-resources.sh"; sourceTree = ""; }; + 069EA9B6756672228AA7DB15CEDC1A58 /* SPSelfDescribingJson.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPSelfDescribingJson.h; path = Snowplow/SPSelfDescribingJson.h; sourceTree = ""; }; + 06FA86D50BA58970E9C9BF3A12D507B8 /* Pods-SnowplowSwiftDemoTests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SnowplowSwiftDemoTests-frameworks.sh"; sourceTree = ""; }; + 09789C8933BB3DAD62FECD3F760820E1 /* Reachability.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = Reachability.modulemap; sourceTree = ""; }; + 0ED79B1BBDE625EDB88D89568202D121 /* Pods-SnowplowSwiftDemo-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SnowplowSwiftDemo-acknowledgements.markdown"; sourceTree = ""; }; + 0F9E58A7FBF4616DE2F70821E75E8011 /* Reachability.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = Reachability.h; sourceTree = ""; }; + 11262BFCF169032CEC90131D0BE6D33D /* SwiftTryCatch.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SwiftTryCatch.m; sourceTree = ""; }; + 125775C78E747E0E3AFC11257C119B41 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 140DA85304C85F80E602939F10EC238C /* Snowplow.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Snowplow.h; path = Snowplow/Snowplow.h; sourceTree = ""; }; + 1423186824927812A2AFFDFAF5C2DE77 /* SnowplowTracker-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SnowplowTracker-prefix.pch"; sourceTree = ""; }; + 1647ACC277B033EB234A3F3BB4DFA076 /* Pods-SnowplowSwiftDemo.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-SnowplowSwiftDemo.modulemap"; sourceTree = ""; }; + 1C5B7FDC86BC415BF567C48BB2E94EE3 /* SnowplowTracker.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SnowplowTracker.xcconfig; sourceTree = ""; }; + 1E5E22101D20323995C6FE08B312A998 /* SPEmitter.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPEmitter.h; path = Snowplow/SPEmitter.h; sourceTree = ""; }; + 1F63FDB513052873E41DA4A223B94696 /* SwiftTryCatch.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = SwiftTryCatch.framework; path = SwiftTryCatch.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 236F3BB41101929D572DA4949EBC8091 /* Pods-SnowplowSwiftDemoUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SnowplowSwiftDemoUITests.debug.xcconfig"; sourceTree = ""; }; + 26BE55BECAC37B385E60DFCA91413C49 /* Pods-SnowplowSwiftDemoUITests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SnowplowSwiftDemoUITests-resources.sh"; sourceTree = ""; }; + 290F3B24A5B6A9C9344A2061757397B4 /* Pods-SnowplowSwiftDemoTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SnowplowSwiftDemoTests.debug.xcconfig"; sourceTree = ""; }; + 2940C9AD2EDB745799564AE103C2DE5E /* Pods-SnowplowSwiftDemoUITests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SnowplowSwiftDemoUITests-umbrella.h"; sourceTree = ""; }; + 2A87C5F0E43CF78AE462286E7363FA15 /* SPTracker.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTracker.h; path = Snowplow/SPTracker.h; sourceTree = ""; }; + 2BB2209FA578B65B3F5BE1CE80FC5293 /* FMDatabase.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDatabase.h; path = src/fmdb/FMDatabase.h; sourceTree = ""; }; + 2D19E00E6AFE2837864E488DBB39264F /* FMDB.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDB.h; path = src/fmdb/FMDB.h; sourceTree = ""; }; + 3230C3B538CEC6BD532A93E77632B762 /* SPSelfDescribingJson.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPSelfDescribingJson.m; path = Snowplow/SPSelfDescribingJson.m; sourceTree = ""; }; + 33494453EFEAAB9E414C5EF78AF2F9DB /* 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; }; + 365B9242B8C5F100394406EED519622A /* Reachability.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Reachability.xcconfig; sourceTree = ""; }; + 3C09FC10471E788227FFD6C18112B744 /* SPEventStore.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPEventStore.m; path = Snowplow/SPEventStore.m; sourceTree = ""; }; + 3E55765AEFD1EBB3C98B251AF3BB61D4 /* FMDatabaseAdditions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDatabaseAdditions.h; path = src/fmdb/FMDatabaseAdditions.h; sourceTree = ""; }; + 3F4F04FF870CCA6EF4CAA735D8672C91 /* FMDatabase.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FMDatabase.m; path = src/fmdb/FMDatabase.m; sourceTree = ""; }; + 41FE4DB6E3E7F7A51866EAEF687FAAAA /* Reachability.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Reachability.framework; path = Reachability.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 44B8EDE61523191FD449362F4A3D2B81 /* Pods-SnowplowSwiftDemo-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SnowplowSwiftDemo-frameworks.sh"; sourceTree = ""; }; + 482A47EDEC8B1959D61665FAFB1409FC /* Pods_SnowplowSwiftDemoTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SnowplowSwiftDemoTests.framework; path = "Pods-SnowplowSwiftDemoTests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + 4A8CD6BE055FB247F89E9B1B9479257B /* FMDB.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = FMDB.modulemap; sourceTree = ""; }; + 524B72981C5152E5076A8A65CC7E8C1B /* Reachability-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Reachability-prefix.pch"; sourceTree = ""; }; + 53FAC48ECC8994EF8BFDFE2B8B0AAB96 /* SnowplowTracker.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; path = SnowplowTracker.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 5829C35A9C053BF9A7FC808059FF0959 /* Pods-SnowplowSwiftDemoTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SnowplowSwiftDemoTests-acknowledgements.plist"; sourceTree = ""; }; + 5C0E04EE5877F19F23182DF515060D51 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; + 5CAA6C250CD700D81243A952BB75B9D5 /* Reachability.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = Reachability.m; sourceTree = ""; }; + 5E99C8990F5E31BC5789A48EEE8D0AFD /* SwiftTryCatch-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SwiftTryCatch-prefix.pch"; sourceTree = ""; }; + 5FA92712DFC665565E10C3FE72747C04 /* SPEmitter.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPEmitter.m; path = Snowplow/SPEmitter.m; sourceTree = ""; }; + 61AD02C5CCB2ED421F7FB5B0799F2F58 /* FMDatabaseQueue.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDatabaseQueue.h; path = src/fmdb/FMDatabaseQueue.h; sourceTree = ""; }; + 6C251624900A6CAF14D04B4E905F9312 /* FMDatabasePool.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDatabasePool.h; path = src/fmdb/FMDatabasePool.h; sourceTree = ""; }; + 6C972F7AC9E6240DC3DD2360DF1962D0 /* Pods-SnowplowSwiftDemo-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SnowplowSwiftDemo-resources.sh"; sourceTree = ""; }; + 7244B7CD9F9498B50B08A3361864C427 /* SPUtilities.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPUtilities.h; path = Snowplow/SPUtilities.h; sourceTree = ""; }; + 755FB8A39B3609A4884DC5391E3C6479 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 7589A9D8EBB8ADB4DD989E37F79C33F5 /* SPSubject.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPSubject.h; path = Snowplow/SPSubject.h; sourceTree = ""; }; + 77C90F7918C5D2BADE4841020755DDAD /* Pods-SnowplowSwiftDemo-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SnowplowSwiftDemo-umbrella.h"; sourceTree = ""; }; + 7875004843A806B7B0C77C8068E3F90B /* FMDB-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FMDB-umbrella.h"; sourceTree = ""; }; + 7A9797AAB54775FC9EE31598180DBC34 /* Pods-SnowplowSwiftDemoUITests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SnowplowSwiftDemoUITests-dummy.m"; sourceTree = ""; }; + 7EA8E1DF21BCE17997BBCF5AC8E9CCF8 /* SPEvent.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPEvent.m; path = Snowplow/SPEvent.m; sourceTree = ""; }; + 83DA97C160799E2A8EA2A437A255D751 /* SPPayload.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPPayload.m; path = Snowplow/SPPayload.m; sourceTree = ""; }; + 8519291E9C9EB679F5D76C52FAAFF292 /* Pods-SnowplowSwiftDemoTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-SnowplowSwiftDemoTests.modulemap"; sourceTree = ""; }; + 85DCB39BCEC6CAC322C4D089EEAB5957 /* Pods-SnowplowSwiftDemo-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SnowplowSwiftDemo-acknowledgements.plist"; sourceTree = ""; }; + 88288C3DDBF9D0176AA54FFDAC33B645 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 88B82552F7986AE1D17B5F2A323E0389 /* SPWeakTimerTarget.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPWeakTimerTarget.m; path = Snowplow/SPWeakTimerTarget.m; sourceTree = ""; }; + 894990CBA57E08F0FBA6068E00968BBC /* Pods-SnowplowSwiftDemoUITests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-SnowplowSwiftDemoUITests.modulemap"; sourceTree = ""; }; + 8D37C4CABBC2BE91EE373FDF61E523DA /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 8FADD0FCA01EB2781CB6107F19AFB309 /* Pods-SnowplowSwiftDemoUITests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SnowplowSwiftDemoUITests-frameworks.sh"; sourceTree = ""; }; + 918ABE55F97A44EC10068A5A138E9B42 /* SnowplowTracker.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = SnowplowTracker.modulemap; sourceTree = ""; }; + 918EAEEFF005A8010CBFE7520BDFB171 /* FMResultSet.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMResultSet.h; path = src/fmdb/FMResultSet.h; sourceTree = ""; }; + 924D0199AE30DF87CCBFCED5D8BADD76 /* FMDB.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = FMDB.framework; path = FMDB.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 97D8024C593F9F6375E3CE2BC9B8BB38 /* SPEventStore.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPEventStore.h; path = Snowplow/SPEventStore.h; sourceTree = ""; }; + 9979AE07620BD8128BE6F7BB038BC7E2 /* SPSession.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPSession.m; path = Snowplow/SPSession.m; sourceTree = ""; }; + 9D1A4F7DB06BDD1B06FE133AAA2346A9 /* Reachability-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Reachability-dummy.m"; sourceTree = ""; }; + 9DE3D7E1ECF2945D391EC64422FB2C03 /* Pods-SnowplowSwiftDemoTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SnowplowSwiftDemoTests-dummy.m"; sourceTree = ""; }; + A3A38C9FE5CFDE6FA36C39152CB9ED52 /* Pods-SnowplowSwiftDemo-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SnowplowSwiftDemo-dummy.m"; sourceTree = ""; }; + A59B3F7182EAF9587DB9BA33377C23FC /* SPWeakTimerTarget.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPWeakTimerTarget.h; path = Snowplow/SPWeakTimerTarget.h; sourceTree = ""; }; + A5CA19474B8D0E4A67B7FD8208BF7726 /* Pods-SnowplowSwiftDemoUITests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SnowplowSwiftDemoUITests-acknowledgements.markdown"; sourceTree = ""; }; + A73BF2C0440D8C81C3FF534AAB462EFD /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + A75D536CB25D34ECEEF37FD52FF0D07B /* Pods-SnowplowSwiftDemoTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SnowplowSwiftDemoTests-umbrella.h"; sourceTree = ""; }; + AA0D309F9DC1E3F9A6EF1945DD046AD3 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + AA75269DF1D15A9478B3596CD541BBF6 /* Snowplow.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = Snowplow.m; path = Snowplow/Snowplow.m; sourceTree = ""; }; + AAE09143845950894DFBB60F9D842E6B /* SPTracker.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTracker.m; path = Snowplow/SPTracker.m; sourceTree = ""; }; + AC7F7A359CCEBA0CFD08D1407BB19D27 /* SwiftTryCatch-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SwiftTryCatch-dummy.m"; sourceTree = ""; }; + AF9419472863AAED3ED1C334BDE32978 /* SwiftTryCatch.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = SwiftTryCatch.modulemap; sourceTree = ""; }; + B5E9DF053426375FC9ACA3607A4F5801 /* SnowplowTracker-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SnowplowTracker-dummy.m"; sourceTree = ""; }; + B797AF266953F35800A41744D0803EC3 /* SPRequestResponse.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPRequestResponse.h; path = Snowplow/SPRequestResponse.h; sourceTree = ""; }; + BC080999D4E9CF3893041A77A6EC2477 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + BC181136E94ADE59B9AEF185EE1FB2DF /* SwiftTryCatch-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SwiftTryCatch-umbrella.h"; sourceTree = ""; }; + BDA75E95BE3A225490CAFD27B319B20F /* FMDatabasePool.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FMDatabasePool.m; path = src/fmdb/FMDatabasePool.m; sourceTree = ""; }; + BED6D3F17155872A76F900A1C8E42D1E /* SnowplowTracker.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = SnowplowTracker.framework; path = SnowplowTracker.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C045CA2CAE1768EDD98AB84D104C718A /* FMDB-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FMDB-prefix.pch"; sourceTree = ""; }; + C3BE449A3F9EE3349761ACDF54F94FC6 /* Pods_SnowplowSwiftDemoUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SnowplowSwiftDemoUITests.framework; path = "Pods-SnowplowSwiftDemoUITests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + C659A06F8815196B6FE8A436AAEA4DA1 /* FMDatabaseQueue.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FMDatabaseQueue.m; path = src/fmdb/FMDatabaseQueue.m; sourceTree = ""; }; + C8D9BAABE20EDCC734589A08AEB7B1C1 /* SPPayload.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPPayload.h; path = Snowplow/SPPayload.h; sourceTree = ""; }; + CA16EF70669735BA09AF06920DD6DD5F /* OpenIDFA.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = OpenIDFA.h; path = Snowplow/OpenIDFA.h; sourceTree = ""; }; + CC07F7A45DDDD4C845F3B3102B9029F2 /* Pods-SnowplowSwiftDemoUITests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SnowplowSwiftDemoUITests-acknowledgements.plist"; sourceTree = ""; }; + CC4ABE4C6B4BD190AB3EABA777F9869A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; + CE258E1D43AB8B51EF14C76A3F445AB5 /* SPRequestResponse.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPRequestResponse.m; path = Snowplow/SPRequestResponse.m; sourceTree = ""; }; + D0BC155D85FCDD1F04BD807E69D24707 /* FMDB.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = FMDB.xcconfig; sourceTree = ""; }; + D24055067ED2E362011C523BFA08EF2D /* FMDatabaseAdditions.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FMDatabaseAdditions.m; path = src/fmdb/FMDatabaseAdditions.m; sourceTree = ""; }; + D5474EE1DEEA7F3B19716E6B1C5FFB93 /* Pods-SnowplowSwiftDemoTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SnowplowSwiftDemoTests-acknowledgements.markdown"; sourceTree = ""; }; + D92798E0C4A015A483D57CB17893D8EA /* SPSubject.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPSubject.m; path = Snowplow/SPSubject.m; sourceTree = ""; }; + D9A69FA8E4593A84AB972B7EFB2015DC /* FMResultSet.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FMResultSet.m; path = src/fmdb/FMResultSet.m; sourceTree = ""; }; + DAF4780A2928ED9B514B024EBF830738 /* SnowplowTracker-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SnowplowTracker-umbrella.h"; sourceTree = ""; }; + DE6AB0AF7EE5B5020573EE6CDAE87CDE /* SPRequestCallback.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPRequestCallback.h; path = Snowplow/SPRequestCallback.h; sourceTree = ""; }; + E2E917E516513806BF6F3EC1A1F46694 /* SPUtilities.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPUtilities.m; path = Snowplow/SPUtilities.m; sourceTree = ""; }; + E39F5D54A32D9352A4D9D8DA2B1FE6FA /* OpenIDFA.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = OpenIDFA.m; path = Snowplow/OpenIDFA.m; sourceTree = ""; }; + E48F39B6B7390603F777669E6C223109 /* SwiftTryCatch.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SwiftTryCatch.xcconfig; sourceTree = ""; }; + E4E095396E68DA369FDADA38AD18CE23 /* Pods-SnowplowSwiftDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SnowplowSwiftDemo.debug.xcconfig"; sourceTree = ""; }; + E56632CB56E10BFCA57CC83D2D6E69D6 /* SPSession.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPSession.h; path = Snowplow/SPSession.h; sourceTree = ""; }; + EA1DFB22B519DB8B69B8E76AC6A7464F /* FMDB.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = FMDB.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + EAA97F733C993CF782276DCD9E193B73 /* Pods_SnowplowSwiftDemo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SnowplowSwiftDemo.framework; path = "Pods-SnowplowSwiftDemo.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + EAD2C5D26374645DEBCC8254A6F446FD /* Pods-SnowplowSwiftDemoTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SnowplowSwiftDemoTests.release.xcconfig"; sourceTree = ""; }; + EC0DA277025D9F19124988D6FB1EFAE7 /* FMDB-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "FMDB-dummy.m"; sourceTree = ""; }; + EE606520F60FCF7D41B9672BCDCA2D6E /* Reachability.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Reachability.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + F38BC40945DE380E649EC2F019B25B6B /* Reachability-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Reachability-umbrella.h"; sourceTree = ""; }; + F521985242B354667187EB26FCC25BEF /* Pods-SnowplowSwiftDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SnowplowSwiftDemo.release.xcconfig"; sourceTree = ""; }; + F6F0647C8E7DB3DA294060161B88109D /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/CoreTelephony.framework; sourceTree = DEVELOPER_DIR; }; + FB4DC54047EF60A16CA334F0ABA2865B /* SPEvent.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPEvent.h; path = Snowplow/SPEvent.h; sourceTree = ""; }; + FC5C5C21AA256D13A0CB5528FA9C9202 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; }; + FE77287645D77E8B1BB48E28FFB277BA /* SwiftTryCatch.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SwiftTryCatch.h; sourceTree = ""; }; + FFC065F8DDB1397D80E4E056D3BBC38C /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 165019A32235987D91C5BAA3BF5A878E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + EBE14C373D7897ADD4C618340AE3CA52 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 17209E2B6BE4E043A0D0BF64FFC8F238 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + DB044AE7C77CC949740CCF94AA03B079 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 25823CAA6BDBACEFE96CB76E5F6CA107 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + B76121488B646F8FC0025E608ECFE923 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 964B4AD23FFA63B9163E4DC27D4DE73F /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 67D5C360F84BB2D0931E597051529085 /* CoreTelephony.framework in Frameworks */, + 5FC0AB55B160C3A8E9C0B4A47563A010 /* FMDB.framework in Frameworks */, + 9FAF60E47B461D863D84C20BAAF9FFB0 /* Foundation.framework in Frameworks */, + 764E63022DF4E0E85FE2D9E4F3EFBD68 /* Reachability.framework in Frameworks */, + D3E979FCD1F821DAD041F7FF9B18D0F8 /* UIKit.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 9EB5BCA709040D51746BEA64715BEEC7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 951CC8C5158904D1CA6428A00879F977 /* Foundation.framework in Frameworks */, + 69DCA2A1DA21C6F9541ACA509EE4FB92 /* SystemConfiguration.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D261D10F0C2DB0EA05D6322E77D602D9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + E65935445DBE6BF0490FC61B5D8027DE /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EEFB61A65EB8DA6653B544822EB9CE44 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 72563ADE99DC9E753B27D48B16AA3654 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 0D768D9451D86F3C548FB8E14206B876 /* Pods */ = { + isa = PBXGroup; + children = ( + 585F50A91F36FE3803F715A57C655F1B /* FMDB */, + 50892849DC7538EE0D70AAB78CAA32D4 /* Reachability */, + E91F6196440ACF73EFA381798430F55A /* SwiftTryCatch */, + ); + name = Pods; + sourceTree = ""; + }; + 16931F1C3FB9AAFBB3AC5E7038E5D5D7 /* Pod */ = { + isa = PBXGroup; + children = ( + FFC065F8DDB1397D80E4E056D3BBC38C /* LICENSE */, + 5C0E04EE5877F19F23182DF515060D51 /* README.md */, + 53FAC48ECC8994EF8BFDFE2B8B0AAB96 /* SnowplowTracker.podspec */, + ); + name = Pod; + sourceTree = ""; + }; + 2985D6C37263D0432AF11AA8C93E4191 /* Support Files */ = { + isa = PBXGroup; + children = ( + 8D37C4CABBC2BE91EE373FDF61E523DA /* Info.plist */, + 918ABE55F97A44EC10068A5A138E9B42 /* SnowplowTracker.modulemap */, + 1C5B7FDC86BC415BF567C48BB2E94EE3 /* SnowplowTracker.xcconfig */, + B5E9DF053426375FC9ACA3607A4F5801 /* SnowplowTracker-dummy.m */, + 1423186824927812A2AFFDFAF5C2DE77 /* SnowplowTracker-prefix.pch */, + DAF4780A2928ED9B514B024EBF830738 /* SnowplowTracker-umbrella.h */, + ); + name = "Support Files"; + path = "SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker"; + sourceTree = ""; + }; + 2F0F5D6269BCA6D2CBABD9849C75BEB4 /* Products */ = { + isa = PBXGroup; + children = ( + 924D0199AE30DF87CCBFCED5D8BADD76 /* FMDB.framework */, + EAA97F733C993CF782276DCD9E193B73 /* Pods_SnowplowSwiftDemo.framework */, + 482A47EDEC8B1959D61665FAFB1409FC /* Pods_SnowplowSwiftDemoTests.framework */, + C3BE449A3F9EE3349761ACDF54F94FC6 /* Pods_SnowplowSwiftDemoUITests.framework */, + 41FE4DB6E3E7F7A51866EAEF687FAAAA /* Reachability.framework */, + BED6D3F17155872A76F900A1C8E42D1E /* SnowplowTracker.framework */, + 1F63FDB513052873E41DA4A223B94696 /* SwiftTryCatch.framework */, + ); + name = Products; + sourceTree = ""; + }; + 3E735426C9D02343A96D21041FE43FF9 /* standard */ = { + isa = PBXGroup; + children = ( + 2BB2209FA578B65B3F5BE1CE80FC5293 /* FMDatabase.h */, + 3F4F04FF870CCA6EF4CAA735D8672C91 /* FMDatabase.m */, + 3E55765AEFD1EBB3C98B251AF3BB61D4 /* FMDatabaseAdditions.h */, + D24055067ED2E362011C523BFA08EF2D /* FMDatabaseAdditions.m */, + 6C251624900A6CAF14D04B4E905F9312 /* FMDatabasePool.h */, + BDA75E95BE3A225490CAFD27B319B20F /* FMDatabasePool.m */, + 61AD02C5CCB2ED421F7FB5B0799F2F58 /* FMDatabaseQueue.h */, + C659A06F8815196B6FE8A436AAEA4DA1 /* FMDatabaseQueue.m */, + 2D19E00E6AFE2837864E488DBB39264F /* FMDB.h */, + 918EAEEFF005A8010CBFE7520BDFB171 /* FMResultSet.h */, + D9A69FA8E4593A84AB972B7EFB2015DC /* FMResultSet.m */, + ); + name = standard; + sourceTree = ""; + }; + 50892849DC7538EE0D70AAB78CAA32D4 /* Reachability */ = { + isa = PBXGroup; + children = ( + 0F9E58A7FBF4616DE2F70821E75E8011 /* Reachability.h */, + 5CAA6C250CD700D81243A952BB75B9D5 /* Reachability.m */, + D2D4F106186FEFAE9F67FCFCE3486042 /* Support Files */, + ); + name = Reachability; + path = Reachability; + sourceTree = ""; + }; + 5578EC3875C4F380BFD407C393E6A310 /* Support Files */ = { + isa = PBXGroup; + children = ( + 125775C78E747E0E3AFC11257C119B41 /* Info.plist */, + AF9419472863AAED3ED1C334BDE32978 /* SwiftTryCatch.modulemap */, + E48F39B6B7390603F777669E6C223109 /* SwiftTryCatch.xcconfig */, + AC7F7A359CCEBA0CFD08D1407BB19D27 /* SwiftTryCatch-dummy.m */, + 5E99C8990F5E31BC5789A48EEE8D0AFD /* SwiftTryCatch-prefix.pch */, + BC181136E94ADE59B9AEF185EE1FB2DF /* SwiftTryCatch-umbrella.h */, + ); + name = "Support Files"; + path = "../Target Support Files/SwiftTryCatch"; + sourceTree = ""; + }; + 585F50A91F36FE3803F715A57C655F1B /* FMDB */ = { + isa = PBXGroup; + children = ( + 3E735426C9D02343A96D21041FE43FF9 /* standard */, + D73C66FE3EC9C692DAD1241270758485 /* Support Files */, + ); + name = FMDB; + path = FMDB; + sourceTree = ""; + }; + 6FCAF9633E5DB64733E894E4867FD27A /* Pods-SnowplowSwiftDemoTests */ = { + isa = PBXGroup; + children = ( + AA0D309F9DC1E3F9A6EF1945DD046AD3 /* Info.plist */, + 8519291E9C9EB679F5D76C52FAAFF292 /* Pods-SnowplowSwiftDemoTests.modulemap */, + D5474EE1DEEA7F3B19716E6B1C5FFB93 /* Pods-SnowplowSwiftDemoTests-acknowledgements.markdown */, + 5829C35A9C053BF9A7FC808059FF0959 /* Pods-SnowplowSwiftDemoTests-acknowledgements.plist */, + 9DE3D7E1ECF2945D391EC64422FB2C03 /* Pods-SnowplowSwiftDemoTests-dummy.m */, + 06FA86D50BA58970E9C9BF3A12D507B8 /* Pods-SnowplowSwiftDemoTests-frameworks.sh */, + 01F817EE9D3CFBA67E9AB41642058CA2 /* Pods-SnowplowSwiftDemoTests-resources.sh */, + A75D536CB25D34ECEEF37FD52FF0D07B /* Pods-SnowplowSwiftDemoTests-umbrella.h */, + 290F3B24A5B6A9C9344A2061757397B4 /* Pods-SnowplowSwiftDemoTests.debug.xcconfig */, + EAD2C5D26374645DEBCC8254A6F446FD /* Pods-SnowplowSwiftDemoTests.release.xcconfig */, + ); + name = "Pods-SnowplowSwiftDemoTests"; + path = "Target Support Files/Pods-SnowplowSwiftDemoTests"; + sourceTree = ""; + }; + 7DB346D0F39D3F0E887471402A8071AB = { + isa = PBXGroup; + children = ( + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, + DA23B2A0894B265C43F0D64695E9C67A /* Development Pods */, + FAFC1A15600D8C66311F8F304F705211 /* Frameworks */, + 0D768D9451D86F3C548FB8E14206B876 /* Pods */, + 2F0F5D6269BCA6D2CBABD9849C75BEB4 /* Products */, + A56B24A9BB25C5884D61BAF6C46FA55E /* Targets Support Files */, + ); + sourceTree = ""; + }; + 7FE7F301FC38082A68DD6A38DF3CC8CC /* SnowplowTracker */ = { + isa = PBXGroup; + children = ( + CA16EF70669735BA09AF06920DD6DD5F /* OpenIDFA.h */, + E39F5D54A32D9352A4D9D8DA2B1FE6FA /* OpenIDFA.m */, + 140DA85304C85F80E602939F10EC238C /* Snowplow.h */, + AA75269DF1D15A9478B3596CD541BBF6 /* Snowplow.m */, + 1E5E22101D20323995C6FE08B312A998 /* SPEmitter.h */, + 5FA92712DFC665565E10C3FE72747C04 /* SPEmitter.m */, + FB4DC54047EF60A16CA334F0ABA2865B /* SPEvent.h */, + 7EA8E1DF21BCE17997BBCF5AC8E9CCF8 /* SPEvent.m */, + 97D8024C593F9F6375E3CE2BC9B8BB38 /* SPEventStore.h */, + 3C09FC10471E788227FFD6C18112B744 /* SPEventStore.m */, + C8D9BAABE20EDCC734589A08AEB7B1C1 /* SPPayload.h */, + 83DA97C160799E2A8EA2A437A255D751 /* SPPayload.m */, + DE6AB0AF7EE5B5020573EE6CDAE87CDE /* SPRequestCallback.h */, + B797AF266953F35800A41744D0803EC3 /* SPRequestResponse.h */, + CE258E1D43AB8B51EF14C76A3F445AB5 /* SPRequestResponse.m */, + 069EA9B6756672228AA7DB15CEDC1A58 /* SPSelfDescribingJson.h */, + 3230C3B538CEC6BD532A93E77632B762 /* SPSelfDescribingJson.m */, + E56632CB56E10BFCA57CC83D2D6E69D6 /* SPSession.h */, + 9979AE07620BD8128BE6F7BB038BC7E2 /* SPSession.m */, + 7589A9D8EBB8ADB4DD989E37F79C33F5 /* SPSubject.h */, + D92798E0C4A015A483D57CB17893D8EA /* SPSubject.m */, + 2A87C5F0E43CF78AE462286E7363FA15 /* SPTracker.h */, + AAE09143845950894DFBB60F9D842E6B /* SPTracker.m */, + 7244B7CD9F9498B50B08A3361864C427 /* SPUtilities.h */, + E2E917E516513806BF6F3EC1A1F46694 /* SPUtilities.m */, + A59B3F7182EAF9587DB9BA33377C23FC /* SPWeakTimerTarget.h */, + 88B82552F7986AE1D17B5F2A323E0389 /* SPWeakTimerTarget.m */, + 16931F1C3FB9AAFBB3AC5E7038E5D5D7 /* Pod */, + 2985D6C37263D0432AF11AA8C93E4191 /* Support Files */, + ); + name = SnowplowTracker; + path = ../..; + sourceTree = ""; + }; + A56B24A9BB25C5884D61BAF6C46FA55E /* Targets Support Files */ = { + isa = PBXGroup; + children = ( + AECAF07EB41827E80D39E662727E0516 /* Pods-SnowplowSwiftDemo */, + 6FCAF9633E5DB64733E894E4867FD27A /* Pods-SnowplowSwiftDemoTests */, + BB2E64372C85DCE4F17DFE74549817EE /* Pods-SnowplowSwiftDemoUITests */, + ); + name = "Targets Support Files"; + sourceTree = ""; + }; + AECAF07EB41827E80D39E662727E0516 /* Pods-SnowplowSwiftDemo */ = { + isa = PBXGroup; + children = ( + BC080999D4E9CF3893041A77A6EC2477 /* Info.plist */, + 1647ACC277B033EB234A3F3BB4DFA076 /* Pods-SnowplowSwiftDemo.modulemap */, + 0ED79B1BBDE625EDB88D89568202D121 /* Pods-SnowplowSwiftDemo-acknowledgements.markdown */, + 85DCB39BCEC6CAC322C4D089EEAB5957 /* Pods-SnowplowSwiftDemo-acknowledgements.plist */, + A3A38C9FE5CFDE6FA36C39152CB9ED52 /* Pods-SnowplowSwiftDemo-dummy.m */, + 44B8EDE61523191FD449362F4A3D2B81 /* Pods-SnowplowSwiftDemo-frameworks.sh */, + 6C972F7AC9E6240DC3DD2360DF1962D0 /* Pods-SnowplowSwiftDemo-resources.sh */, + 77C90F7918C5D2BADE4841020755DDAD /* Pods-SnowplowSwiftDemo-umbrella.h */, + E4E095396E68DA369FDADA38AD18CE23 /* Pods-SnowplowSwiftDemo.debug.xcconfig */, + F521985242B354667187EB26FCC25BEF /* Pods-SnowplowSwiftDemo.release.xcconfig */, + ); + name = "Pods-SnowplowSwiftDemo"; + path = "Target Support Files/Pods-SnowplowSwiftDemo"; + sourceTree = ""; + }; + BB2E64372C85DCE4F17DFE74549817EE /* Pods-SnowplowSwiftDemoUITests */ = { + isa = PBXGroup; + children = ( + 88288C3DDBF9D0176AA54FFDAC33B645 /* Info.plist */, + 894990CBA57E08F0FBA6068E00968BBC /* Pods-SnowplowSwiftDemoUITests.modulemap */, + A5CA19474B8D0E4A67B7FD8208BF7726 /* Pods-SnowplowSwiftDemoUITests-acknowledgements.markdown */, + CC07F7A45DDDD4C845F3B3102B9029F2 /* Pods-SnowplowSwiftDemoUITests-acknowledgements.plist */, + 7A9797AAB54775FC9EE31598180DBC34 /* Pods-SnowplowSwiftDemoUITests-dummy.m */, + 8FADD0FCA01EB2781CB6107F19AFB309 /* Pods-SnowplowSwiftDemoUITests-frameworks.sh */, + 26BE55BECAC37B385E60DFCA91413C49 /* Pods-SnowplowSwiftDemoUITests-resources.sh */, + 2940C9AD2EDB745799564AE103C2DE5E /* Pods-SnowplowSwiftDemoUITests-umbrella.h */, + 236F3BB41101929D572DA4949EBC8091 /* Pods-SnowplowSwiftDemoUITests.debug.xcconfig */, + 00B419BC5F177F5754D2F9185DD525FE /* Pods-SnowplowSwiftDemoUITests.release.xcconfig */, + ); + name = "Pods-SnowplowSwiftDemoUITests"; + path = "Target Support Files/Pods-SnowplowSwiftDemoUITests"; + sourceTree = ""; + }; + D2D4F106186FEFAE9F67FCFCE3486042 /* Support Files */ = { + isa = PBXGroup; + children = ( + A73BF2C0440D8C81C3FF534AAB462EFD /* Info.plist */, + 09789C8933BB3DAD62FECD3F760820E1 /* Reachability.modulemap */, + 365B9242B8C5F100394406EED519622A /* Reachability.xcconfig */, + 9D1A4F7DB06BDD1B06FE133AAA2346A9 /* Reachability-dummy.m */, + 524B72981C5152E5076A8A65CC7E8C1B /* Reachability-prefix.pch */, + F38BC40945DE380E649EC2F019B25B6B /* Reachability-umbrella.h */, + ); + name = "Support Files"; + path = "../Target Support Files/Reachability"; + sourceTree = ""; + }; + D73C66FE3EC9C692DAD1241270758485 /* Support Files */ = { + isa = PBXGroup; + children = ( + 4A8CD6BE055FB247F89E9B1B9479257B /* FMDB.modulemap */, + D0BC155D85FCDD1F04BD807E69D24707 /* FMDB.xcconfig */, + EC0DA277025D9F19124988D6FB1EFAE7 /* FMDB-dummy.m */, + C045CA2CAE1768EDD98AB84D104C718A /* FMDB-prefix.pch */, + 7875004843A806B7B0C77C8068E3F90B /* FMDB-umbrella.h */, + 755FB8A39B3609A4884DC5391E3C6479 /* Info.plist */, + ); + name = "Support Files"; + path = "../Target Support Files/FMDB"; + sourceTree = ""; + }; + DA23B2A0894B265C43F0D64695E9C67A /* Development Pods */ = { + isa = PBXGroup; + children = ( + 7FE7F301FC38082A68DD6A38DF3CC8CC /* SnowplowTracker */, + ); + name = "Development Pods"; + sourceTree = ""; + }; + DD6626DD5FCBBF98421ECC769AAF1561 /* iOS */ = { + isa = PBXGroup; + children = ( + F6F0647C8E7DB3DA294060161B88109D /* CoreTelephony.framework */, + 33494453EFEAAB9E414C5EF78AF2F9DB /* Foundation.framework */, + FC5C5C21AA256D13A0CB5528FA9C9202 /* SystemConfiguration.framework */, + CC4ABE4C6B4BD190AB3EABA777F9869A /* UIKit.framework */, + ); + name = iOS; + sourceTree = ""; + }; + E91F6196440ACF73EFA381798430F55A /* SwiftTryCatch */ = { + isa = PBXGroup; + children = ( + FE77287645D77E8B1BB48E28FFB277BA /* SwiftTryCatch.h */, + 11262BFCF169032CEC90131D0BE6D33D /* SwiftTryCatch.m */, + 5578EC3875C4F380BFD407C393E6A310 /* Support Files */, + ); + name = SwiftTryCatch; + path = SwiftTryCatch; + sourceTree = ""; + }; + FAFC1A15600D8C66311F8F304F705211 /* Frameworks */ = { + isa = PBXGroup; + children = ( + EA1DFB22B519DB8B69B8E76AC6A7464F /* FMDB.framework */, + EE606520F60FCF7D41B9672BCDCA2D6E /* Reachability.framework */, + DD6626DD5FCBBF98421ECC769AAF1561 /* iOS */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 3D2A080C5CD4ED4520C6AEFA1D6BA26F /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + F11FAB91014130EE233A3429439D38D7 /* FMDatabase.h in Headers */, + A548833BE5FAD40830428F36E77D0F52 /* FMDatabaseAdditions.h in Headers */, + 9B8D84996694C541CD3434386E0A081A /* FMDatabasePool.h in Headers */, + 22554065FA07F1BFE5308A685394CB12 /* FMDatabaseQueue.h in Headers */, + 96E70B43FC04BC99AED1BBD4FB1D7581 /* FMDB-umbrella.h in Headers */, + CCB74062CE0F4B8E5B7483599BC398DA /* FMDB.h in Headers */, + 3E43906B70EB01C06F3AE17008B853B9 /* FMResultSet.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 43389CE8E5B2CA6E04CFE849A4705F14 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + D9F6783ED1B542269C5C191055910091 /* Pods-SnowplowSwiftDemo-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 500459B2DFECCF5D0EB18FC31C2D2EB2 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 5E01664CDEC9B081B300138BC6955D67 /* Pods-SnowplowSwiftDemoUITests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 876169D1A235C0DC548FC78B0D6EF875 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 2FEC01456568184B9180EC0EA558E32C /* Pods-SnowplowSwiftDemoTests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 90E518ABD43EE7608918A926AC14DE2F /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 54301C7CD43F7ACFF668D43E6BD02969 /* SwiftTryCatch-umbrella.h in Headers */, + E2FDA930C3C954B3B70B6F3CBC5468A7 /* SwiftTryCatch.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C7022544B09078BB49312CF13DBFF571 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + F4F4E89DDAE8C2CBDD43851ADEF8A856 /* Reachability-umbrella.h in Headers */, + 9B4123CD616ED1C9D3D8D63B3A959831 /* Reachability.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + F8DCEF551B31EF58D839624A2D1E8B65 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 2C2100D9543EFC5C757DDAFF0DA3A598 /* OpenIDFA.h in Headers */, + DD94AAC9F461E191519B250570A6A6FC /* Snowplow.h in Headers */, + F232D9E96B1819527ECAC1D0DF19E035 /* SnowplowTracker-umbrella.h in Headers */, + B03449621852F2EE83EDFDB37F2C93A7 /* SPEmitter.h in Headers */, + 8BA3EB7B88B975B81D01F61AD97F3BE3 /* SPEvent.h in Headers */, + 2C7E2CA3045AE54B0336E56498BDA359 /* SPEventStore.h in Headers */, + EB97516DAE243DEBAFF37488C814BD52 /* SPPayload.h in Headers */, + 24C441B6D7690B1E3E05F3B72E78C1D0 /* SPRequestCallback.h in Headers */, + E4ACB7794AA22C62A79DF0A47CD61201 /* SPRequestResponse.h in Headers */, + E8311FF2D47535CCBA95C56BC803733F /* SPSelfDescribingJson.h in Headers */, + B1F4B5E7ECDC9C61CB56B7CF3B31E218 /* SPSession.h in Headers */, + 6DFCDD92984B992097B1A252195057D2 /* SPSubject.h in Headers */, + F374165C9DA576ED42BFE967FA3B903D /* SPTracker.h in Headers */, + 3B5D1D185A4DED646C3AB9083B6682A8 /* SPUtilities.h in Headers */, + 9B9C4122D2D6F47002A532468AE3ABD5 /* SPWeakTimerTarget.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 11F6CE483D427D336E283E03104A6898 /* Pods-SnowplowSwiftDemoUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = E3A5064B464F7D1D50ABA2E6F5C1E237 /* Build configuration list for PBXNativeTarget "Pods-SnowplowSwiftDemoUITests" */; + buildPhases = ( + BAA23DE5272D3429FC046BC22CBB711C /* Sources */, + 25823CAA6BDBACEFE96CB76E5F6CA107 /* Frameworks */, + 500459B2DFECCF5D0EB18FC31C2D2EB2 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Pods-SnowplowSwiftDemoUITests"; + productName = "Pods-SnowplowSwiftDemoUITests"; + productReference = C3BE449A3F9EE3349761ACDF54F94FC6 /* Pods_SnowplowSwiftDemoUITests.framework */; + productType = "com.apple.product-type.framework"; + }; + 251BAD17812F7EBF6532EACF66F941C3 /* FMDB */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5B0566FF0CE681AC326D316CEC45A8CF /* Build configuration list for PBXNativeTarget "FMDB" */; + buildPhases = ( + 8FE0D4B503A94502F3431DC0DCB58040 /* Sources */, + EEFB61A65EB8DA6653B544822EB9CE44 /* Frameworks */, + 3D2A080C5CD4ED4520C6AEFA1D6BA26F /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = FMDB; + productName = FMDB; + productReference = 924D0199AE30DF87CCBFCED5D8BADD76 /* FMDB.framework */; + productType = "com.apple.product-type.framework"; + }; + 5D582B79A04C55D49FEB2BB979615706 /* SnowplowTracker */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3B4F1A824503DD8DE89C8A7A3D93882D /* Build configuration list for PBXNativeTarget "SnowplowTracker" */; + buildPhases = ( + 1A9D5FF108386D29D3419FE693F57BE0 /* Sources */, + 964B4AD23FFA63B9163E4DC27D4DE73F /* Frameworks */, + F8DCEF551B31EF58D839624A2D1E8B65 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + D8B2683ECCB876466C791FD53C5A53DD /* PBXTargetDependency */, + B87F661FB9BEBF947929AC8EF8A144FD /* PBXTargetDependency */, + ); + name = SnowplowTracker; + productName = SnowplowTracker; + productReference = BED6D3F17155872A76F900A1C8E42D1E /* SnowplowTracker.framework */; + productType = "com.apple.product-type.framework"; + }; + A16BF73C1BD6CD0C390329455E414F6E /* Pods-SnowplowSwiftDemo */ = { + isa = PBXNativeTarget; + buildConfigurationList = 9372B454AF084E5726D780AD7E2708E0 /* Build configuration list for PBXNativeTarget "Pods-SnowplowSwiftDemo" */; + buildPhases = ( + E45C675AAFBDA7A0F3C8A4A3FC8A4AA7 /* Sources */, + 165019A32235987D91C5BAA3BF5A878E /* Frameworks */, + 43389CE8E5B2CA6E04CFE849A4705F14 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + 0491F6AB3C11FD65D7523750283DE5E0 /* PBXTargetDependency */, + 70E081E55BCDB1C2648072E3EC024F5E /* PBXTargetDependency */, + 66876B61D87834412873F826D410513F /* PBXTargetDependency */, + 99F397988E5540A9EB34A4A94450855B /* PBXTargetDependency */, + ); + name = "Pods-SnowplowSwiftDemo"; + productName = "Pods-SnowplowSwiftDemo"; + productReference = EAA97F733C993CF782276DCD9E193B73 /* Pods_SnowplowSwiftDemo.framework */; + productType = "com.apple.product-type.framework"; + }; + B88C03DB218EB44A1FF8AD90B3FA6EF0 /* SwiftTryCatch */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5F8F1CEE1C8868115FFE34EA8726BBA1 /* Build configuration list for PBXNativeTarget "SwiftTryCatch" */; + buildPhases = ( + A34AB5E8206022A4083AEA888A8D711C /* Sources */, + 17209E2B6BE4E043A0D0BF64FFC8F238 /* Frameworks */, + 90E518ABD43EE7608918A926AC14DE2F /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SwiftTryCatch; + productName = SwiftTryCatch; + productReference = 1F63FDB513052873E41DA4A223B94696 /* SwiftTryCatch.framework */; + productType = "com.apple.product-type.framework"; + }; + E9B61A0CC719201A7D3C04723B0AFD36 /* Reachability */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3DCF5DB2C10EED91FE0674716DCB7D66 /* Build configuration list for PBXNativeTarget "Reachability" */; + buildPhases = ( + 6D8494C456A52FB004A1245B70FB6C7D /* Sources */, + 9EB5BCA709040D51746BEA64715BEEC7 /* Frameworks */, + C7022544B09078BB49312CF13DBFF571 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Reachability; + productName = Reachability; + productReference = 41FE4DB6E3E7F7A51866EAEF687FAAAA /* Reachability.framework */; + productType = "com.apple.product-type.framework"; + }; + FE40366E15079A86E28282A994A1F04F /* Pods-SnowplowSwiftDemoTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = A1348D04C05EBF5D6954822284222CB0 /* Build configuration list for PBXNativeTarget "Pods-SnowplowSwiftDemoTests" */; + buildPhases = ( + C67DF7117A15E577A7F6C1B579915337 /* Sources */, + D261D10F0C2DB0EA05D6322E77D602D9 /* Frameworks */, + 876169D1A235C0DC548FC78B0D6EF875 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Pods-SnowplowSwiftDemoTests"; + productName = "Pods-SnowplowSwiftDemoTests"; + productReference = 482A47EDEC8B1959D61665FAFB1409FC /* Pods_SnowplowSwiftDemoTests.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0830; + LastUpgradeCheck = 0700; + }; + buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 7DB346D0F39D3F0E887471402A8071AB; + productRefGroup = 2F0F5D6269BCA6D2CBABD9849C75BEB4 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 251BAD17812F7EBF6532EACF66F941C3 /* FMDB */, + A16BF73C1BD6CD0C390329455E414F6E /* Pods-SnowplowSwiftDemo */, + FE40366E15079A86E28282A994A1F04F /* Pods-SnowplowSwiftDemoTests */, + 11F6CE483D427D336E283E03104A6898 /* Pods-SnowplowSwiftDemoUITests */, + E9B61A0CC719201A7D3C04723B0AFD36 /* Reachability */, + 5D582B79A04C55D49FEB2BB979615706 /* SnowplowTracker */, + B88C03DB218EB44A1FF8AD90B3FA6EF0 /* SwiftTryCatch */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 1A9D5FF108386D29D3419FE693F57BE0 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6355E6DCC830EDC160543DB3BD31CFD3 /* OpenIDFA.m in Sources */, + 5C092592F677BDC3927BC9E6125B1480 /* Snowplow.m in Sources */, + 13C2FD0A01C708B291F1C2FABE60CF76 /* SnowplowTracker-dummy.m in Sources */, + 6505722983E1B4C71FB33D874125C0D8 /* SPEmitter.m in Sources */, + 9EF3A66CD428EB6ADE6E95E1CD6C175F /* SPEvent.m in Sources */, + 2ADDE71DC95372CD545F4EBC7FE3E43F /* SPEventStore.m in Sources */, + DF361AD60760A87619CDCEF073930924 /* SPPayload.m in Sources */, + 54BA0FB923A1EE5F96622B31FB150409 /* SPRequestResponse.m in Sources */, + ABAAC406F8E9C9216ED1BB8B47370034 /* SPSelfDescribingJson.m in Sources */, + 2A427F31058BE5DFEAEC03A3EFF271FA /* SPSession.m in Sources */, + 2FCB4AC9010772385F3CB052C91DC2F3 /* SPSubject.m in Sources */, + FBDB4A8A2FB04235BFFC1A60FC833EB3 /* SPTracker.m in Sources */, + ACAD7F3F3D0F9CBE4BA5F994C9D6331D /* SPUtilities.m in Sources */, + B3FD468AEECC37487FE570671D9127DB /* SPWeakTimerTarget.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6D8494C456A52FB004A1245B70FB6C7D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 9803F7CB519C91323B1E8D239E1B0AED /* Reachability-dummy.m in Sources */, + E29E4DD3FCCCD70B5F4A1CF3863809D8 /* Reachability.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 8FE0D4B503A94502F3431DC0DCB58040 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 37F097E2269EF1BD238AD7449D796445 /* FMDatabase.m in Sources */, + 9C11A290C9C5866A185A54F1EC04E2BB /* FMDatabaseAdditions.m in Sources */, + C605A44DF96E7FCACF7D6E37B62F795D /* FMDatabasePool.m in Sources */, + A1B5D80A8998311B8C9043E6942925E6 /* FMDatabaseQueue.m in Sources */, + D5991941DC41DDDDDACAE0B5D47A4639 /* FMDB-dummy.m in Sources */, + 87ECA447DB887426665260651B7F147E /* FMResultSet.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A34AB5E8206022A4083AEA888A8D711C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 29A0C7D92865DE928C6184D73E13CD6C /* SwiftTryCatch-dummy.m in Sources */, + F44365D71F14050F48E6432C541C4022 /* SwiftTryCatch.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BAA23DE5272D3429FC046BC22CBB711C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1C37CDBF71D6906DAFFBD4CA40354650 /* Pods-SnowplowSwiftDemoUITests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C67DF7117A15E577A7F6C1B579915337 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + AACFBABD376C81CDA182F4A9F0E6B992 /* Pods-SnowplowSwiftDemoTests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E45C675AAFBDA7A0F3C8A4A3FC8A4AA7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D735B973F25E55774375DB923B221371 /* Pods-SnowplowSwiftDemo-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 0491F6AB3C11FD65D7523750283DE5E0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = FMDB; + target = 251BAD17812F7EBF6532EACF66F941C3 /* FMDB */; + targetProxy = D1FC9C0FE23848F67F9EDFC47018462C /* PBXContainerItemProxy */; + }; + 66876B61D87834412873F826D410513F /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = SnowplowTracker; + target = 5D582B79A04C55D49FEB2BB979615706 /* SnowplowTracker */; + targetProxy = BED1A8653AD267CF41BD376660768B0B /* PBXContainerItemProxy */; + }; + 70E081E55BCDB1C2648072E3EC024F5E /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Reachability; + target = E9B61A0CC719201A7D3C04723B0AFD36 /* Reachability */; + targetProxy = 385818D769AC4E53484A2A1B3F2320C2 /* PBXContainerItemProxy */; + }; + 99F397988E5540A9EB34A4A94450855B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = SwiftTryCatch; + target = B88C03DB218EB44A1FF8AD90B3FA6EF0 /* SwiftTryCatch */; + targetProxy = B1818DDB82B29D2BC98BBB171090EA7A /* PBXContainerItemProxy */; + }; + B87F661FB9BEBF947929AC8EF8A144FD /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Reachability; + target = E9B61A0CC719201A7D3C04723B0AFD36 /* Reachability */; + targetProxy = 075DF89432C3385EBFEFE6EBD145AD5E /* PBXContainerItemProxy */; + }; + D8B2683ECCB876466C791FD53C5A53DD /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = FMDB; + target = 251BAD17812F7EBF6532EACF66F941C3 /* FMDB */; + targetProxy = 478D6710C84D2967E5DDBC7C81D8B4C6 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 0147306617F11BECF82796BF4FF2FED1 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E4E095396E68DA369FDADA38AD18CE23 /* Pods-SnowplowSwiftDemo.debug.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-SnowplowSwiftDemo/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_SnowplowSwiftDemo; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 0791AACCA9DC91C0B886FC87E38F43D5 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E48F39B6B7390603F777669E6C223109 /* SwiftTryCatch.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/SwiftTryCatch/SwiftTryCatch-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/SwiftTryCatch/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/SwiftTryCatch/SwiftTryCatch.modulemap"; + PRODUCT_NAME = SwiftTryCatch; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 1CA739975C303383A6467990C2499D3A /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 1C5B7FDC86BC415BF567C48BB2E94EE3 /* SnowplowTracker.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/SnowplowTracker/SnowplowTracker-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/SnowplowTracker/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/SnowplowTracker/SnowplowTracker.modulemap"; + PRODUCT_NAME = SnowplowTracker; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 39C5BC78A31CDE101068C530CAC7FA0F /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_REQUIRED = NO; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_DEBUG=1", + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; + STRIP_INSTALLED_PRODUCT = NO; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Debug; + }; + 3DABDDEACB89FC7C43DBD49DC2D8CE57 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 236F3BB41101929D572DA4949EBC8091 /* Pods-SnowplowSwiftDemoUITests.debug.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-SnowplowSwiftDemoUITests/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_SnowplowSwiftDemoUITests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 426736F229ECCEC63F6B03F636E1DD40 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 365B9242B8C5F100394406EED519622A /* Reachability.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/Reachability/Reachability-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Reachability/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Reachability/Reachability.modulemap"; + PRODUCT_NAME = Reachability; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 4F461C03C77286F0AE3332AC727F275B /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = EAD2C5D26374645DEBCC8254A6F446FD /* Pods-SnowplowSwiftDemoTests.release.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-SnowplowSwiftDemoTests/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_SnowplowSwiftDemoTests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 64A46161B03BD9E7A203422A70E7141C /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 1C5B7FDC86BC415BF567C48BB2E94EE3 /* SnowplowTracker.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/SnowplowTracker/SnowplowTracker-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/SnowplowTracker/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/SnowplowTracker/SnowplowTracker.modulemap"; + PRODUCT_NAME = SnowplowTracker; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 771480032289D6807348CB0D93B20141 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F521985242B354667187EB26FCC25BEF /* Pods-SnowplowSwiftDemo.release.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-SnowplowSwiftDemo/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_SnowplowSwiftDemo; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 89C8BB24E37B25BAEEB8FBA01EE05DAF /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_REQUIRED = NO; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_RELEASE=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; + STRIP_INSTALLED_PRODUCT = NO; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Release; + }; + 8F5B8BD9117ED6E90337B5056359CEA5 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 365B9242B8C5F100394406EED519622A /* Reachability.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/Reachability/Reachability-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Reachability/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Reachability/Reachability.modulemap"; + PRODUCT_NAME = Reachability; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + C5ADA865B3BEB8616746ADFBFD5B626A /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 00B419BC5F177F5754D2F9185DD525FE /* Pods-SnowplowSwiftDemoUITests.release.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-SnowplowSwiftDemoUITests/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_SnowplowSwiftDemoUITests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + CA061B5D034EEFADDB64F99F94E5F382 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E48F39B6B7390603F777669E6C223109 /* SwiftTryCatch.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/SwiftTryCatch/SwiftTryCatch-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/SwiftTryCatch/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/SwiftTryCatch/SwiftTryCatch.modulemap"; + PRODUCT_NAME = SwiftTryCatch; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + E039AD3E701A73352D32F178A3E54E28 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = D0BC155D85FCDD1F04BD807E69D24707 /* FMDB.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/FMDB/FMDB-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/FMDB/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/FMDB/FMDB.modulemap"; + PRODUCT_NAME = FMDB; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + E21F3EC0825AC10EC95AC01236C9DF1B /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 290F3B24A5B6A9C9344A2061757397B4 /* Pods-SnowplowSwiftDemoTests.debug.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-SnowplowSwiftDemoTests/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_SnowplowSwiftDemoTests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + FA01745AA02C3B0771BEF18EE821B26A /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = D0BC155D85FCDD1F04BD807E69D24707 /* FMDB.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/FMDB/FMDB-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/FMDB/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/FMDB/FMDB.modulemap"; + PRODUCT_NAME = FMDB; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 39C5BC78A31CDE101068C530CAC7FA0F /* Debug */, + 89C8BB24E37B25BAEEB8FBA01EE05DAF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3B4F1A824503DD8DE89C8A7A3D93882D /* Build configuration list for PBXNativeTarget "SnowplowTracker" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1CA739975C303383A6467990C2499D3A /* Debug */, + 64A46161B03BD9E7A203422A70E7141C /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3DCF5DB2C10EED91FE0674716DCB7D66 /* Build configuration list for PBXNativeTarget "Reachability" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 8F5B8BD9117ED6E90337B5056359CEA5 /* Debug */, + 426736F229ECCEC63F6B03F636E1DD40 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 5B0566FF0CE681AC326D316CEC45A8CF /* Build configuration list for PBXNativeTarget "FMDB" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E039AD3E701A73352D32F178A3E54E28 /* Debug */, + FA01745AA02C3B0771BEF18EE821B26A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 5F8F1CEE1C8868115FFE34EA8726BBA1 /* Build configuration list for PBXNativeTarget "SwiftTryCatch" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 0791AACCA9DC91C0B886FC87E38F43D5 /* Debug */, + CA061B5D034EEFADDB64F99F94E5F382 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 9372B454AF084E5726D780AD7E2708E0 /* Build configuration list for PBXNativeTarget "Pods-SnowplowSwiftDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 0147306617F11BECF82796BF4FF2FED1 /* Debug */, + 771480032289D6807348CB0D93B20141 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A1348D04C05EBF5D6954822284222CB0 /* Build configuration list for PBXNativeTarget "Pods-SnowplowSwiftDemoTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E21F3EC0825AC10EC95AC01236C9DF1B /* Debug */, + 4F461C03C77286F0AE3332AC727F275B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E3A5064B464F7D1D50ABA2E6F5C1E237 /* Build configuration list for PBXNativeTarget "Pods-SnowplowSwiftDemoUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3DABDDEACB89FC7C43DBD49DC2D8CE57 /* Debug */, + C5ADA865B3BEB8616746ADFBFD5B626A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; +} diff --git a/SnowplowSwiftDemo/Pods/Reachability/LICENCE.txt b/SnowplowSwiftDemo/Pods/Reachability/LICENCE.txt new file mode 100644 index 000000000..12b7844c3 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Reachability/LICENCE.txt @@ -0,0 +1,24 @@ +Copyright (c) 2011-2013, Tony Million. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. diff --git a/SnowplowSwiftDemo/Pods/Reachability/README.md b/SnowplowSwiftDemo/Pods/Reachability/README.md new file mode 100644 index 000000000..4814e6d4b --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Reachability/README.md @@ -0,0 +1,75 @@ +[![Reference Status](https://www.versioneye.com/objective-c/reachability/reference_badge.svg?style=flat)](https://www.versioneye.com/objective-c/reachability/references) + +# Reachability + +This is a drop-in replacement for Apple's `Reachability` class. It is ARC-compatible, and it uses the new GCD methods to notify of network interface changes. + +In addition to the standard `NSNotification`, it supports the use of blocks for when the network becomes reachable and unreachable. + +Finally, you can specify whether a WWAN connection is considered "reachable". + +*DO NOT OPEN BUGS UNTIL YOU HAVE TESTED ON DEVICE* + +## Requirements + +Once you have added the `.h/m` files to your project, simply: + +* Go to the `Project->TARGETS->Build Phases->Link Binary With Libraries`. +* Press the plus in the lower left of the list. +* Add `SystemConfiguration.framework`. + +Boom, you're done. + +## Examples + +### Block Example + +This sample uses blocks to notify when the interface state has changed. The blocks will be called on a **BACKGROUND THREAD**, so you need to dispatch UI updates onto the main thread. + + // Allocate a reachability object + Reachability* reach = [Reachability reachabilityWithHostname:@"www.google.com"]; + + // Set the blocks + reach.reachableBlock = ^(Reachability*reach) + { + // keep in mind this is called on a background thread + // and if you are updating the UI it needs to happen + // on the main thread, like this: + + dispatch_async(dispatch_get_main_queue(), ^{ + NSLog(@"REACHABLE!"); + }); + }; + + reach.unreachableBlock = ^(Reachability*reach) + { + NSLog(@"UNREACHABLE!"); + }; + + // Start the notifier, which will cause the reachability object to retain itself! + [reach startNotifier]; + +### `NSNotification` Example + +This sample will use `NSNotification`s to notify when the interface has changed. They will be delivered on the **MAIN THREAD**, so you *can* do UI updates from within the function. + +In addition, it asks the `Reachability` object to consider the WWAN (3G/EDGE/CDMA) as a non-reachable connection (you might use this if you are writing a video streaming app, for example, to save the user's data plan). + + // Allocate a reachability object + Reachability* reach = [Reachability reachabilityWithHostname:@"www.google.com"]; + + // Tell the reachability that we DON'T want to be reachable on 3G/EDGE/CDMA + reach.reachableOnWWAN = NO; + + // Here we set up a NSNotification observer. The Reachability that caused the notification + // is passed in the object parameter + [[NSNotificationCenter defaultCenter] addObserver:self + selector:@selector(reachabilityChanged:) + name:kReachabilityChangedNotification + object:nil]; + + [reach startNotifier]; + +## Tell the world + +Head over to [Projects using Reachability](https://github.com/tonymillion/Reachability/wiki/Projects-using-Reachability) and add your project for "Maximum Wins!". diff --git a/SnowplowSwiftDemo/Pods/Reachability/Reachability.h b/SnowplowSwiftDemo/Pods/Reachability/Reachability.h new file mode 100644 index 000000000..c43215236 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Reachability/Reachability.h @@ -0,0 +1,95 @@ +/* + Copyright (c) 2011, Tony Million. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + */ + +#import +#import + + +/** + * Create NS_ENUM macro if it does not exist on the targeted version of iOS or OS X. + * + * @see http://nshipster.com/ns_enum-ns_options/ + **/ +#ifndef NS_ENUM +#define NS_ENUM(_type, _name) enum _name : _type _name; enum _name : _type +#endif + +extern NSString *const kReachabilityChangedNotification; + +typedef NS_ENUM(NSInteger, NetworkStatus) { + // Apple NetworkStatus Compatible Names. + NotReachable = 0, + ReachableViaWiFi = 2, + ReachableViaWWAN = 1 +}; + +@class Reachability; + +typedef void (^NetworkReachable)(Reachability * reachability); +typedef void (^NetworkUnreachable)(Reachability * reachability); + + +@interface Reachability : NSObject + +@property (nonatomic, copy) NetworkReachable reachableBlock; +@property (nonatomic, copy) NetworkUnreachable unreachableBlock; + +@property (nonatomic, assign) BOOL reachableOnWWAN; + + ++(Reachability*)reachabilityWithHostname:(NSString*)hostname; +// This is identical to the function above, but is here to maintain +//compatibility with Apples original code. (see .m) ++(Reachability*)reachabilityWithHostName:(NSString*)hostname; ++(Reachability*)reachabilityForInternetConnection; ++(Reachability*)reachabilityWithAddress:(void *)hostAddress; ++(Reachability*)reachabilityForLocalWiFi; + +-(Reachability *)initWithReachabilityRef:(SCNetworkReachabilityRef)ref; + +-(BOOL)startNotifier; +-(void)stopNotifier; + +-(BOOL)isReachable; +-(BOOL)isReachableViaWWAN; +-(BOOL)isReachableViaWiFi; + +// WWAN may be available, but not active until a connection has been established. +// WiFi may require a connection for VPN on Demand. +-(BOOL)isConnectionRequired; // Identical DDG variant. +-(BOOL)connectionRequired; // Apple's routine. +// Dynamic, on demand connection? +-(BOOL)isConnectionOnDemand; +// Is user intervention required? +-(BOOL)isInterventionRequired; + +-(NetworkStatus)currentReachabilityStatus; +-(SCNetworkReachabilityFlags)reachabilityFlags; +-(NSString*)currentReachabilityString; +-(NSString*)currentReachabilityFlags; + +@end diff --git a/SnowplowSwiftDemo/Pods/Reachability/Reachability.m b/SnowplowSwiftDemo/Pods/Reachability/Reachability.m new file mode 100644 index 000000000..f2952d934 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Reachability/Reachability.m @@ -0,0 +1,469 @@ +/* + Copyright (c) 2011, Tony Million. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + */ + +#import "Reachability.h" + +#import +#import +#import +#import +#import +#import + + +NSString *const kReachabilityChangedNotification = @"kReachabilityChangedNotification"; + + +@interface Reachability () + +@property (nonatomic, assign) SCNetworkReachabilityRef reachabilityRef; +@property (nonatomic, strong) dispatch_queue_t reachabilitySerialQueue; +@property (nonatomic, strong) id reachabilityObject; + +-(void)reachabilityChanged:(SCNetworkReachabilityFlags)flags; +-(BOOL)isReachableWithFlags:(SCNetworkReachabilityFlags)flags; + +@end + + +static NSString *reachabilityFlags(SCNetworkReachabilityFlags flags) +{ + return [NSString stringWithFormat:@"%c%c %c%c%c%c%c%c%c", +#if TARGET_OS_IPHONE + (flags & kSCNetworkReachabilityFlagsIsWWAN) ? 'W' : '-', +#else + 'X', +#endif + (flags & kSCNetworkReachabilityFlagsReachable) ? 'R' : '-', + (flags & kSCNetworkReachabilityFlagsConnectionRequired) ? 'c' : '-', + (flags & kSCNetworkReachabilityFlagsTransientConnection) ? 't' : '-', + (flags & kSCNetworkReachabilityFlagsInterventionRequired) ? 'i' : '-', + (flags & kSCNetworkReachabilityFlagsConnectionOnTraffic) ? 'C' : '-', + (flags & kSCNetworkReachabilityFlagsConnectionOnDemand) ? 'D' : '-', + (flags & kSCNetworkReachabilityFlagsIsLocalAddress) ? 'l' : '-', + (flags & kSCNetworkReachabilityFlagsIsDirect) ? 'd' : '-']; +} + +// Start listening for reachability notifications on the current run loop +static void TMReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkReachabilityFlags flags, void* info) +{ +#pragma unused (target) + + Reachability *reachability = ((__bridge Reachability*)info); + + // We probably don't need an autoreleasepool here, as GCD docs state each queue has its own autorelease pool, + // but what the heck eh? + @autoreleasepool + { + [reachability reachabilityChanged:flags]; + } +} + + +@implementation Reachability + +#pragma mark - Class Constructor Methods + ++(Reachability*)reachabilityWithHostName:(NSString*)hostname +{ + return [Reachability reachabilityWithHostname:hostname]; +} + ++(Reachability*)reachabilityWithHostname:(NSString*)hostname +{ + SCNetworkReachabilityRef ref = SCNetworkReachabilityCreateWithName(NULL, [hostname UTF8String]); + if (ref) + { + id reachability = [[self alloc] initWithReachabilityRef:ref]; + + return reachability; + } + + return nil; +} + ++(Reachability *)reachabilityWithAddress:(void *)hostAddress +{ + SCNetworkReachabilityRef ref = SCNetworkReachabilityCreateWithAddress(kCFAllocatorDefault, (const struct sockaddr*)hostAddress); + if (ref) + { + id reachability = [[self alloc] initWithReachabilityRef:ref]; + + return reachability; + } + + return nil; +} + ++(Reachability *)reachabilityForInternetConnection +{ + struct sockaddr_in zeroAddress; + bzero(&zeroAddress, sizeof(zeroAddress)); + zeroAddress.sin_len = sizeof(zeroAddress); + zeroAddress.sin_family = AF_INET; + + return [self reachabilityWithAddress:&zeroAddress]; +} + ++(Reachability*)reachabilityForLocalWiFi +{ + struct sockaddr_in localWifiAddress; + bzero(&localWifiAddress, sizeof(localWifiAddress)); + localWifiAddress.sin_len = sizeof(localWifiAddress); + localWifiAddress.sin_family = AF_INET; + // IN_LINKLOCALNETNUM is defined in as 169.254.0.0 + localWifiAddress.sin_addr.s_addr = htonl(IN_LINKLOCALNETNUM); + + return [self reachabilityWithAddress:&localWifiAddress]; +} + + +// Initialization methods + +-(Reachability *)initWithReachabilityRef:(SCNetworkReachabilityRef)ref +{ + self = [super init]; + if (self != nil) + { + self.reachableOnWWAN = YES; + self.reachabilityRef = ref; + + // We need to create a serial queue. + // We allocate this once for the lifetime of the notifier. + + self.reachabilitySerialQueue = dispatch_queue_create("com.tonymillion.reachability", NULL); + } + + return self; +} + +-(void)dealloc +{ + [self stopNotifier]; + + if(self.reachabilityRef) + { + CFRelease(self.reachabilityRef); + self.reachabilityRef = nil; + } + + self.reachableBlock = nil; + self.unreachableBlock = nil; + self.reachabilitySerialQueue = nil; +} + +#pragma mark - Notifier Methods + +// Notifier +// NOTE: This uses GCD to trigger the blocks - they *WILL NOT* be called on THE MAIN THREAD +// - In other words DO NOT DO ANY UI UPDATES IN THE BLOCKS. +// INSTEAD USE dispatch_async(dispatch_get_main_queue(), ^{UISTUFF}) (or dispatch_sync if you want) + +-(BOOL)startNotifier +{ + // allow start notifier to be called multiple times + if(self.reachabilityObject && (self.reachabilityObject == self)) + { + return YES; + } + + + SCNetworkReachabilityContext context = { 0, NULL, NULL, NULL, NULL }; + context.info = (__bridge void *)self; + + if(SCNetworkReachabilitySetCallback(self.reachabilityRef, TMReachabilityCallback, &context)) + { + // Set it as our reachability queue, which will retain the queue + if(SCNetworkReachabilitySetDispatchQueue(self.reachabilityRef, self.reachabilitySerialQueue)) + { + // this should do a retain on ourself, so as long as we're in notifier mode we shouldn't disappear out from under ourselves + // woah + self.reachabilityObject = self; + return YES; + } + else + { +#ifdef DEBUG + NSLog(@"SCNetworkReachabilitySetDispatchQueue() failed: %s", SCErrorString(SCError())); +#endif + + // UH OH - FAILURE - stop any callbacks! + SCNetworkReachabilitySetCallback(self.reachabilityRef, NULL, NULL); + } + } + else + { +#ifdef DEBUG + NSLog(@"SCNetworkReachabilitySetCallback() failed: %s", SCErrorString(SCError())); +#endif + } + + // if we get here we fail at the internet + self.reachabilityObject = nil; + return NO; +} + +-(void)stopNotifier +{ + // First stop, any callbacks! + SCNetworkReachabilitySetCallback(self.reachabilityRef, NULL, NULL); + + // Unregister target from the GCD serial dispatch queue. + SCNetworkReachabilitySetDispatchQueue(self.reachabilityRef, NULL); + + self.reachabilityObject = nil; +} + +#pragma mark - reachability tests + +// This is for the case where you flick the airplane mode; +// you end up getting something like this: +//Reachability: WR ct----- +//Reachability: -- ------- +//Reachability: WR ct----- +//Reachability: -- ------- +// We treat this as 4 UNREACHABLE triggers - really apple should do better than this + +#define testcase (kSCNetworkReachabilityFlagsConnectionRequired | kSCNetworkReachabilityFlagsTransientConnection) + +-(BOOL)isReachableWithFlags:(SCNetworkReachabilityFlags)flags +{ + BOOL connectionUP = YES; + + if(!(flags & kSCNetworkReachabilityFlagsReachable)) + connectionUP = NO; + + if( (flags & testcase) == testcase ) + connectionUP = NO; + +#if TARGET_OS_IPHONE + if(flags & kSCNetworkReachabilityFlagsIsWWAN) + { + // We're on 3G. + if(!self.reachableOnWWAN) + { + // We don't want to connect when on 3G. + connectionUP = NO; + } + } +#endif + + return connectionUP; +} + +-(BOOL)isReachable +{ + SCNetworkReachabilityFlags flags; + + if(!SCNetworkReachabilityGetFlags(self.reachabilityRef, &flags)) + return NO; + + return [self isReachableWithFlags:flags]; +} + +-(BOOL)isReachableViaWWAN +{ +#if TARGET_OS_IPHONE + + SCNetworkReachabilityFlags flags = 0; + + if(SCNetworkReachabilityGetFlags(self.reachabilityRef, &flags)) + { + // Check we're REACHABLE + if(flags & kSCNetworkReachabilityFlagsReachable) + { + // Now, check we're on WWAN + if(flags & kSCNetworkReachabilityFlagsIsWWAN) + { + return YES; + } + } + } +#endif + + return NO; +} + +-(BOOL)isReachableViaWiFi +{ + SCNetworkReachabilityFlags flags = 0; + + if(SCNetworkReachabilityGetFlags(self.reachabilityRef, &flags)) + { + // Check we're reachable + if((flags & kSCNetworkReachabilityFlagsReachable)) + { +#if TARGET_OS_IPHONE + // Check we're NOT on WWAN + if((flags & kSCNetworkReachabilityFlagsIsWWAN)) + { + return NO; + } +#endif + return YES; + } + } + + return NO; +} + + +// WWAN may be available, but not active until a connection has been established. +// WiFi may require a connection for VPN on Demand. +-(BOOL)isConnectionRequired +{ + return [self connectionRequired]; +} + +-(BOOL)connectionRequired +{ + SCNetworkReachabilityFlags flags; + + if(SCNetworkReachabilityGetFlags(self.reachabilityRef, &flags)) + { + return (flags & kSCNetworkReachabilityFlagsConnectionRequired); + } + + return NO; +} + +// Dynamic, on demand connection? +-(BOOL)isConnectionOnDemand +{ + SCNetworkReachabilityFlags flags; + + if (SCNetworkReachabilityGetFlags(self.reachabilityRef, &flags)) + { + return ((flags & kSCNetworkReachabilityFlagsConnectionRequired) && + (flags & (kSCNetworkReachabilityFlagsConnectionOnTraffic | kSCNetworkReachabilityFlagsConnectionOnDemand))); + } + + return NO; +} + +// Is user intervention required? +-(BOOL)isInterventionRequired +{ + SCNetworkReachabilityFlags flags; + + if (SCNetworkReachabilityGetFlags(self.reachabilityRef, &flags)) + { + return ((flags & kSCNetworkReachabilityFlagsConnectionRequired) && + (flags & kSCNetworkReachabilityFlagsInterventionRequired)); + } + + return NO; +} + + +#pragma mark - reachability status stuff + +-(NetworkStatus)currentReachabilityStatus +{ + if([self isReachable]) + { + if([self isReachableViaWiFi]) + return ReachableViaWiFi; + +#if TARGET_OS_IPHONE + return ReachableViaWWAN; +#endif + } + + return NotReachable; +} + +-(SCNetworkReachabilityFlags)reachabilityFlags +{ + SCNetworkReachabilityFlags flags = 0; + + if(SCNetworkReachabilityGetFlags(self.reachabilityRef, &flags)) + { + return flags; + } + + return 0; +} + +-(NSString*)currentReachabilityString +{ + NetworkStatus temp = [self currentReachabilityStatus]; + + if(temp == ReachableViaWWAN) + { + // Updated for the fact that we have CDMA phones now! + return NSLocalizedString(@"Cellular", @""); + } + if (temp == ReachableViaWiFi) + { + return NSLocalizedString(@"WiFi", @""); + } + + return NSLocalizedString(@"No Connection", @""); +} + +-(NSString*)currentReachabilityFlags +{ + return reachabilityFlags([self reachabilityFlags]); +} + +#pragma mark - Callback function calls this method + +-(void)reachabilityChanged:(SCNetworkReachabilityFlags)flags +{ + if([self isReachableWithFlags:flags]) + { + if(self.reachableBlock) + { + self.reachableBlock(self); + } + } + else + { + if(self.unreachableBlock) + { + self.unreachableBlock(self); + } + } + + // this makes sure the change notification happens on the MAIN THREAD + dispatch_async(dispatch_get_main_queue(), ^{ + [[NSNotificationCenter defaultCenter] postNotificationName:kReachabilityChangedNotification + object:self]; + }); +} + +#pragma mark - Debug Description + +- (NSString *) description +{ + NSString *description = [NSString stringWithFormat:@"<%@: %#x (%@)>", + NSStringFromClass([self class]), (unsigned int) self, [self currentReachabilityFlags]]; + return description; +} + +@end diff --git a/SnowplowSwiftDemo/Pods/SwiftTryCatch/LICENSE b/SnowplowSwiftDemo/Pods/SwiftTryCatch/LICENSE new file mode 100644 index 000000000..ae32350bf --- /dev/null +++ b/SnowplowSwiftDemo/Pods/SwiftTryCatch/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2014 William Falcon + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/SnowplowSwiftDemo/Pods/SwiftTryCatch/README.md b/SnowplowSwiftDemo/Pods/SwiftTryCatch/README.md new file mode 100644 index 000000000..a1e932b15 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/SwiftTryCatch/README.md @@ -0,0 +1,24 @@ +SwiftTryCatch +============= + +Adds try/catch support for Swift + +Simple wrapper built around Objective-C to achieve the same result. + +##Usage + +###1. Create bridging header. +- When prompted with "Would you like to configure an Objective-C bridging header?" press Yes. +- Go to bridging header and add: +````#import "SwiftTryCatch.h"```` + +###2. Use +```` +SwiftTryCatch.try({ () -> Void in + //try something + }, catch: { (error) -> Void in + //handle error + }, finally: { () -> Void in + //close resources +}) +```` diff --git a/SnowplowSwiftDemo/Pods/SwiftTryCatch/SwiftTryCatch.h b/SnowplowSwiftDemo/Pods/SwiftTryCatch/SwiftTryCatch.h new file mode 100644 index 000000000..669781416 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/SwiftTryCatch/SwiftTryCatch.h @@ -0,0 +1,38 @@ +// +// SwiftTryCatch.h +// +// Created by William Falcon on 10/10/14. +// Copyright (c) 2014 William Falcon. All rights reserved. +// +/* + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + */ + +#import +@import UIKit; + +@interface SwiftTryCatch : NSObject + +/** + Provides try catch functionality for swift by wrapping around Objective-C + */ ++ (void)try:(void(^)())try catch:(void(^)(NSException*exception))catch finally:(void(^)())finally; ++ (void)throwString:(NSString*)s; ++ (void)throwException:(NSException*)e; +@end diff --git a/SnowplowSwiftDemo/Pods/SwiftTryCatch/SwiftTryCatch.m b/SnowplowSwiftDemo/Pods/SwiftTryCatch/SwiftTryCatch.m new file mode 100644 index 000000000..f6d879a11 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/SwiftTryCatch/SwiftTryCatch.m @@ -0,0 +1,58 @@ +// +// SwiftTryCatch.h +// +// Created by William Falcon on 10/10/14. +// Copyright (c) 2014 William Falcon. All rights reserved. +// +/* + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + */ + + +#import "SwiftTryCatch.h" + +@implementation SwiftTryCatch + +/** + Provides try catch functionality for swift by wrapping around Objective-C + */ ++(void)try:(void (^)())try catch:(void (^)(NSException *))catch finally:(void (^)())finally{ + @try { + try ? try() : nil; + } + + @catch (NSException *exception) { + catch ? catch(exception) : nil; + } + @finally { + finally ? finally() : nil; + } +} + ++ (void)throwString:(NSString*)s +{ + @throw [NSException exceptionWithName:s reason:s userInfo:nil]; +} + ++ (void)throwException:(NSException*)e +{ + @throw e; +} + +@end diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB-dummy.m b/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB-dummy.m new file mode 100644 index 000000000..20ea8f19e --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_FMDB : NSObject +@end +@implementation PodsDummy_FMDB +@end diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB-prefix.pch b/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB-prefix.pch new file mode 100644 index 000000000..beb2a2441 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB-prefix.pch @@ -0,0 +1,12 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB-umbrella.h b/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB-umbrella.h new file mode 100644 index 000000000..2ad470724 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB-umbrella.h @@ -0,0 +1,22 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "FMDatabase.h" +#import "FMDatabaseAdditions.h" +#import "FMDatabasePool.h" +#import "FMDatabaseQueue.h" +#import "FMDB.h" +#import "FMResultSet.h" + +FOUNDATION_EXPORT double FMDBVersionNumber; +FOUNDATION_EXPORT const unsigned char FMDBVersionString[]; + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB.modulemap b/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB.modulemap new file mode 100644 index 000000000..c1747d598 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB.modulemap @@ -0,0 +1,6 @@ +framework module FMDB { + umbrella header "FMDB-umbrella.h" + + export * + module * { export * } +} diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB.xcconfig b/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB.xcconfig new file mode 100644 index 000000000..6af2a9481 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/FMDB.xcconfig @@ -0,0 +1,10 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FMDB +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" +OTHER_LDFLAGS = -l"sqlite3" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/FMDB +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/Info.plist b/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/Info.plist new file mode 100644 index 000000000..9f1535254 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/FMDB/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 2.6.2 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Info.plist b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Info.plist new file mode 100644 index 000000000..2243fe6e2 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-acknowledgements.markdown b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-acknowledgements.markdown new file mode 100644 index 000000000..68c90a5c6 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-acknowledgements.markdown @@ -0,0 +1,278 @@ +# Acknowledgements +This application makes use of the following third party libraries: + +## FMDB + +If you are using FMDB in your project, I'd love to hear about it. Let Gus know +by sending an email to gus@flyingmeat.com. + +And if you happen to come across either Gus Mueller or Rob Ryan in a bar, you +might consider purchasing a drink of their choosing if FMDB has been useful to +you. + +Finally, and shortly, this is the MIT License. + +Copyright (c) 2008-2014 Flying Meat Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +## Reachability + +Copyright (c) 2011, Tony Million. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +## SnowplowTracker + +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +## SwiftTryCatch + +The MIT License (MIT) + +Copyright (c) 2014 William Falcon + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +Generated by CocoaPods - https://cocoapods.org diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-acknowledgements.plist b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-acknowledgements.plist new file mode 100644 index 000000000..8c2395bc0 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-acknowledgements.plist @@ -0,0 +1,328 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + If you are using FMDB in your project, I'd love to hear about it. Let Gus know +by sending an email to gus@flyingmeat.com. + +And if you happen to come across either Gus Mueller or Rob Ryan in a bar, you +might consider purchasing a drink of their choosing if FMDB has been useful to +you. + +Finally, and shortly, this is the MIT License. + +Copyright (c) 2008-2014 Flying Meat Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + License + MIT + Title + FMDB + Type + PSGroupSpecifier + + + FooterText + Copyright (c) 2011, Tony Million. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + License + BSD + Title + Reachability + Type + PSGroupSpecifier + + + FooterText + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + License + Apache License, Version 2.0 + Title + SnowplowTracker + Type + PSGroupSpecifier + + + FooterText + The MIT License (MIT) + +Copyright (c) 2014 William Falcon + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + License + MIT + Title + SwiftTryCatch + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-dummy.m b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-dummy.m new file mode 100644 index 000000000..7db06eb45 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_SnowplowSwiftDemo : NSObject +@end +@implementation PodsDummy_Pods_SnowplowSwiftDemo +@end diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-frameworks.sh b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-frameworks.sh new file mode 100755 index 000000000..aee0d866e --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-frameworks.sh @@ -0,0 +1,150 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +# Used as a return value for each invocation of `strip_invalid_archs` function. +STRIP_BINARY_RETVAL=0 + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +# Copies and strips a vendored framework +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # Use filter instead of exclude so missing patterns don't throw errors. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi +} + +# Copies and strips a vendored dSYM +install_dsym() { + local source="$1" + if [ -r "$source" ]; then + # Copy the dSYM into a the targets temp dir. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" + + local basename + basename="$(basename -s .framework.dSYM "$source")" + binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then + strip_invalid_archs "$binary" + fi + + if [[ $STRIP_BINARY_RETVAL == 1 ]]; then + # Move the stripped file into its final destination. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" + else + # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. + touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" + fi + fi +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current target binary + binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" + # Intersect them with the architectures we are building for + intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" + # If there are no archs supported by this binary then warn the user + if [[ -z "$intersected_archs" ]]; then + echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." + STRIP_BINARY_RETVAL=0 + return + fi + stripped="" + for arch in $binary_archs; do + if ! [[ "${ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi + STRIP_BINARY_RETVAL=1 +} + + +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/FMDB/FMDB.framework" + install_framework "${BUILT_PRODUCTS_DIR}/Reachability/Reachability.framework" + install_framework "${BUILT_PRODUCTS_DIR}/SnowplowTracker/SnowplowTracker.framework" + install_framework "${BUILT_PRODUCTS_DIR}/SwiftTryCatch/SwiftTryCatch.framework" +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/FMDB/FMDB.framework" + install_framework "${BUILT_PRODUCTS_DIR}/Reachability/Reachability.framework" + install_framework "${BUILT_PRODUCTS_DIR}/SnowplowTracker/SnowplowTracker.framework" + install_framework "${BUILT_PRODUCTS_DIR}/SwiftTryCatch/SwiftTryCatch.framework" +fi +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait +fi diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-resources.sh b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-resources.sh new file mode 100755 index 000000000..a7df4405b --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-resources.sh @@ -0,0 +1,106 @@ +#!/bin/sh +set -e + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + 3) + TARGET_DEVICE_ARGS="--target-device tv" + ;; + 4) + TARGET_DEVICE_ARGS="--target-device watch" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac + +install_resource() +{ + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in + *.storyboard) + 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 + 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} + ;; + *.xib) + 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 + 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} + ;; + *.framework) + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + *) + echo "$RESOURCE_PATH" || true + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "${PODS_ROOT}*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + 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}" +fi diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-umbrella.h b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-umbrella.h new file mode 100644 index 000000000..5b400a61d --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_SnowplowSwiftDemoVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_SnowplowSwiftDemoVersionString[]; + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo.debug.xcconfig b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo.debug.xcconfig new file mode 100644 index 000000000..22df2b0cc --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo.debug.xcconfig @@ -0,0 +1,9 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "${PODS_CONFIGURATION_BUILD_DIR}/Reachability" "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowTracker" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftTryCatch" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/FMDB/FMDB.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Reachability/Reachability.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowTracker/SnowplowTracker.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SwiftTryCatch/SwiftTryCatch.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "FMDB" -framework "Reachability" -framework "SnowplowTracker" -framework "SwiftTryCatch" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo.modulemap b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo.modulemap new file mode 100644 index 000000000..7c356acca --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo.modulemap @@ -0,0 +1,6 @@ +framework module Pods_SnowplowSwiftDemo { + umbrella header "Pods-SnowplowSwiftDemo-umbrella.h" + + export * + module * { export * } +} diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo.release.xcconfig b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo.release.xcconfig new file mode 100644 index 000000000..22df2b0cc --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo.release.xcconfig @@ -0,0 +1,9 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "${PODS_CONFIGURATION_BUILD_DIR}/Reachability" "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowTracker" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftTryCatch" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/FMDB/FMDB.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Reachability/Reachability.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowTracker/SnowplowTracker.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SwiftTryCatch/SwiftTryCatch.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "FMDB" -framework "Reachability" -framework "SnowplowTracker" -framework "SwiftTryCatch" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Info.plist b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Info.plist new file mode 100644 index 000000000..2243fe6e2 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-acknowledgements.markdown b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-acknowledgements.markdown new file mode 100644 index 000000000..102af7538 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-acknowledgements.markdown @@ -0,0 +1,3 @@ +# Acknowledgements +This application makes use of the following third party libraries: +Generated by CocoaPods - https://cocoapods.org diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-acknowledgements.plist b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-acknowledgements.plist new file mode 100644 index 000000000..7acbad1ea --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-acknowledgements.plist @@ -0,0 +1,29 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-dummy.m b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-dummy.m new file mode 100644 index 000000000..6759b4d4e --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_SnowplowSwiftDemoTests : NSObject +@end +@implementation PodsDummy_Pods_SnowplowSwiftDemoTests +@end diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-frameworks.sh b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-frameworks.sh new file mode 100755 index 000000000..881cbaed3 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-frameworks.sh @@ -0,0 +1,137 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +# Used as a return value for each invocation of `strip_invalid_archs` function. +STRIP_BINARY_RETVAL=0 + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +# Copies and strips a vendored framework +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # Use filter instead of exclude so missing patterns don't throw errors. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi +} + +# Copies and strips a vendored dSYM +install_dsym() { + local source="$1" + if [ -r "$source" ]; then + # Copy the dSYM into a the targets temp dir. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" + + local basename + basename="$(basename -s .framework.dSYM "$source")" + binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then + strip_invalid_archs "$binary" + fi + + if [[ $STRIP_BINARY_RETVAL == 1 ]]; then + # Move the stripped file into its final destination. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" + else + # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. + touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" + fi + fi +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current target binary + binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" + # Intersect them with the architectures we are building for + intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" + # If there are no archs supported by this binary then warn the user + if [[ -z "$intersected_archs" ]]; then + echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." + STRIP_BINARY_RETVAL=0 + return + fi + stripped="" + for arch in $binary_archs; do + if ! [[ "${ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi + STRIP_BINARY_RETVAL=1 +} + +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait +fi diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-resources.sh b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-resources.sh new file mode 100755 index 000000000..a7df4405b --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-resources.sh @@ -0,0 +1,106 @@ +#!/bin/sh +set -e + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + 3) + TARGET_DEVICE_ARGS="--target-device tv" + ;; + 4) + TARGET_DEVICE_ARGS="--target-device watch" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac + +install_resource() +{ + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in + *.storyboard) + 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 + 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} + ;; + *.xib) + 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 + 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} + ;; + *.framework) + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + *) + echo "$RESOURCE_PATH" || true + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "${PODS_ROOT}*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + 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}" +fi diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-umbrella.h b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-umbrella.h new file mode 100644 index 000000000..b45401dfc --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_SnowplowSwiftDemoTestsVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_SnowplowSwiftDemoTestsVersionString[]; + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests.debug.xcconfig b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests.debug.xcconfig new file mode 100644 index 000000000..dad117d56 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests.debug.xcconfig @@ -0,0 +1,8 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "${PODS_CONFIGURATION_BUILD_DIR}/Reachability" "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowTracker" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftTryCatch" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/FMDB/FMDB.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Reachability/Reachability.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowTracker/SnowplowTracker.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SwiftTryCatch/SwiftTryCatch.framework/Headers" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests.modulemap b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests.modulemap new file mode 100644 index 000000000..1534f6799 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests.modulemap @@ -0,0 +1,6 @@ +framework module Pods_SnowplowSwiftDemoTests { + umbrella header "Pods-SnowplowSwiftDemoTests-umbrella.h" + + export * + module * { export * } +} diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests.release.xcconfig b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests.release.xcconfig new file mode 100644 index 000000000..dad117d56 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests.release.xcconfig @@ -0,0 +1,8 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "${PODS_CONFIGURATION_BUILD_DIR}/Reachability" "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowTracker" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftTryCatch" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/FMDB/FMDB.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Reachability/Reachability.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowTracker/SnowplowTracker.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SwiftTryCatch/SwiftTryCatch.framework/Headers" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Info.plist b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Info.plist new file mode 100644 index 000000000..2243fe6e2 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-acknowledgements.markdown b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-acknowledgements.markdown new file mode 100644 index 000000000..102af7538 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-acknowledgements.markdown @@ -0,0 +1,3 @@ +# Acknowledgements +This application makes use of the following third party libraries: +Generated by CocoaPods - https://cocoapods.org diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-acknowledgements.plist b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-acknowledgements.plist new file mode 100644 index 000000000..7acbad1ea --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-acknowledgements.plist @@ -0,0 +1,29 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-dummy.m b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-dummy.m new file mode 100644 index 000000000..83a8ad241 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_SnowplowSwiftDemoUITests : NSObject +@end +@implementation PodsDummy_Pods_SnowplowSwiftDemoUITests +@end diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-frameworks.sh b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-frameworks.sh new file mode 100755 index 000000000..881cbaed3 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-frameworks.sh @@ -0,0 +1,137 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +# Used as a return value for each invocation of `strip_invalid_archs` function. +STRIP_BINARY_RETVAL=0 + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +# Copies and strips a vendored framework +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # Use filter instead of exclude so missing patterns don't throw errors. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi +} + +# Copies and strips a vendored dSYM +install_dsym() { + local source="$1" + if [ -r "$source" ]; then + # Copy the dSYM into a the targets temp dir. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" + + local basename + basename="$(basename -s .framework.dSYM "$source")" + binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then + strip_invalid_archs "$binary" + fi + + if [[ $STRIP_BINARY_RETVAL == 1 ]]; then + # Move the stripped file into its final destination. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" + else + # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. + touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" + fi + fi +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current target binary + binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" + # Intersect them with the architectures we are building for + intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" + # If there are no archs supported by this binary then warn the user + if [[ -z "$intersected_archs" ]]; then + echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." + STRIP_BINARY_RETVAL=0 + return + fi + stripped="" + for arch in $binary_archs; do + if ! [[ "${ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi + STRIP_BINARY_RETVAL=1 +} + +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait +fi diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-resources.sh b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-resources.sh new file mode 100755 index 000000000..a7df4405b --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-resources.sh @@ -0,0 +1,106 @@ +#!/bin/sh +set -e + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + 3) + TARGET_DEVICE_ARGS="--target-device tv" + ;; + 4) + TARGET_DEVICE_ARGS="--target-device watch" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac + +install_resource() +{ + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in + *.storyboard) + 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 + 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} + ;; + *.xib) + 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 + 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} + ;; + *.framework) + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + *) + echo "$RESOURCE_PATH" || true + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "${PODS_ROOT}*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + 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}" +fi diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-umbrella.h b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-umbrella.h new file mode 100644 index 000000000..8de2bb952 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_SnowplowSwiftDemoUITestsVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_SnowplowSwiftDemoUITestsVersionString[]; + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests.debug.xcconfig b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests.debug.xcconfig new file mode 100644 index 000000000..dad117d56 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests.debug.xcconfig @@ -0,0 +1,8 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "${PODS_CONFIGURATION_BUILD_DIR}/Reachability" "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowTracker" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftTryCatch" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/FMDB/FMDB.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Reachability/Reachability.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowTracker/SnowplowTracker.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SwiftTryCatch/SwiftTryCatch.framework/Headers" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests.modulemap b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests.modulemap new file mode 100644 index 000000000..3f8de1db0 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests.modulemap @@ -0,0 +1,6 @@ +framework module Pods_SnowplowSwiftDemoUITests { + umbrella header "Pods-SnowplowSwiftDemoUITests-umbrella.h" + + export * + module * { export * } +} diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests.release.xcconfig b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests.release.xcconfig new file mode 100644 index 000000000..dad117d56 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests.release.xcconfig @@ -0,0 +1,8 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "${PODS_CONFIGURATION_BUILD_DIR}/Reachability" "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowTracker" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftTryCatch" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/FMDB/FMDB.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Reachability/Reachability.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SnowplowTracker/SnowplowTracker.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SwiftTryCatch/SwiftTryCatch.framework/Headers" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Info.plist b/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Info.plist new file mode 100644 index 000000000..9ae03a0c1 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 3.2.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability-dummy.m b/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability-dummy.m new file mode 100644 index 000000000..119024a8e --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Reachability : NSObject +@end +@implementation PodsDummy_Reachability +@end diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability-prefix.pch b/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability-prefix.pch new file mode 100644 index 000000000..beb2a2441 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability-prefix.pch @@ -0,0 +1,12 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability-umbrella.h b/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability-umbrella.h new file mode 100644 index 000000000..87c71b104 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability-umbrella.h @@ -0,0 +1,17 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "Reachability.h" + +FOUNDATION_EXPORT double ReachabilityVersionNumber; +FOUNDATION_EXPORT const unsigned char ReachabilityVersionString[]; + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability.modulemap b/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability.modulemap new file mode 100644 index 000000000..fe051ecbc --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability.modulemap @@ -0,0 +1,6 @@ +framework module Reachability { + umbrella header "Reachability-umbrella.h" + + export * + module * { export * } +} diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability.xcconfig b/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability.xcconfig new file mode 100644 index 000000000..f2de22716 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/Reachability/Reachability.xcconfig @@ -0,0 +1,10 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Reachability +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" +OTHER_LDFLAGS = -framework "SystemConfiguration" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/Reachability +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/Info.plist b/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/Info.plist new file mode 100644 index 000000000..75ba4d079 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 0.7.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker-dummy.m b/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker-dummy.m new file mode 100644 index 000000000..c532c0a97 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_SnowplowTracker : NSObject +@end +@implementation PodsDummy_SnowplowTracker +@end diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker-prefix.pch b/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker-prefix.pch new file mode 100644 index 000000000..beb2a2441 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker-prefix.pch @@ -0,0 +1,12 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker-umbrella.h b/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker-umbrella.h new file mode 100644 index 000000000..5daffee73 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker-umbrella.h @@ -0,0 +1,25 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "Snowplow.h" +#import "SPTracker.h" +#import "SPEmitter.h" +#import "SPSubject.h" +#import "SPPayload.h" +#import "SPUtilities.h" +#import "SPRequestCallback.h" +#import "SPEvent.h" +#import "SPSelfDescribingJson.h" + +FOUNDATION_EXPORT double SnowplowTrackerVersionNumber; +FOUNDATION_EXPORT const unsigned char SnowplowTrackerVersionString[]; + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker.modulemap b/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker.modulemap new file mode 100644 index 000000000..73f757ea7 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker.modulemap @@ -0,0 +1,6 @@ +framework module SnowplowTracker { + umbrella header "SnowplowTracker-umbrella.h" + + export * + module * { export * } +} diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker.xcconfig b/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker.xcconfig new file mode 100644 index 000000000..437d1740d --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/SnowplowTracker/SnowplowTracker.xcconfig @@ -0,0 +1,11 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SnowplowTracker +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "${PODS_CONFIGURATION_BUILD_DIR}/Reachability" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" +OTHER_LDFLAGS = -framework "CoreTelephony" -framework "Foundation" -framework "UIKit" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/Info.plist b/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/Info.plist new file mode 100644 index 000000000..cba258550 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 0.0.1 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch-dummy.m b/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch-dummy.m new file mode 100644 index 000000000..fc6f4a788 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_SwiftTryCatch : NSObject +@end +@implementation PodsDummy_SwiftTryCatch +@end diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch-prefix.pch b/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch-prefix.pch new file mode 100644 index 000000000..beb2a2441 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch-prefix.pch @@ -0,0 +1,12 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch-umbrella.h b/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch-umbrella.h new file mode 100644 index 000000000..6d462c03f --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch-umbrella.h @@ -0,0 +1,17 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + +#import "SwiftTryCatch.h" + +FOUNDATION_EXPORT double SwiftTryCatchVersionNumber; +FOUNDATION_EXPORT const unsigned char SwiftTryCatchVersionString[]; + diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch.modulemap b/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch.modulemap new file mode 100644 index 000000000..405f3bd4a --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch.modulemap @@ -0,0 +1,6 @@ +framework module SwiftTryCatch { + umbrella header "SwiftTryCatch-umbrella.h" + + export * + module * { export * } +} diff --git a/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch.xcconfig b/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch.xcconfig new file mode 100644 index 000000000..089756e64 --- /dev/null +++ b/SnowplowSwiftDemo/Pods/Target Support Files/SwiftTryCatch/SwiftTryCatch.xcconfig @@ -0,0 +1,9 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SwiftTryCatch +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/SwiftTryCatch +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES diff --git a/SnowplowSwiftDemo/SnowplowSwiftDemo.xcodeproj/project.pbxproj b/SnowplowSwiftDemo/SnowplowSwiftDemo.xcodeproj/project.pbxproj new file mode 100644 index 000000000..d41158163 --- /dev/null +++ b/SnowplowSwiftDemo/SnowplowSwiftDemo.xcodeproj/project.pbxproj @@ -0,0 +1,809 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 48; + objects = { + +/* Begin PBXBuildFile section */ + 2A91A46A5DDE26320E7D93CF /* Pods_SnowplowSwiftDemoUITests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AAB6A0A5E3864053C325943 /* Pods_SnowplowSwiftDemoUITests.framework */; }; + 37F9F6CDEAE86B6692767C98 /* Pods_SnowplowSwiftDemo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BA085EA303F791A4785D0317 /* Pods_SnowplowSwiftDemo.framework */; }; + 6A65755108989848CE0C8054 /* Pods_SnowplowSwiftDemoTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E11758C67FB90C12B4B8A4DC /* Pods_SnowplowSwiftDemoTests.framework */; }; + 751BBDAF2012727B001DC712 /* DemoUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 751BBDAE2012727B001DC712 /* DemoUtils.swift */; }; + 75699CA3200FB29C00FFC20D /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75699CA2200FB29C00FFC20D /* AppDelegate.swift */; }; + 75699CA5200FB29C00FFC20D /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75699CA4200FB29C00FFC20D /* ViewController.swift */; }; + 75699CA8200FB29C00FFC20D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 75699CA6200FB29C00FFC20D /* Main.storyboard */; }; + 75699CAB200FB29C00FFC20D /* SnowplowSwiftDemo.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 75699CA9200FB29C00FFC20D /* SnowplowSwiftDemo.xcdatamodeld */; }; + 75699CAD200FB29C00FFC20D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 75699CAC200FB29C00FFC20D /* Assets.xcassets */; }; + 75699CB0200FB29C00FFC20D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 75699CAE200FB29C00FFC20D /* LaunchScreen.storyboard */; }; + 75699CBB200FB29C00FFC20D /* SnowplowSwiftDemoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75699CBA200FB29C00FFC20D /* SnowplowSwiftDemoTests.swift */; }; + 75699CC6200FB29C00FFC20D /* SnowplowSwiftDemoUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75699CC5200FB29C00FFC20D /* SnowplowSwiftDemoUITests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 75699CB7200FB29C00FFC20D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 75699C97200FB29C00FFC20D /* Project object */; + proxyType = 1; + remoteGlobalIDString = 75699C9E200FB29C00FFC20D; + remoteInfo = SnowplowSwiftDemo; + }; + 75699CC2200FB29C00FFC20D /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 75699C97200FB29C00FFC20D /* Project object */; + proxyType = 1; + remoteGlobalIDString = 75699C9E200FB29C00FFC20D; + remoteInfo = SnowplowSwiftDemo; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 3AAB6A0A5E3864053C325943 /* Pods_SnowplowSwiftDemoUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SnowplowSwiftDemoUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 751BBDAD2010F62A001DC712 /* SnowplowSwiftDemo-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SnowplowSwiftDemo-Bridging-Header.h"; sourceTree = ""; }; + 751BBDAE2012727B001DC712 /* DemoUtils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DemoUtils.swift; sourceTree = ""; }; + 75699C9F200FB29C00FFC20D /* SnowplowSwiftDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SnowplowSwiftDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 75699CA2200FB29C00FFC20D /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 75699CA4200FB29C00FFC20D /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 75699CA7200FB29C00FFC20D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 75699CAA200FB29C00FFC20D /* SnowplowSwiftDemo.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = SnowplowSwiftDemo.xcdatamodel; sourceTree = ""; }; + 75699CAC200FB29C00FFC20D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 75699CAF200FB29C00FFC20D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 75699CB1200FB29C00FFC20D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 75699CB6200FB29C00FFC20D /* SnowplowSwiftDemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SnowplowSwiftDemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 75699CBA200FB29C00FFC20D /* SnowplowSwiftDemoTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SnowplowSwiftDemoTests.swift; sourceTree = ""; }; + 75699CBC200FB29C00FFC20D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 75699CC1200FB29C00FFC20D /* SnowplowSwiftDemoUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SnowplowSwiftDemoUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 75699CC5200FB29C00FFC20D /* SnowplowSwiftDemoUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SnowplowSwiftDemoUITests.swift; sourceTree = ""; }; + 75699CC7200FB29C00FFC20D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 87E434766DF20C1B18A3B729 /* Pods-SnowplowSwiftDemoUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SnowplowSwiftDemoUITests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests.debug.xcconfig"; sourceTree = ""; }; + 9DDD118A32F2D85E8F0D0AED /* Pods-SnowplowSwiftDemoUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SnowplowSwiftDemoUITests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests.release.xcconfig"; sourceTree = ""; }; + 9F26122FDEA6ED72B53306CF /* Pods-SnowplowSwiftDemoTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SnowplowSwiftDemoTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests.debug.xcconfig"; sourceTree = ""; }; + BA085EA303F791A4785D0317 /* Pods_SnowplowSwiftDemo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SnowplowSwiftDemo.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + BBA16D0C1E8E7A8E97A03E85 /* Pods-SnowplowSwiftDemoTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SnowplowSwiftDemoTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests.release.xcconfig"; sourceTree = ""; }; + E11758C67FB90C12B4B8A4DC /* Pods_SnowplowSwiftDemoTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SnowplowSwiftDemoTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E9454608BA7A48EF58E889C5 /* Pods-SnowplowSwiftDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SnowplowSwiftDemo.release.xcconfig"; path = "Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo.release.xcconfig"; sourceTree = ""; }; + F98A8E557BA74FF98E06AE3C /* Pods-SnowplowSwiftDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SnowplowSwiftDemo.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo.debug.xcconfig"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 75699C9C200FB29C00FFC20D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 37F9F6CDEAE86B6692767C98 /* Pods_SnowplowSwiftDemo.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 75699CB3200FB29C00FFC20D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 6A65755108989848CE0C8054 /* Pods_SnowplowSwiftDemoTests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 75699CBE200FB29C00FFC20D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2A91A46A5DDE26320E7D93CF /* Pods_SnowplowSwiftDemoUITests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 25E1D196848A12AEE0B18094 /* Pods */ = { + isa = PBXGroup; + children = ( + F98A8E557BA74FF98E06AE3C /* Pods-SnowplowSwiftDemo.debug.xcconfig */, + E9454608BA7A48EF58E889C5 /* Pods-SnowplowSwiftDemo.release.xcconfig */, + 9F26122FDEA6ED72B53306CF /* Pods-SnowplowSwiftDemoTests.debug.xcconfig */, + BBA16D0C1E8E7A8E97A03E85 /* Pods-SnowplowSwiftDemoTests.release.xcconfig */, + 87E434766DF20C1B18A3B729 /* Pods-SnowplowSwiftDemoUITests.debug.xcconfig */, + 9DDD118A32F2D85E8F0D0AED /* Pods-SnowplowSwiftDemoUITests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + 75699C96200FB29C00FFC20D = { + isa = PBXGroup; + children = ( + 75699CA1200FB29C00FFC20D /* SnowplowSwiftDemo */, + 75699CB9200FB29C00FFC20D /* SnowplowSwiftDemoTests */, + 75699CC4200FB29C00FFC20D /* SnowplowSwiftDemoUITests */, + 75699CA0200FB29C00FFC20D /* Products */, + 25E1D196848A12AEE0B18094 /* Pods */, + 790118A84309D8ECC4F7AD13 /* Frameworks */, + ); + sourceTree = ""; + }; + 75699CA0200FB29C00FFC20D /* Products */ = { + isa = PBXGroup; + children = ( + 75699C9F200FB29C00FFC20D /* SnowplowSwiftDemo.app */, + 75699CB6200FB29C00FFC20D /* SnowplowSwiftDemoTests.xctest */, + 75699CC1200FB29C00FFC20D /* SnowplowSwiftDemoUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 75699CA1200FB29C00FFC20D /* SnowplowSwiftDemo */ = { + isa = PBXGroup; + children = ( + 751BBDAD2010F62A001DC712 /* SnowplowSwiftDemo-Bridging-Header.h */, + 75699CA2200FB29C00FFC20D /* AppDelegate.swift */, + 75699CA4200FB29C00FFC20D /* ViewController.swift */, + 751BBDAE2012727B001DC712 /* DemoUtils.swift */, + 75699CA6200FB29C00FFC20D /* Main.storyboard */, + 75699CAC200FB29C00FFC20D /* Assets.xcassets */, + 75699CAE200FB29C00FFC20D /* LaunchScreen.storyboard */, + 75699CB1200FB29C00FFC20D /* Info.plist */, + 75699CA9200FB29C00FFC20D /* SnowplowSwiftDemo.xcdatamodeld */, + ); + path = SnowplowSwiftDemo; + sourceTree = ""; + }; + 75699CB9200FB29C00FFC20D /* SnowplowSwiftDemoTests */ = { + isa = PBXGroup; + children = ( + 75699CBA200FB29C00FFC20D /* SnowplowSwiftDemoTests.swift */, + 75699CBC200FB29C00FFC20D /* Info.plist */, + ); + path = SnowplowSwiftDemoTests; + sourceTree = ""; + }; + 75699CC4200FB29C00FFC20D /* SnowplowSwiftDemoUITests */ = { + isa = PBXGroup; + children = ( + 75699CC5200FB29C00FFC20D /* SnowplowSwiftDemoUITests.swift */, + 75699CC7200FB29C00FFC20D /* Info.plist */, + ); + path = SnowplowSwiftDemoUITests; + sourceTree = ""; + }; + 790118A84309D8ECC4F7AD13 /* Frameworks */ = { + isa = PBXGroup; + children = ( + BA085EA303F791A4785D0317 /* Pods_SnowplowSwiftDemo.framework */, + E11758C67FB90C12B4B8A4DC /* Pods_SnowplowSwiftDemoTests.framework */, + 3AAB6A0A5E3864053C325943 /* Pods_SnowplowSwiftDemoUITests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 75699C9E200FB29C00FFC20D /* SnowplowSwiftDemo */ = { + isa = PBXNativeTarget; + buildConfigurationList = 75699CCA200FB29C00FFC20D /* Build configuration list for PBXNativeTarget "SnowplowSwiftDemo" */; + buildPhases = ( + FB2A6FFCCD9619B35D04C8BE /* [CP] Check Pods Manifest.lock */, + 75699C9B200FB29C00FFC20D /* Sources */, + 75699C9C200FB29C00FFC20D /* Frameworks */, + 75699C9D200FB29C00FFC20D /* Resources */, + 2BEF945A8DB2A5B5868B9B87 /* [CP] Embed Pods Frameworks */, + 3DACF74D84B3C56C8ADC28B7 /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SnowplowSwiftDemo; + productName = SnowplowSwiftDemo; + productReference = 75699C9F200FB29C00FFC20D /* SnowplowSwiftDemo.app */; + productType = "com.apple.product-type.application"; + }; + 75699CB5200FB29C00FFC20D /* SnowplowSwiftDemoTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 75699CCD200FB29C00FFC20D /* Build configuration list for PBXNativeTarget "SnowplowSwiftDemoTests" */; + buildPhases = ( + 408090B74D9C70F327A84621 /* [CP] Check Pods Manifest.lock */, + 75699CB2200FB29C00FFC20D /* Sources */, + 75699CB3200FB29C00FFC20D /* Frameworks */, + 75699CB4200FB29C00FFC20D /* Resources */, + A0B9FDC747749C4039B58149 /* [CP] Embed Pods Frameworks */, + 0D5FE904F6DE169C1B857294 /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + 75699CB8200FB29C00FFC20D /* PBXTargetDependency */, + ); + name = SnowplowSwiftDemoTests; + productName = SnowplowSwiftDemoTests; + productReference = 75699CB6200FB29C00FFC20D /* SnowplowSwiftDemoTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 75699CC0200FB29C00FFC20D /* SnowplowSwiftDemoUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 75699CD0200FB29C00FFC20D /* Build configuration list for PBXNativeTarget "SnowplowSwiftDemoUITests" */; + buildPhases = ( + 8BF32F2FEC7EB0D4C70D8C2F /* [CP] Check Pods Manifest.lock */, + 75699CBD200FB29C00FFC20D /* Sources */, + 75699CBE200FB29C00FFC20D /* Frameworks */, + 75699CBF200FB29C00FFC20D /* Resources */, + FCD6C8D31D305B61C9483A81 /* [CP] Embed Pods Frameworks */, + 52089CB6DE25E2EF4AAF2766 /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + 75699CC3200FB29C00FFC20D /* PBXTargetDependency */, + ); + name = SnowplowSwiftDemoUITests; + productName = SnowplowSwiftDemoUITests; + productReference = 75699CC1200FB29C00FFC20D /* SnowplowSwiftDemoUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 75699C97200FB29C00FFC20D /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0920; + LastUpgradeCheck = 0920; + ORGANIZATIONNAME = snowplowanalytics; + TargetAttributes = { + 75699C9E200FB29C00FFC20D = { + CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 0920; + ProvisioningStyle = Manual; + }; + 75699CB5200FB29C00FFC20D = { + CreatedOnToolsVersion = 9.2; + ProvisioningStyle = Automatic; + TestTargetID = 75699C9E200FB29C00FFC20D; + }; + 75699CC0200FB29C00FFC20D = { + CreatedOnToolsVersion = 9.2; + ProvisioningStyle = Automatic; + TestTargetID = 75699C9E200FB29C00FFC20D; + }; + }; + }; + buildConfigurationList = 75699C9A200FB29C00FFC20D /* Build configuration list for PBXProject "SnowplowSwiftDemo" */; + compatibilityVersion = "Xcode 8.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 75699C96200FB29C00FFC20D; + productRefGroup = 75699CA0200FB29C00FFC20D /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 75699C9E200FB29C00FFC20D /* SnowplowSwiftDemo */, + 75699CB5200FB29C00FFC20D /* SnowplowSwiftDemoTests */, + 75699CC0200FB29C00FFC20D /* SnowplowSwiftDemoUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 75699C9D200FB29C00FFC20D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 75699CB0200FB29C00FFC20D /* LaunchScreen.storyboard in Resources */, + 75699CAD200FB29C00FFC20D /* Assets.xcassets in Resources */, + 75699CA8200FB29C00FFC20D /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 75699CB4200FB29C00FFC20D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 75699CBF200FB29C00FFC20D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 0D5FE904F6DE169C1B857294 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 2BEF945A8DB2A5B5868B9B87 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/FMDB/FMDB.framework", + "${BUILT_PRODUCTS_DIR}/Reachability/Reachability.framework", + "${BUILT_PRODUCTS_DIR}/SnowplowTracker/SnowplowTracker.framework", + "${BUILT_PRODUCTS_DIR}/SwiftTryCatch/SwiftTryCatch.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FMDB.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Reachability.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SnowplowTracker.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftTryCatch.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 3DACF74D84B3C56C8ADC28B7 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SnowplowSwiftDemo/Pods-SnowplowSwiftDemo-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 408090B74D9C70F327A84621 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-SnowplowSwiftDemoTests-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + 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"; + showEnvVarsInLog = 0; + }; + 52089CB6DE25E2EF4AAF2766 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 8BF32F2FEC7EB0D4C70D8C2F /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-SnowplowSwiftDemoUITests-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + 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"; + showEnvVarsInLog = 0; + }; + A0B9FDC747749C4039B58149 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SnowplowSwiftDemoTests/Pods-SnowplowSwiftDemoTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + FB2A6FFCCD9619B35D04C8BE /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-SnowplowSwiftDemo-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + 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"; + showEnvVarsInLog = 0; + }; + FCD6C8D31D305B61C9483A81 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SnowplowSwiftDemoUITests/Pods-SnowplowSwiftDemoUITests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 75699C9B200FB29C00FFC20D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 751BBDAF2012727B001DC712 /* DemoUtils.swift in Sources */, + 75699CA5200FB29C00FFC20D /* ViewController.swift in Sources */, + 75699CAB200FB29C00FFC20D /* SnowplowSwiftDemo.xcdatamodeld in Sources */, + 75699CA3200FB29C00FFC20D /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 75699CB2200FB29C00FFC20D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 75699CBB200FB29C00FFC20D /* SnowplowSwiftDemoTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 75699CBD200FB29C00FFC20D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 75699CC6200FB29C00FFC20D /* SnowplowSwiftDemoUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 75699CB8200FB29C00FFC20D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 75699C9E200FB29C00FFC20D /* SnowplowSwiftDemo */; + targetProxy = 75699CB7200FB29C00FFC20D /* PBXContainerItemProxy */; + }; + 75699CC3200FB29C00FFC20D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 75699C9E200FB29C00FFC20D /* SnowplowSwiftDemo */; + targetProxy = 75699CC2200FB29C00FFC20D /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 75699CA6200FB29C00FFC20D /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 75699CA7200FB29C00FFC20D /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 75699CAE200FB29C00FFC20D /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 75699CAF200FB29C00FFC20D /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 75699CC8200FB29C00FFC20D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 75699CC9200FB29C00FFC20D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 75699CCB200FB29C00FFC20D /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F98A8E557BA74FF98E06AE3C /* Pods-SnowplowSwiftDemo.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CODE_SIGN_STYLE = Manual; + DEVELOPMENT_TEAM = ""; + INFOPLIST_FILE = SnowplowSwiftDemo/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.snowplowanalytics.SnowplowSwiftDemo; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_OBJC_BRIDGING_HEADER = "SnowplowSwiftDemo/SnowplowSwiftDemo-Bridging-Header.h"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "Pods/** Development Pods/**"; + }; + name = Debug; + }; + 75699CCC200FB29C00FFC20D /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E9454608BA7A48EF58E889C5 /* Pods-SnowplowSwiftDemo.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CODE_SIGN_STYLE = Manual; + DEVELOPMENT_TEAM = ""; + INFOPLIST_FILE = SnowplowSwiftDemo/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + OTHER_SWIFT_FLAGS = ""; + PRODUCT_BUNDLE_IDENTIFIER = com.snowplowanalytics.SnowplowSwiftDemo; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "-fobjc-arc-exceptions"; + SWIFT_OBJC_BRIDGING_HEADER = "SnowplowSwiftDemo/SnowplowSwiftDemo-Bridging-Header.h"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "Pods/** Development Pods/**"; + }; + name = Release; + }; + 75699CCE200FB29C00FFC20D /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 9F26122FDEA6ED72B53306CF /* Pods-SnowplowSwiftDemoTests.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = SnowplowSwiftDemoTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.snowplowanalytics.SnowplowSwiftDemoTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SnowplowSwiftDemo.app/SnowplowSwiftDemo"; + }; + name = Debug; + }; + 75699CCF200FB29C00FFC20D /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = BBA16D0C1E8E7A8E97A03E85 /* Pods-SnowplowSwiftDemoTests.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = SnowplowSwiftDemoTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.snowplowanalytics.SnowplowSwiftDemoTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SnowplowSwiftDemo.app/SnowplowSwiftDemo"; + }; + name = Release; + }; + 75699CD1200FB29C00FFC20D /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 87E434766DF20C1B18A3B729 /* Pods-SnowplowSwiftDemoUITests.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = SnowplowSwiftDemoUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.snowplowanalytics.SnowplowSwiftDemoUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = SnowplowSwiftDemo; + }; + name = Debug; + }; + 75699CD2200FB29C00FFC20D /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 9DDD118A32F2D85E8F0D0AED /* Pods-SnowplowSwiftDemoUITests.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = SnowplowSwiftDemoUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.snowplowanalytics.SnowplowSwiftDemoUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = SnowplowSwiftDemo; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 75699C9A200FB29C00FFC20D /* Build configuration list for PBXProject "SnowplowSwiftDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 75699CC8200FB29C00FFC20D /* Debug */, + 75699CC9200FB29C00FFC20D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 75699CCA200FB29C00FFC20D /* Build configuration list for PBXNativeTarget "SnowplowSwiftDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 75699CCB200FB29C00FFC20D /* Debug */, + 75699CCC200FB29C00FFC20D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 75699CCD200FB29C00FFC20D /* Build configuration list for PBXNativeTarget "SnowplowSwiftDemoTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 75699CCE200FB29C00FFC20D /* Debug */, + 75699CCF200FB29C00FFC20D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 75699CD0200FB29C00FFC20D /* Build configuration list for PBXNativeTarget "SnowplowSwiftDemoUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 75699CD1200FB29C00FFC20D /* Debug */, + 75699CD2200FB29C00FFC20D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCVersionGroup section */ + 75699CA9200FB29C00FFC20D /* SnowplowSwiftDemo.xcdatamodeld */ = { + isa = XCVersionGroup; + children = ( + 75699CAA200FB29C00FFC20D /* SnowplowSwiftDemo.xcdatamodel */, + ); + currentVersion = 75699CAA200FB29C00FFC20D /* SnowplowSwiftDemo.xcdatamodel */; + path = SnowplowSwiftDemo.xcdatamodeld; + sourceTree = ""; + versionGroupType = wrapper.xcdatamodel; + }; +/* End XCVersionGroup section */ + }; + rootObject = 75699C97200FB29C00FFC20D /* Project object */; +} diff --git a/SnowplowSwiftDemo/SnowplowSwiftDemo.xcworkspace/contents.xcworkspacedata b/SnowplowSwiftDemo/SnowplowSwiftDemo.xcworkspace/contents.xcworkspacedata new file mode 100644 index 000000000..59cd70a0f --- /dev/null +++ b/SnowplowSwiftDemo/SnowplowSwiftDemo.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/SnowplowSwiftDemo/SnowplowSwiftDemo/AppDelegate.swift b/SnowplowSwiftDemo/SnowplowSwiftDemo/AppDelegate.swift new file mode 100644 index 000000000..be8ff0695 --- /dev/null +++ b/SnowplowSwiftDemo/SnowplowSwiftDemo/AppDelegate.swift @@ -0,0 +1,94 @@ +// +// AppDelegate.swift +// SnowplowSwiftDemo +// +// Created by Michael Hadam on 1/17/18. +// Copyright © 2018 snowplowanalytics. All rights reserved. +// + +import UIKit +import CoreData +import Foundation + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + func applicationWillResignActive(_ application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(_ application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + func applicationWillEnterForeground(_ application: UIApplication) { + // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(_ application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + func applicationWillTerminate(_ application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + // Saves changes in the application's managed object context before the application terminates. + self.saveContext() + } + + // MARK: - Core Data stack + + lazy var persistentContainer: NSPersistentContainer = { + /* + The persistent container for the application. This implementation + creates and returns a container, having loaded the store for the + application to it. This property is optional since there are legitimate + error conditions that could cause the creation of the store to fail. + */ + let container = NSPersistentContainer(name: "SnowplowSwiftDemo") + container.loadPersistentStores(completionHandler: { (storeDescription, error) in + if let error = error as NSError? { + // Replace this implementation with code to handle the error appropriately. + // fatalError() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development. + + /* + Typical reasons for an error here include: + * The parent directory does not exist, cannot be created, or disallows writing. + * The persistent store is not accessible, due to permissions or data protection when the device is locked. + * The device is out of space. + * The store could not be migrated to the current model version. + Check the error message to determine what the actual problem was. + */ + fatalError("Unresolved error \(error), \(error.userInfo)") + } + }) + return container + }() + + // MARK: - Core Data Saving support + + func saveContext () { + let context = persistentContainer.viewContext + if context.hasChanges { + do { + try context.save() + } catch { + // Replace this implementation with code to handle the error appropriately. + // fatalError() causes the application to generate a crash log and terminate. You should not use this function in a shipping application, although it may be useful during development. + let nserror = error as NSError + fatalError("Unresolved error \(nserror), \(nserror.userInfo)") + } + } + } + +} + diff --git a/SnowplowSwiftDemo/SnowplowSwiftDemo/Assets.xcassets/AppIcon.appiconset/Contents.json b/SnowplowSwiftDemo/SnowplowSwiftDemo/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 000000000..d8db8d65f --- /dev/null +++ b/SnowplowSwiftDemo/SnowplowSwiftDemo/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,98 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "83.5x83.5", + "scale" : "2x" + }, + { + "idiom" : "ios-marketing", + "size" : "1024x1024", + "scale" : "1x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/SnowplowSwiftDemo/SnowplowSwiftDemo/Base.lproj/LaunchScreen.storyboard b/SnowplowSwiftDemo/SnowplowSwiftDemo/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 000000000..f83f6fd58 --- /dev/null +++ b/SnowplowSwiftDemo/SnowplowSwiftDemo/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SnowplowSwiftDemo/SnowplowSwiftDemo/Base.lproj/Main.storyboard b/SnowplowSwiftDemo/SnowplowSwiftDemo/Base.lproj/Main.storyboard new file mode 100644 index 000000000..a78331402 --- /dev/null +++ b/SnowplowSwiftDemo/SnowplowSwiftDemo/Base.lproj/Main.storyboard @@ -0,0 +1,227 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SnowplowSwiftDemo/SnowplowSwiftDemo/DemoUtils.swift b/SnowplowSwiftDemo/SnowplowSwiftDemo/DemoUtils.swift new file mode 100644 index 000000000..0046afc91 --- /dev/null +++ b/SnowplowSwiftDemo/SnowplowSwiftDemo/DemoUtils.swift @@ -0,0 +1,249 @@ +// +// DemoUtils.swift +// SnowplowSwiftDemo +// +// Created by Michael Hadam on 1/19/18. +// Copyright © 2018 snowplowanalytics. All rights reserved. +// + +import Foundation +import SnowplowTracker + +class DemoUtils { + static func trackAll(_ tracker: SPTracker) { + self.trackPageViewWithTracker(tracker) + self.trackScreenViewWithTracker(tracker) + self.trackStructuredEventWithTracker(tracker) + self.trackUnstructuredEventWithTracker(tracker) + self.trackTimingWithCategoryWithTracker(tracker) + self.trackEcommerceTransactionWithTracker(tracker) + } + + static func trackStructuredEventWithTracker(_ tracker: SPTracker) { + let event = SPStructured.build({ (builder : SPStructuredBuilder?) -> Void in + builder!.setCategory("DemoCategory") + builder!.setAction("DemoAction") + builder!.setLabel("DemoLabel") + builder!.setProperty("DemoProperty") + builder!.setValue(5) + }) + tracker.trackStructuredEvent(event) + } + + static func trackUnstructuredEventWithTracker(_ tracker: SPTracker) { + var event = SPStructured.build({ (builder : SPStructuredBuilder?) -> Void in + builder!.setCategory("DemoCategory") + builder!.setAction("DemoAction") + builder!.setLabel("DemoLabel") + builder!.setProperty("DemoProperty") + builder!.setValue(5) + }) + tracker.trackStructuredEvent(event) + + event = SPStructured.build({ (builder : SPStructuredBuilder?) -> Void in + builder!.setCategory("DemoCategory") + builder!.setAction("DemoAction") + builder!.setLabel("DemoLabel") + builder!.setProperty("DemoProperty") + builder!.setValue(5) + builder!.setTimestamp(1243567890) + }) + tracker.trackStructuredEvent(event) + + event = SPStructured.build({ (builder : SPStructuredBuilder?) -> Void in + builder!.setCategory("DemoCategory") + builder!.setAction("DemoAction") + builder!.setLabel("DemoLabel") + builder!.setProperty("DemoProperty") + builder!.setValue(5) + builder!.setContexts(self.getCustomContext()) + }) + tracker.trackStructuredEvent(event) + + event = SPStructured.build({ (builder : SPStructuredBuilder?) -> Void in + builder!.setCategory("DemoCategory") + builder!.setAction("DemoAction") + builder!.setLabel("DemoLabel") + builder!.setProperty("DemoProperty") + builder!.setValue(5) + builder!.setTimestamp(1243567890) + }) + tracker.trackStructuredEvent(event) + } + + static func trackPageViewWithTracker(_ tracker: SPTracker) { + let data: NSDictionary = [ "level": 23, "score": 56473] + let sdj = SPSelfDescribingJson(schema: "iglu:com.acme_company/demo_ios_event/jsonschema/1-0-0", andData: data); + var event = SPUnstructured.build({ (builder : SPUnstructuredBuilder?) -> Void in + builder!.setEventData(sdj!) + }) + tracker.trackUnstructuredEvent(event) + + event = SPUnstructured.build({ (builder : SPUnstructuredBuilder?) -> Void in + builder!.setEventData(sdj!) + builder!.setContexts(self.getCustomContext()) + }) + tracker.trackUnstructuredEvent(event) + + event = SPUnstructured.build({ (builder : SPUnstructuredBuilder?) -> Void in + builder!.setEventData(sdj) + builder!.setTimestamp(1243567890) + builder!.setContexts(self.getCustomContext()) + }) + tracker.trackUnstructuredEvent(event) + + event = SPUnstructured.build({ (builder : SPUnstructuredBuilder?) -> Void in + builder!.setEventData(sdj) + builder!.setTimestamp(1243567890) + }) + tracker.trackUnstructuredEvent(event) + } + + static func trackScreenViewWithTracker(_ tracker: SPTracker) { + var event = SPScreenView.build({ (builder : SPScreenViewBuilder?) -> Void in + builder!.setName("DemoScreenName") + builder!.setId("DemoScreenId") + }) + tracker.trackScreenViewEvent(event) + + event = SPScreenView.build({ (builder : SPScreenViewBuilder?) -> Void in + builder!.setName("DemoScreenName") + builder!.setId("DemoScreenId") + builder!.setTimestamp(1243567890) + }) + tracker.trackScreenViewEvent(event) + + event = SPScreenView.build({ (builder : SPScreenViewBuilder?) -> Void in + builder!.setName("DemoScreenName") + builder!.setId("DemoScreenId") + builder!.setContexts(self.getCustomContext()) + }) + tracker.trackScreenViewEvent(event) + + event = SPScreenView.build({ (builder : SPScreenViewBuilder?) -> Void in + builder!.setName("DemoScreenName") + builder!.setId("DemoScreenId") + builder!.setContexts(self.getCustomContext()) + builder!.setTimestamp(1243567890) + }) + tracker.trackScreenViewEvent(event) + } + + static func trackTimingWithCategoryWithTracker(_ tracker: SPTracker) { + var event = SPTiming.build({ (builder : SPTimingBuilder?) -> Void in + builder!.setCategory("DemoTimingCategory") + builder!.setVariable("DemoTimingVariable") + builder!.setTiming(5) + builder!.setLabel("DemoTimingLabel") + }) + tracker.trackTimingEvent(event) + + event = SPTiming.build({ (builder : SPTimingBuilder?) -> Void in + builder!.setCategory("DemoTimingCategory") + builder!.setVariable("DemoTimingVariable") + builder!.setTiming(5) + builder!.setLabel("DemoTimingLabel") + builder!.setTimestamp(1243567890) + }) + tracker.trackTimingEvent(event) + + event = SPTiming.build({ (builder : SPTimingBuilder?) -> Void in + builder!.setCategory("DemoTimingCategory") + builder!.setVariable("DemoTimingVariable") + builder!.setTiming(5) + builder!.setLabel("DemoTimingLabel") + builder!.setContexts(self.getCustomContext()) + }) + tracker.trackTimingEvent(event) + + event = SPTiming.build({ (builder : SPTimingBuilder?) -> Void in + builder!.setCategory("DemoTimingCategory") + builder!.setVariable("DemoTimingVariable") + builder!.setTiming(5) + builder!.setLabel("DemoTimingLabel") + builder!.setTimestamp(1243567890) + builder!.setContexts(self.getCustomContext()) + }) + tracker.trackTimingEvent(event) + } + + static func trackEcommerceTransactionWithTracker(_ tracker: SPTracker) { + let transactionID = "6a8078be" + let itemArray : [Any] = [ SPEcommerceItem.build({ (builder : SPEcommTransactionItemBuilder?) -> Void in + builder!.setItemId(transactionID) + builder!.setSku("DemoItemSku") + builder!.setName("DemoItemName") + builder!.setCategory("DemoItemCategory") + builder!.setPrice(0.75) + builder!.setQuantity(1) + builder!.setCurrency("USD") + }) ] + + var event = SPEcommerce.build({ (builder : SPEcommTransactionBuilder?) -> Void in + builder!.setOrderId(transactionID) + builder!.setTotalValue(350) + builder!.setAffiliation("DemoTransactionAffiliation") + builder!.setTaxValue(10) + builder!.setShipping(15) + builder!.setCity("Boston") + builder!.setState("Massachusetts") + builder!.setCountry("USA") + builder!.setCurrency("USD") + builder!.setItems(itemArray) + }) + tracker.trackEcommerceEvent(event) + + event = SPEcommerce.build({ (builder : SPEcommTransactionBuilder?) -> Void in + builder!.setOrderId(transactionID) + builder!.setTotalValue(350) + builder!.setAffiliation("DemoTransactionAffiliation") + builder!.setTaxValue(10) + builder!.setShipping(15) + builder!.setCity("Boston") + builder!.setState("Massachusetts") + builder!.setCountry("USA") + builder!.setCurrency("USD") + builder!.setItems(itemArray) + builder!.setTimestamp(1243567890) + }) + tracker.trackEcommerceEvent(event) + + event = SPEcommerce.build({ (builder : SPEcommTransactionBuilder?) -> Void in + builder!.setOrderId(transactionID) + builder!.setTotalValue(350) + builder!.setAffiliation("DemoTransactionAffiliation") + builder!.setTaxValue(10) + builder!.setShipping(15) + builder!.setCity("Boston") + builder!.setState("Massachusetts") + builder!.setCountry("USA") + builder!.setCurrency("USD") + builder!.setItems(itemArray) + builder!.setContexts(self.getCustomContext()) + }) + tracker.trackEcommerceEvent(event) + + event = SPEcommerce.build({ (builder : SPEcommTransactionBuilder?) -> Void in + builder!.setOrderId(transactionID) + builder!.setTotalValue(350) + builder!.setAffiliation("DemoTransactionAffiliation") + builder!.setTaxValue(10) + builder!.setShipping(15) + builder!.setCity("Boston") + builder!.setState("Massachusetts") + builder!.setCountry("USA") + builder!.setCurrency("USD") + builder!.setItems(itemArray) + builder!.setContexts(self.getCustomContext()) + builder!.setTimestamp(1243567890) + }) + tracker.trackEcommerceEvent(event) + } + + static func getCustomContext() -> NSMutableArray { + let data : NSDictionary = [ "snowplow": "demo-tracker" ] + let context = SPSelfDescribingJson(schema: "iglu:com.acme_company/demo_ios_event/jsonschema/1-0-0", andData: data) + let result : NSMutableArray = [ context! ] + return result + } +} diff --git a/SnowplowSwiftDemo/SnowplowSwiftDemo/Info.plist b/SnowplowSwiftDemo/SnowplowSwiftDemo/Info.plist new file mode 100644 index 000000000..f87da23a0 --- /dev/null +++ b/SnowplowSwiftDemo/SnowplowSwiftDemo/Info.plist @@ -0,0 +1,50 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/SnowplowSwiftDemo/SnowplowSwiftDemo/SnowplowSwiftDemo-Bridging-Header.h b/SnowplowSwiftDemo/SnowplowSwiftDemo/SnowplowSwiftDemo-Bridging-Header.h new file mode 100644 index 000000000..66571b5a8 --- /dev/null +++ b/SnowplowSwiftDemo/SnowplowSwiftDemo/SnowplowSwiftDemo-Bridging-Header.h @@ -0,0 +1,19 @@ +// +// SnowplowSwiftDemo-Bridging-Header.h +// SnowplowSwiftDemo +// +// Created by Michael Hadam on 1/18/18. +// Copyright © 2018 snowplowanalytics. All rights reserved. +// + +#ifndef SnowplowSwiftDemo_Bridging_Header_h +#define SnowplowSwiftDemo_Bridging_Header_h + +#import "SnowplowTracker/SPEmitter.h" +#import "SnowplowTracker/SPTracker.h" +#import "SnowplowTracker/SPUtilities.h" +#import "SnowplowTracker/SPSubject.h" +#import "SnowplowTracker/SPRequestCallback.h" +#import "SnowplowTracker/SPSelfDescribingJson.h" + +#endif /* SnowplowSwiftDemo_Bridging_Header_h */ diff --git a/SnowplowSwiftDemo/SnowplowSwiftDemo/SnowplowSwiftDemo.entitlements b/SnowplowSwiftDemo/SnowplowSwiftDemo/SnowplowSwiftDemo.entitlements new file mode 100644 index 000000000..903def2af --- /dev/null +++ b/SnowplowSwiftDemo/SnowplowSwiftDemo/SnowplowSwiftDemo.entitlements @@ -0,0 +1,8 @@ + + + + + aps-environment + development + + diff --git a/SnowplowSwiftDemo/SnowplowSwiftDemo/SnowplowSwiftDemo.xcdatamodeld/.xccurrentversion b/SnowplowSwiftDemo/SnowplowSwiftDemo/SnowplowSwiftDemo.xcdatamodeld/.xccurrentversion new file mode 100644 index 000000000..4394122b5 --- /dev/null +++ b/SnowplowSwiftDemo/SnowplowSwiftDemo/SnowplowSwiftDemo.xcdatamodeld/.xccurrentversion @@ -0,0 +1,8 @@ + + + + + _XCCurrentVersionName + SnowplowSwiftDemo.xcdatamodel + + diff --git a/SnowplowSwiftDemo/SnowplowSwiftDemo/SnowplowSwiftDemo.xcdatamodeld/SnowplowSwiftDemo.xcdatamodel/contents b/SnowplowSwiftDemo/SnowplowSwiftDemo/SnowplowSwiftDemo.xcdatamodeld/SnowplowSwiftDemo.xcdatamodel/contents new file mode 100644 index 000000000..29c2e812f --- /dev/null +++ b/SnowplowSwiftDemo/SnowplowSwiftDemo/SnowplowSwiftDemo.xcdatamodeld/SnowplowSwiftDemo.xcdatamodel/contents @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/SnowplowSwiftDemo/SnowplowSwiftDemo/ViewController.swift b/SnowplowSwiftDemo/SnowplowSwiftDemo/ViewController.swift new file mode 100644 index 000000000..29c152769 --- /dev/null +++ b/SnowplowSwiftDemo/SnowplowSwiftDemo/ViewController.swift @@ -0,0 +1,168 @@ +// +// ViewController.swift +// SnowplowSwiftDemo +// +// Created by Michael Hadam on 1/17/18. +// Copyright © 2018 snowplowanalytics. All rights reserved. +// + +import UIKit +import Foundation +import CoreData +import SwiftTryCatch +import SnowplowTracker + +class ViewController: UIViewController, UITextFieldDelegate, SPRequestCallback { + @IBOutlet weak var uriField: UITextField! + @IBOutlet weak var trackingSwitch: UISegmentedControl! + @IBOutlet weak var protocolSwitch: UISegmentedControl! + @IBOutlet weak var methodSwitch: UISegmentedControl! + @IBOutlet weak var isRunningLabel: UILabel! + @IBOutlet weak var isBackgroundLabel: UILabel! + @IBOutlet weak var sessionCountLabel: UILabel! + @IBOutlet weak var isOnlineLabel: UILabel! + @IBOutlet weak var madeLabel: UILabel! + @IBOutlet weak var dbCountLabel: UILabel! + @IBOutlet weak var sentLabel: UILabel! + + var tracker : SPTracker! + var madeCounter : Int = 0 + var sentCounter : Int = 0 + var updateTimer : Timer! + var uri : String = "" + var methodType : SPRequestOptions = SPRequestGet + var protocolType : SPProtocol = SPHttp + + let kAppId = "DemoAppId" + let kNamespace = "DemoAppNamespace" + + + func setup() { + self.tracker = self.getTracker("acme.fake.com", method: SPRequestPost) + self.updateTimer = Timer.scheduledTimer(timeInterval: 1, target: self, selector: #selector(updateMetrics), userInfo: nil, repeats: true) + self.uriField.delegate = self + self.trackingSwitch.addTarget(self, action: #selector(action), for: .valueChanged) + } + + @objc func action() { + let tracking: Bool = (trackingSwitch.selectedSegmentIndex == 0) + if (tracking && !(tracker.getIsTracking())) { + tracker.resumeEventTracking() + } else if (tracker.getIsTracking()) { + tracker.pauseEventTracking() + } + } + + func getCollectorUrl() -> String { + return self.uri + } + + func getMethodType() -> SPRequestOptions { + return self.methodType + } + + func getProtocolType() -> SPProtocol { + return self.protocolType + } + + func textFieldShouldReturn(_ textField: UITextField) -> Bool { + self.uri = uriField.text! + return textField.resignFirstResponder() + } + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view, typically from a nib. + self.setup() + } + + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Dispose of any resources that can be recreated. + } + + @IBAction func inputUri(_ sender: UITextField) { + self.uri = uriField.text! + } + + @IBAction func toggleMethod(_ sender: UISegmentedControl) { + self.methodType = (methodSwitch.selectedSegmentIndex == 0) ? + SPRequestGet : SPRequestPost + } + + @IBAction func toggleProtocol(_ sender: UISegmentedControl) { + self.protocolType = (protocolSwitch.selectedSegmentIndex == 0) ? + SPHttp : SPHttps + } + + @IBAction func trackEvents(_ sender: UIButton) { + DispatchQueue.global(qos: .default).async { + let url = self.getCollectorUrl() + if url == "" { + return + } + + // Update the tracker + + SwiftTryCatch.try({ + self.tracker.emitter.setUrlEndpoint(url) + }, catch: { (error) in + return + }, finally: { + + }) + + self.tracker.emitter.setHttpMethod(self.getMethodType()) + self.tracker.emitter.setProtocol(self.getProtocolType()) + + // Iterate the made counter + self.madeCounter += 28; + + // Track all types of events + DemoUtils.trackAll(self.tracker) + } + } + + @objc func updateMetrics() { + madeLabel.text = String(format: "Made: %lld", madeCounter) + dbCountLabel.text = String(format: "DB Count: %lu", CUnsignedLong(self.tracker.emitter.getDbCount())) + sessionCountLabel.text = String(format: "Session Count: %lu", CUnsignedLong(self.tracker.getSessionIndex())) + isRunningLabel.text = String(format: "Running: %@", self.tracker.emitter.getSendingStatus() ? "yes" : "no") + isBackgroundLabel.text = String(format: "Background: %@", self.tracker.getInBackground() ? "yes" : "no") + isOnlineLabel.text = String(format: "Online: %@", SPUtilities.isOnline() ? "yes" : "no") + sentLabel.text = String(format: "Sent: %lu", CUnsignedLong(sentCounter)) + } + + // Tracker setup and init + + func getTracker(_ url: String, method: SPRequestOptions) -> SPTracker { + let emitter = SPEmitter.build({ (builder : SPEmitterBuilder?) -> Void in + builder!.setUrlEndpoint(url) + builder!.setHttpMethod(method) + builder!.setCallback(self) + builder!.setEmitRange(500) + builder!.setEmitThreadPoolSize(20) + builder!.setByteLimitPost(52000) + }) + let subject = SPSubject(platformContext: true, andGeoContext: false) + let newTracker = SPTracker.build({ (builder : SPTrackerBuilder?) -> Void in + builder!.setEmitter(emitter) + builder!.setAppId(self.kAppId) + builder!.setTrackerNamespace(self.kNamespace) + builder!.setBase64Encoded(false) + builder!.setSessionContext(true) + builder!.setSubject(subject) + }) + return newTracker! + } + + // Define Callback Functions + + func onSuccess(withCount successCount: Int) { + self.sentCounter += successCount; + } + + func onFailure(withCount failureCount: Int, successCount: Int) { + self.sentCounter += successCount; + } +} diff --git a/SnowplowSwiftDemo/SnowplowSwiftDemoTests/Info.plist b/SnowplowSwiftDemo/SnowplowSwiftDemoTests/Info.plist new file mode 100644 index 000000000..6c40a6cd0 --- /dev/null +++ b/SnowplowSwiftDemo/SnowplowSwiftDemoTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/SnowplowSwiftDemo/SnowplowSwiftDemoTests/SnowplowSwiftDemoTests.swift b/SnowplowSwiftDemo/SnowplowSwiftDemoTests/SnowplowSwiftDemoTests.swift new file mode 100644 index 000000000..a8d492256 --- /dev/null +++ b/SnowplowSwiftDemo/SnowplowSwiftDemoTests/SnowplowSwiftDemoTests.swift @@ -0,0 +1,36 @@ +// +// SnowplowSwiftDemoTests.swift +// SnowplowSwiftDemoTests +// +// Created by Michael Hadam on 1/17/18. +// Copyright © 2018 snowplowanalytics. All rights reserved. +// + +import XCTest +@testable import SnowplowSwiftDemo + +class SnowplowSwiftDemoTests: XCTestCase { + + override func setUp() { + super.setUp() + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testExample() { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testPerformanceExample() { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/SnowplowSwiftDemo/SnowplowSwiftDemoUITests/Info.plist b/SnowplowSwiftDemo/SnowplowSwiftDemoUITests/Info.plist new file mode 100644 index 000000000..6c40a6cd0 --- /dev/null +++ b/SnowplowSwiftDemo/SnowplowSwiftDemoUITests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/SnowplowSwiftDemo/SnowplowSwiftDemoUITests/SnowplowSwiftDemoUITests.swift b/SnowplowSwiftDemo/SnowplowSwiftDemoUITests/SnowplowSwiftDemoUITests.swift new file mode 100644 index 000000000..4523e2cd6 --- /dev/null +++ b/SnowplowSwiftDemo/SnowplowSwiftDemoUITests/SnowplowSwiftDemoUITests.swift @@ -0,0 +1,36 @@ +// +// SnowplowSwiftDemoUITests.swift +// SnowplowSwiftDemoUITests +// +// Created by Michael Hadam on 1/17/18. +// Copyright © 2018 snowplowanalytics. All rights reserved. +// + +import XCTest + +class SnowplowSwiftDemoUITests: XCTestCase { + + override func setUp() { + super.setUp() + + // Put setup code here. This method is called before the invocation of each test method in the class. + + // In UI tests it is usually best to stop immediately when a failure occurs. + continueAfterFailure = false + // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. + XCUIApplication().launch() + + // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testExample() { + // Use recording to get started writing UI tests. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + +}