From 4b3b5cc9d51226cc6474898bbb385c3ccf0f71e5 Mon Sep 17 00:00:00 2001 From: Oguzhan Unlu Date: Thu, 17 Oct 2019 13:56:40 +0300 Subject: [PATCH] Automating publication of new releases (close #337) --- .slather.yml | 2 +- .travis.yml | 59 +++++++++++--- .travis/install.sh | 3 - .travis/test.sh | 10 --- Podfile | 68 +++------------- Podfile.lock | 33 ++------ Snowplow.xcodeproj/project.pbxproj | 78 +++++++++++++++++++ Snowplow.xcworkspace/contents.xcworkspacedata | 10 +++ .../xcshareddata/IDEWorkspaceChecks.plist | 8 ++ SnowplowTracker.podspec | 2 +- 10 files changed, 165 insertions(+), 108 deletions(-) delete mode 100755 .travis/install.sh delete mode 100755 .travis/test.sh create mode 100644 Snowplow.xcworkspace/contents.xcworkspacedata create mode 100644 Snowplow.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/.slather.yml b/.slather.yml index 135b20ca8..4be050905 100644 --- a/.slather.yml +++ b/.slather.yml @@ -1,4 +1,4 @@ coverage_service: coveralls xcodeproj: Snowplow.xcodeproj workspace: Snowplow.xcworkspace -scheme: Snowplow +scheme: Snowplow-iOS diff --git a/.travis.yml b/.travis.yml index 3771335bd..ae70202b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,52 @@ language: objective-c osx_image: xcode10.2 + +xcode_workspace: Snowplow.xcworkspace + +stages: + - lint + - test + - name: deploy + if: tag IS present + +jobs: + include: + - stage: lint + install: gem install cocoapods + script: pod lib lint --allow-warnings + + # # FIXME: This test fails due to platform specific deps + # # - <<: *test + # # stage: test + # # xcode_scheme: Snowplow-macOS + # # xcode_destination: platform=macOS + # # before_script: + # # - carthage update --platform macOS + # # - pod install + + - &test + stage: test + xcode_scheme: Snowplow-iOS + xcode_destination: platform=iOS Simulator,OS=12.1,name=iPhone X + before_script: + - carthage update --platform iOS + - pod install + after_success: + - gem install slather + - slather + + - stage: deploy + script: pod trunk push --verbose --allow-warnings + osx_image: xcode10.2 + language: objective-c + xcode_scheme: Snowplow-iOS + xcode_workspace: Snowplow.xcworkspace + on: + condition: $(< VERSION) == $TRAVIS_TAG + tags: true + env: - - TEST_PLATFORM="platform=iOS Simulator,OS=12.1,name=iPhone XR" -rvm: - - 2.3.7 -before_install: - - gem install slather - - gem install xcpretty -N --no-document -install: - - ./.travis/install.sh -script: ./.travis/test.sh -after_success: slather + global: + - secure: FfsA8B/GHFnIst46Z9Z2VNzd38NTsRp/DLF3IGDWTZAUFMRqVVu2fC/KmfOMH47XMqhtdvOkAjCf0K9BzDrpEwypAz4h5BoZPR7x+sz5eZ91jSKGAK7R8JWvj2hihoPSCc+ytXQwQFZYzP1hM6Wfyc+37riU7w00eJEz3vexD3w= + - CODE_SIGNING_REQUIRED=NO + - CODE_SIGN_IDENTITY="" diff --git a/.travis/install.sh b/.travis/install.sh deleted file mode 100755 index c7a19b618..000000000 --- a/.travis/install.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -carthage update --platform iOS diff --git a/.travis/test.sh b/.travis/test.sh deleted file mode 100755 index 63e0b3fe4..000000000 --- a/.travis/test.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -set -o pipefail - -xcodebuild -sdk iphonesimulator \ --destination "${TEST_PLATFORM}" \ --project Snowplow.xcodeproj \ --scheme Snowplow-iOS \ -clean test \ -| xcpretty diff --git a/Podfile b/Podfile index 325d60939..cf791c4e5 100644 --- a/Podfile +++ b/Podfile @@ -17,59 +17,15 @@ target 'Snowplow-macOS' do platform :osx, '10.9' end -target 'Snowplow-iOSTests' do - inherit! :search_paths - platform :ios, '8.0' - pod 'Nocilla' - pod 'SnowplowIgluClient', :git => 'https://github.com/snowplow/iglu-objc-client.git', :branch => 'feature/carthage' -end - -target 'Snowplow-macOSTests' do - platform :osx, '10.9' - pod 'Nocilla' - pod 'SnowplowIgluClient', :git => 'https://github.com/snowplow/iglu-objc-client.git', :branch => 'feature/carthage' -end - -post_install do |installer| - handle_sqlite3 installer - installer.pods_project.targets.each do |target| - if ['ReachabilitySwift'].include? target.name - target.build_configurations.each do |config| - config.build_settings['SWIFT_VERSION'] = '4.2' - end - end - end -end - -def handle_sqlite3 installer - # We need to remove sqlite3 from the library - # For details see: https://github.com/CocoaPods/CocoaPods/issues/830 - default_library = installer.aggregate_targets.detect { |i| i.target_definition.name == 'Snowplow-iOS' } - [default_library.xcconfig_relative_path('Debug'), default_library.xcconfig_relative_path('Release')].each do |path| - path = File.expand_path(File.join(File.dirname(__FILE__), path)) - File.open("config.tmp", "w") do |io| - f = File.read(path) - f.gsub!(/-l"sqlite3"/, '') - io << f - end - FileUtils.mv("config.tmp", path) - end - - # We need to add sqlite3 into the test suite - default_library = installer.aggregate_targets.detect { |i| i.target_definition.name == 'Snowplow-iOSTests' } - [default_library.xcconfig_relative_path('Debug'), default_library.xcconfig_relative_path('Release')].each do |path| - path = File.expand_path(File.join(File.dirname(__FILE__), path)) - File.open("config.tmp", "w") do |io| - f = File.read(path) - f.gsub!(/(OTHER_LDFLAGS =)/, '\1 -l"sqlite3"') - io << f - end - FileUtils.mv("config.tmp", path) - end - - installer.pods_project.targets.each do |target| - target.build_configurations.each do |config| - config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO' - end - end -end +# target 'Snowplow-iOSTests' do +# inherit! :search_paths +# platform :ios, '8.0' +# pod 'Nocilla' +# pod 'SnowplowIgluClient', :git => 'https://github.com/snowplow/iglu-objc-client.git', :branch => 'feature/carthage' +# end + +# target 'Snowplow-macOSTests' do +# platform :osx, '10.9' +# pod 'Nocilla' +# pod 'SnowplowIgluClient', :git => 'https://github.com/snowplow/iglu-objc-client.git', :branch => 'feature/carthage' +# end diff --git a/Podfile.lock b/Podfile.lock index a05912c41..ea13645b0 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -2,42 +2,21 @@ PODS: - FMDB (2.6.2): - FMDB/standard (= 2.6.2) - FMDB/standard (2.6.2) - - Nocilla (0.11.0) - - ReachabilitySwift (4.3.0) - - SnowplowIgluClient (0.1.1): - - VVJSONSchemaValidation (~> 1.5.0) - - VVJSONSchemaValidation (1.5.0) + - ReachabilitySwift (4.3.1) DEPENDENCIES: - FMDB (= 2.6.2) - - Nocilla - - ReachabilitySwift - - SnowplowIgluClient (from `https://github.com/snowplow/iglu-objc-client.git`, branch `feature/carthage`) + - ReachabilitySwift (= 4.3.1) SPEC REPOS: - https://github.com/cocoapods/specs.git: + https://github.com/CocoaPods/Specs.git: - FMDB - - Nocilla - ReachabilitySwift - - VVJSONSchemaValidation - -EXTERNAL SOURCES: - SnowplowIgluClient: - :branch: feature/carthage - :git: https://github.com/snowplow/iglu-objc-client.git - -CHECKOUT OPTIONS: - SnowplowIgluClient: - :commit: 10b9758ef35c21d4bfee9c11d8f4813347a50097 - :git: https://github.com/snowplow/iglu-objc-client.git SPEC CHECKSUMS: FMDB: 854a0341b4726e53276f2a8996f06f1b80f9259a - Nocilla: 7af7a386071150cc8aa5da4da97d060f049dd61c - ReachabilitySwift: 408477d1b6ed9779dba301953171e017c31241f3 - SnowplowIgluClient: 4cda3cca105c844bea49b45e30145dc35cb5208d - VVJSONSchemaValidation: 40411ea98f65d065a7c2ce7483876106bf710e9b + ReachabilitySwift: 4032e2f59586e11e3b0ebe15b167abdd587a388b -PODFILE CHECKSUM: 047bc905c385190179c8d68cd4481474c8e05932 +PODFILE CHECKSUM: a6bd6ad0686a2c387fd9b7843d659ff67614d90c -COCOAPODS: 1.5.3 +COCOAPODS: 1.8.3 diff --git a/Snowplow.xcodeproj/project.pbxproj b/Snowplow.xcodeproj/project.pbxproj index 5ca5c42f8..264bb5145 100644 --- a/Snowplow.xcodeproj/project.pbxproj +++ b/Snowplow.xcodeproj/project.pbxproj @@ -184,6 +184,8 @@ 75F9C5F021FA35BC00A5B8FC /* SPWeakTimerTarget.h in Headers */ = {isa = PBXBuildFile; fileRef = 044CA88B1B94791E000EA3B1 /* SPWeakTimerTarget.h */; settings = {ATTRIBUTES = (Private, ); }; }; 75F9C5F121FA35BC00A5B8FC /* SPEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 0402EBEB1BA93CA5006C8818 /* SPEvent.h */; settings = {ATTRIBUTES = (Public, ); }; }; 75F9C5F221FA35BC00A5B8FC /* SPRequestCallback.h in Headers */ = {isa = PBXBuildFile; fileRef = 049B2BDA1B7A203200BD82FC /* SPRequestCallback.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A012FE6729D7AD9D85A541E5 /* libPods-Snowplow-iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = EDCCECF02D628F65DE613C6E /* libPods-Snowplow-iOS.a */; }; + F35DFFA6D70D7BE58EFB4551 /* libPods-Snowplow-macOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2FABB124B0E00A682A8CFB40 /* libPods-Snowplow-macOS.a */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -256,6 +258,7 @@ 0485CA141BAC658500214BC5 /* SPSelfDescribingJson.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SPSelfDescribingJson.h; sourceTree = ""; }; 0485CA151BAC65A300214BC5 /* SPSelfDescribingJson.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPSelfDescribingJson.m; sourceTree = ""; }; 049B2BDA1B7A203200BD82FC /* SPRequestCallback.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SPRequestCallback.h; sourceTree = ""; }; + 2FABB124B0E00A682A8CFB40 /* libPods-Snowplow-macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Snowplow-macOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 750E7F1121F2735C0050A993 /* Nocilla.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Nocilla.framework; path = Carthage/Build/iOS/Nocilla.framework; sourceTree = ""; }; 75264A2F224E5DBC000E0E9B /* SPInstallTracker.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SPInstallTracker.h; sourceTree = ""; }; 75264A31224E5DD2000E0E9B /* SPInstallTracker.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SPInstallTracker.m; sourceTree = ""; }; @@ -299,6 +302,7 @@ 75D6061E21C9CA8A00C7B016 /* Snowplow-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Snowplow-Bridging-Header.h"; sourceTree = ""; }; 75D6061F21C9CA8B00C7B016 /* ReachabilityBridge.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ReachabilityBridge.swift; sourceTree = ""; }; 75F9C5C821FA2E0F00A5B8FC /* libSnowplow-iOS-Static.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libSnowplow-iOS-Static.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 879E022FB0326AF06F24639A /* Pods-Snowplow-iOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Snowplow-iOS.release.xcconfig"; path = "Target Support Files/Pods-Snowplow-iOS/Pods-Snowplow-iOS.release.xcconfig"; sourceTree = ""; }; 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 = ""; }; AB0C27C5191B408200018557 /* Snowplow.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Snowplow.h; sourceTree = ""; }; @@ -308,6 +312,7 @@ AB0C27F4191C67CD00018557 /* SPPayload.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPPayload.m; sourceTree = ""; }; AB39617019530E850002F235 /* OpenIDFA.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OpenIDFA.h; sourceTree = ""; }; AB39617119530E850002F235 /* OpenIDFA.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OpenIDFA.m; sourceTree = ""; }; + AB822C3C548BE5F04081D9D3 /* Pods-Snowplow-iOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Snowplow-iOS.debug.xcconfig"; path = "Target Support Files/Pods-Snowplow-iOS/Pods-Snowplow-iOS.debug.xcconfig"; sourceTree = ""; }; AB9E8210192DD336006744C9 /* SPTracker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPTracker.h; sourceTree = ""; }; AB9E8211192DD336006744C9 /* SPTracker.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPTracker.m; sourceTree = ""; }; AB9E8213192DEC38006744C9 /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; }; @@ -316,6 +321,9 @@ ABB767AF194974D3006275D1 /* SPEventStore.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPEventStore.m; sourceTree = ""; }; ABFCC3741922984A00FAE8FE /* SPUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPUtilities.h; sourceTree = ""; }; ABFCC3751922984A00FAE8FE /* SPUtilities.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPUtilities.m; sourceTree = ""; }; + D679101994E55058BC131330 /* Pods-Snowplow-macOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Snowplow-macOS.release.xcconfig"; path = "Target Support Files/Pods-Snowplow-macOS/Pods-Snowplow-macOS.release.xcconfig"; sourceTree = ""; }; + E8B4F3EA82A51A307C5BF95F /* Pods-Snowplow-macOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Snowplow-macOS.debug.xcconfig"; path = "Target Support Files/Pods-Snowplow-macOS/Pods-Snowplow-macOS.debug.xcconfig"; sourceTree = ""; }; + EDCCECF02D628F65DE613C6E /* libPods-Snowplow-iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Snowplow-iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -327,6 +335,7 @@ 752DAC3F21CC4A7B0065F874 /* CoreTelephony.framework in Frameworks */, 752DAC0D21CC3EEA0065F874 /* FMDB.framework in Frameworks */, 752DAC0F21CC3EED0065F874 /* Reachability.framework in Frameworks */, + A012FE6729D7AD9D85A541E5 /* libPods-Snowplow-iOS.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -361,6 +370,7 @@ 753DDA6D21F803B10007C3AE /* Cocoa.framework in Frameworks */, 75CAC45721F2A1E400271FB3 /* FMDB.framework in Frameworks */, 75CAC45621F2A1CC00271FB3 /* Foundation.framework in Frameworks */, + F35DFFA6D70D7BE58EFB4551 /* libPods-Snowplow-macOS.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -386,6 +396,18 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 2483B792D0E33A103CF6155C /* Pods */ = { + isa = PBXGroup; + children = ( + AB822C3C548BE5F04081D9D3 /* Pods-Snowplow-iOS.debug.xcconfig */, + 879E022FB0326AF06F24639A /* Pods-Snowplow-iOS.release.xcconfig */, + E8B4F3EA82A51A307C5BF95F /* Pods-Snowplow-macOS.debug.xcconfig */, + D679101994E55058BC131330 /* Pods-Snowplow-macOS.release.xcconfig */, + ); + name = Pods; + path = Pods; + sourceTree = ""; + }; 752DABD821CC38560065F874 /* Snowplow iOSTests */ = { isa = PBXGroup; children = ( @@ -444,6 +466,7 @@ AB0C27C2191B408200018557 /* Snowplow */, AB0C27BF191B408200018557 /* Frameworks */, AB0C27BE191B408200018557 /* Products */, + 2483B792D0E33A103CF6155C /* Pods */, ); sourceTree = ""; }; @@ -475,6 +498,8 @@ AB9E8213192DEC38006744C9 /* CoreTelephony.framework */, ABB67D8C192D9552009A1ECE /* UIKit.framework */, AB0C27C0191B408200018557 /* Foundation.framework */, + EDCCECF02D628F65DE613C6E /* libPods-Snowplow-iOS.a */, + 2FABB124B0E00A682A8CFB40 /* libPods-Snowplow-macOS.a */, ); name = Frameworks; sourceTree = ""; @@ -637,6 +662,7 @@ isa = PBXNativeTarget; buildConfigurationList = 752DABDD21CC38560065F874 /* Build configuration list for PBXNativeTarget "Snowplow-iOS" */; buildPhases = ( + D52E30787F5A0D0F155DEF29 /* [CP] Check Pods Manifest.lock */, 752DABC721CC38550065F874 /* Headers */, 752DABC821CC38550065F874 /* Sources */, 752DABC921CC38550065F874 /* Frameworks */, @@ -692,6 +718,7 @@ isa = PBXNativeTarget; buildConfigurationList = 752DAC0621CC3B380065F874 /* Build configuration list for PBXNativeTarget "Snowplow-macOS" */; buildPhases = ( + 79DDA5EF95B796BA57195E46 /* [CP] Check Pods Manifest.lock */, 752DABF021CC3B380065F874 /* Headers */, 752DABF121CC3B380065F874 /* Sources */, 752DABF221CC3B380065F874 /* Frameworks */, @@ -826,6 +853,53 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 79DDA5EF95B796BA57195E46 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Snowplow-macOS-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; + }; + D52E30787F5A0D0F155DEF29 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Snowplow-iOS-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; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 752DABC821CC38550065F874 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -976,6 +1050,7 @@ /* Begin XCBuildConfiguration section */ 752DABDE21CC38560065F874 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = AB822C3C548BE5F04081D9D3 /* Pods-Snowplow-iOS.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; CLANG_ANALYZER_NONNULL = YES; @@ -1030,6 +1105,7 @@ }; 752DABDF21CC38560065F874 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 879E022FB0326AF06F24639A /* Pods-Snowplow-iOS.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; CLANG_ANALYZER_NONNULL = YES; @@ -1269,6 +1345,7 @@ }; 752DAC0721CC3B380065F874 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = E8B4F3EA82A51A307C5BF95F /* Pods-Snowplow-macOS.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; CLANG_ANALYZER_NONNULL = YES; @@ -1323,6 +1400,7 @@ }; 752DAC0821CC3B380065F874 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = D679101994E55058BC131330 /* Pods-Snowplow-macOS.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; CLANG_ANALYZER_NONNULL = YES; diff --git a/Snowplow.xcworkspace/contents.xcworkspacedata b/Snowplow.xcworkspace/contents.xcworkspacedata new file mode 100644 index 000000000..55e1a4692 --- /dev/null +++ b/Snowplow.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/Snowplow.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Snowplow.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 000000000..18d981003 --- /dev/null +++ b/Snowplow.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/SnowplowTracker.podspec b/SnowplowTracker.podspec index 074186177..d048b6763 100644 --- a/SnowplowTracker.podspec +++ b/SnowplowTracker.podspec @@ -42,5 +42,5 @@ Pod::Spec.new do |s| s.osx.frameworks = 'AppKit', 'Foundation' s.tvos.frameworks = 'UIKit', 'Foundation' s.dependency 'FMDB', '2.6.2' - s.ios.dependency 'ReachabilitySwift' + s.ios.dependency 'ReachabilitySwift', '4.3.1' end