Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/abtesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
matrix:
target: [ios, tvos, macos]
flags: [
'--use-modular-headers',
'--use-static-frameworks',
'--use-libraries'
]
needs: pod-lib-lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/appdistribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
matrix:
target: [ios]
flags: [
'--use-modular-headers',
'--use-static-frameworks',
'--use-libraries'
]
needs: pod-lib-lint
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
# The macos and tvos tests can hang, and watchOS doesn't have tests.
target: [ios, tvos --skip-tests, macos --skip-tests, watchos --skip-tests]
flags: [
'--use-modular-headers',
'--use-static-frameworks',
'--use-libraries'
]
needs: pod-lib-lint
Expand All @@ -145,9 +145,7 @@ jobs:
- name: Setup Bundler
run: scripts/setup_bundler.sh
- name: PodLibLint Auth Cron
run: |
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAuth.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAuth.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAuth.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}

archive-cron:
# Don't run on private repo.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
matrix:
target: [ios, tvos, macos]
flags: [
'--use-modular-headers',
'--use-static-frameworks',
# Tests are skipped since the Swift tests need modules.
'--skip-tests --use-libraries'
]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/crashlytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
matrix:
target: [ios, tvos, macos, watchos --skip-tests] # The macos and tvos tests can hang
flags: [
'--use-modular-headers',
'--use-static-frameworks',
'--use-libraries'
]
needs: pod-lib-lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
matrix:
target: [ios, tvos, macos]
flags: [
'--skip-tests --use-modular-headers',
'--skip-tests --use-static-frameworks',
'--skip-tests --use-libraries'
]
needs: pod-lib-lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/datatransport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
matrix:
target: [ios, tvos, macos, watchos]
flags: [
'--use-modular-headers',
'--use-static-frameworks',
'--use-libraries'
]
needs: pod_lib_lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dynamiclinks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
strategy:
matrix:
flags: [
'--use-modular-headers',
'--use-static-frameworks',
'--use-libraries'
]
needs: pod_lib_lint
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@ jobs:
if: github.repository != 'FirebasePrivate/firebase-ios-sdk' || github.event_name == 'pull_request'
runs-on: macos-latest
needs: check
strategy:
matrix:
flags: [
'--use-static-frameworks',
'',
]

steps:
- uses: actions/checkout@v2
Expand All @@ -182,6 +188,7 @@ jobs:
- name: Pod lib lint
run: |
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseFirestore.podspec \
${{ matrix.flags }} \
--platforms=ios \
--allow-warnings

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/installations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
matrix:
target: [ios, tvos, macos]
flags: [
'--use-modular-headers',
'--use-static-frameworks',
'--use-libraries'
]
needs: pod-lib-lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/instanceid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
matrix:
target: [ios, tvos, macos]
flags: [
'--use-modular-headers',
'--use-static-frameworks',
'--use-libraries'
]
needs: pod-lib-lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/messaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
strategy:
matrix:
flags: [
'--skip-tests --use-modular-headers',
'--use-static-frameworks',
'--skip-tests --use-libraries'
]
needs: pod-lib-lint-watchos
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/remoteconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
matrix:
target: [ios, tvos, macos]
flags: [
'--skip-tests --use-modular-headers',
'--skip-tests --use-static-frameworks',
'--skip-tests --use-libraries'
]
needs: pod-lib-lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
matrix:
target: [ios, tvos, macos]
flags: [
'--skip-tests --use-modular-headers',
'--skip-tests --use-static-frameworks',
'--skip-tests --use-libraries'
]
needs: pod-lib-lint
Expand Down
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ jobs:
- ./scripts/if_changed.sh ./scripts/install_prereqs.sh # Start integration test server
script:
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb FirebaseFunctions.podspec
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb FirebaseFunctions.podspec --use-static-frameworks
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb FirebaseFunctions.podspec --use-libraries
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb FirebaseFunctions.podspec --use-modular-headers

Expand Down Expand Up @@ -175,6 +176,9 @@ jobs:
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb GoogleUtilities.podspec --platforms=ios
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb GoogleUtilities.podspec --platforms=tvos
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb GoogleUtilities.podspec --platforms=macos
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb GoogleUtilities.podspec --use-static-frameworks --platforms=ios
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb GoogleUtilities.podspec --use-static-frameworks --platforms=tvos
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb GoogleUtilities.podspec --use-static-frameworks --platforms=macos

- stage: test
if: type = cron
Expand Down Expand Up @@ -215,6 +219,7 @@ jobs:
- PROJECT=Firebase METHOD=pod-lib-lint
script:
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb FirebaseInAppMessaging.podspec
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb FirebaseInAppMessaging.podspec --use-static-frameworks

# pod lib lint to check build and warnings for static library build - only on cron jobs
- stage: test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@

#import <OCMock/OCMock.h>

#import <GoogleUtilities/GULSwizzler+Unswizzle.h>
// This needs to precede the GULSwizzler+Unswizzle.h import for the --use-libraries build.
#import <GoogleUtilities/GULSwizzler.h>

#import <GoogleUtilities/GULSwizzler+Unswizzle.h>
#import "FirebaseDynamicLinks/Sources/FIRDynamicLinkNetworking+Private.h"

