diff --git a/.github/workflows/analytics.yml b/.github/workflows/analytics.yml new file mode 100644 index 0000000000..3e6d67edfc --- /dev/null +++ b/.github/workflows/analytics.yml @@ -0,0 +1,27 @@ +name: analytics + +on: + pull_request: + paths: + - 'FirebaseAnalytics.podspec.json' + - 'GoogleAppMeasurement.podspec.json' + - 'Gemfile' + schedule: + # Run every day at 11pm (PST) - cron uses UTC times + - cron: '0 7 * * *' + +jobs: + pod-lib-lint: + # Don't run on private repo unless it is a PR. + if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' + + runs-on: macOS-latest + steps: + - uses: actions/checkout@v2 + - name: Setup Bundler + run: scripts/setup_bundler.sh + - name: GoogleAppMeasurement + run: scripts/third_party/travis/retry.sh pod spec lint GoogleAppMeasurement.podspec.json + +# TODO: Consider pushing GoogleAppMeasurement.podspec.json to SpecsStaging to enable similar test +# for FirebaseAnalytics.podspec.json diff --git a/FirebaseAnalytics.podspec.json b/FirebaseAnalytics.podspec.json new file mode 100644 index 0000000000..f5b0ddface --- /dev/null +++ b/FirebaseAnalytics.podspec.json @@ -0,0 +1,40 @@ +{ + "authors": "Google, Inc.", + "cocoapods_version": ">= 1.10.0", + "dependencies": { + "FirebaseCore": "~> 7.0", + "FirebaseInstallations": "~> 7.0", + "GoogleAppMeasurement": "7.4.0-M1", + "GoogleUtilities/AppDelegateSwizzler": "~> 7.0", + "GoogleUtilities/MethodSwizzler": "~> 7.0", + "GoogleUtilities/NSData+zlib": "~> 7.0", + "GoogleUtilities/Network": "~> 7.0", + "nanopb": "~> 2.30907.0" + }, + "description": "Firebase Analytics is a free, out-of-the-box analytics solution that inspires actionable insights based on app usage and user engagement.", + "frameworks": [ + "StoreKit" + ], + "homepage": "https://firebase.google.com/features/analytics/", + "libraries": [ + "c++", + "sqlite3", + "z" + ], + "license": { + "text": "Copyright 2021 Google", + "type": "Copyright" + }, + "name": "FirebaseAnalytics", + "platforms": { + "ios": "9.0" + }, + "source": { + "http": "https://dl.google.com/firebase/ios/analytics/f52332a3dbc0996d/FirebaseAnalytics-7.4.0-M1.tar.gz" + }, + "summary": "Firebase Analytics for iOS", + "vendored_frameworks": [ + "Frameworks/FirebaseAnalytics.xcframework" + ], + "version": "7.4.0-M1" +} diff --git a/GoogleAppMeasurement.podspec.json b/GoogleAppMeasurement.podspec.json new file mode 100644 index 0000000000..bc101b51ac --- /dev/null +++ b/GoogleAppMeasurement.podspec.json @@ -0,0 +1,37 @@ +{ + "authors": "Google, Inc.", + "cocoapods_version": ">= 1.10.0", + "dependencies": { + "GoogleUtilities/AppDelegateSwizzler": "~> 7.0", + "GoogleUtilities/MethodSwizzler": "~> 7.0", + "GoogleUtilities/NSData+zlib": "~> 7.0", + "GoogleUtilities/Network": "~> 7.0", + "nanopb": "~> 2.30907.0" + }, + "description": "Measurement methods that are shared between Google libraries. This pod does not expose any headers and isn't intended for direct use, but rather as a dependency of some Google libraries.", + "frameworks": [ + "StoreKit" + ], + "homepage": "https://developers.google.com/ios", + "libraries": [ + "c++", + "sqlite3", + "z" + ], + "license": { + "text": "Copyright 2021 Google", + "type": "Copyright" + }, + "name": "GoogleAppMeasurement", + "platforms": { + "ios": "9.0" + }, + "source": { + "http": "https://dl.google.com/firebase/ios/analytics/5523b125da32f049/GoogleAppMeasurement-7.4.0-M1.tar.gz" + }, + "summary": "Shared measurement methods for Google libraries. Not intended for direct use.", + "vendored_frameworks": [ + "Frameworks/GoogleAppMeasurement.xcframework" + ], + "version": "7.4.0-M1" +}