static NSString *const kAPIKey = @"myfakeapikey";
Expand Down
4 changes: 3 additions & 1 deletion FirebaseDynamicLinks/Tests/Unit/FIRDynamicLinksTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@

#import <XCTest/XCTest.h>

#import <GoogleUtilities/GULSwizzler+Unswizzle.h>
// This needs to precede the GULSwizzler+Unswizzle.h import for the --use-libraries build.
#import <GoogleUtilities/GULSwizzler.h>

#import <GoogleUtilities/GULSwizzler+Unswizzle.h>
#import <OCMock/OCMock.h>
#import "FirebaseCore/Sources/Private/FirebaseCoreInternal.h"
#import "FirebaseDynamicLinks/Sources/FIRDLDefaultRetrievalProcessV2.h"
Expand Down
6 changes: 4 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# commit Gemfile and Gemfile.lock.
source 'https://rubygems.org'

gem 'cocoapods', "1.9.3"
gem 'cocoapods-generate', '2.0.0'
gem 'cocoapods', '1.10.0.rc.1'

# Use cocoapod-generate hash until 2.1.0 releases to fix a bug interacting with CocoaPods 1.10.
gem 'cocoapods-generate', git: "https://github.com/square/cocoapods-generate.git", ref: "230b0b537b"
gem 'danger', '6.1.0'
58 changes: 32 additions & 26 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
GIT
remote: https://github.com/square/cocoapods-generate.git
revision: 230b0b537b5d7f524de157b6dbb3f5e08d317516
ref: 230b0b537b
specs:
cocoapods-generate (2.0.1)
cocoapods-disable-podfile-validations (~> 0.1.1)

GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.2)
activesupport (4.2.11.3)
i18n (~> 0.7)
activesupport (5.2.4.4)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
algoliasearch (1.27.2)
algoliasearch (1.27.4)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
atomos (0.1.3)
Expand All @@ -18,15 +26,14 @@ GEM
cork
nap
open4 (~> 1.3)
cocoapods (1.9.3)
activesupport (>= 4.0.2, < 5)
cocoapods (1.10.0.rc.1)
addressable (~> 2.6)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.9.3)
cocoapods-core (= 1.10.0.rc.1)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 1.2.2, < 2.0)
cocoapods-downloader (>= 1.4.0, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-stats (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.4.0, < 2.0)
cocoapods-try (>= 1.1.0, < 2.0)
colored2 (~> 3.1)
Expand All @@ -36,30 +43,29 @@ GEM
molinillo (~> 0.6.6)
nap (~> 1.0)
ruby-macho (~> 1.4)
xcodeproj (>= 1.14.0, < 2.0)
cocoapods-core (1.9.3)
activesupport (>= 4.0.2, < 6)
xcodeproj (>= 1.17.0, < 2.0)
cocoapods-core (1.10.0.rc.1)
activesupport (> 5.0, < 6)
addressable (~> 2.6)
algoliasearch (~> 1.0)
concurrent-ruby (~> 1.1)
fuzzy_match (~> 2.0.4)
nap (~> 1.0)
netrc (~> 0.11)
public_suffix
typhoeus (~> 1.0)
cocoapods-deintegrate (1.0.4)
cocoapods-disable-podfile-validations (0.1.1)
cocoapods-downloader (1.3.0)
cocoapods-generate (2.0.0)
cocoapods-disable-podfile-validations (~> 0.1.1)
cocoapods-downloader (1.4.0)
cocoapods-plugins (1.0.0)
nap
cocoapods-search (1.0.0)
cocoapods-stats (1.1.0)
cocoapods-trunk (1.5.0)
nap (>= 0.8, < 2.0)
netrc (~> 0.11)
cocoapods-try (1.2.0)
colored2 (3.1.2)
concurrent-ruby (1.1.6)
concurrent-ruby (1.1.7)
cork (0.3.0)
colored2 (~> 3.1)
danger (6.1.0)
Expand All @@ -82,23 +88,23 @@ GEM
multipart-post (>= 1.2, < 3)
faraday-http-cache (2.0.0)
faraday (~> 0.8)
ffi (1.12.2)
ffi (1.13.1)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
git (1.5.0)
httpclient (2.8.3)
i18n (0.9.5)
i18n (1.8.5)
concurrent-ruby (~> 1.0)
json (2.3.0)
json (2.3.1)
kramdown (2.3.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
minitest (5.14.1)
minitest (5.14.2)
molinillo (0.6.6)
multipart-post (2.1.1)
nanaimo (0.2.6)
nanaimo (0.3.0)
nap (1.1.0)
netrc (0.11.0)
no_proxy_fix (0.1.2)
Expand All @@ -119,19 +125,19 @@ GEM
tzinfo (1.2.7)
thread_safe (~> 0.1)
unicode-display_width (1.6.0)
xcodeproj (1.16.0)
xcodeproj (1.18.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.2.6)
nanaimo (~> 0.3.0)

PLATFORMS
ruby

DEPENDENCIES
cocoapods (= 1.9.3)
cocoapods-generate (= 2.0.0)
cocoapods (= 1.10.0.rc.1)
cocoapods-generate!
danger (= 6.1.0)

BUNDLED WITH
Expand Down