Skip to content

Migrate the testapps to use SPM from Cocoapods - #1923

Open
a-maurice wants to merge 5 commits into
mainfrom
am-testapp_spm
Open

a-maurice wants to merge 5 commits into
mainfrom
am-testapp_spm

Conversation

@a-maurice

Copy link
Copy Markdown
Contributor

Description

Provide details of the change, and generalize the change in the PR title above.

Migrate the testapps to use Swift Package Manager to include the Firebase iOS SDK dependencies, instead of using Cocoapods.


Testing

Describe how you've tested these changes. Link any manually triggered Integration tests or CPP binary SDK Packaging Github Action workflows, if applicable.

Building the tests locally


Type of Change

Place an x the applicable box:

  • Bug fix. Add the issue # below if applicable.
  • New feature. A non-breaking change which adds functionality.
  • Other, such as a build process or documentation change.

Notes

  • Bug fixes and feature changes require an update to the Release Notes section of release_build_files/readme.md.
  • Read the contribution guidelines CONTRIBUTING.md.
  • Changes to the public API require an internal API review. If you'd like to help us make Firebase APIs better, please propose your change in a feature request so that we can discuss it together.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request transitions the iOS and tvOS integration tests from CocoaPods to Swift Package Manager (SPM). The changes include removing Podfiles across all test apps, updating Xcode project configurations to resolve the firebase-ios-sdk package, adjusting build scripts and documentation to reference the .xcodeproj instead of the .xcworkspace, and updating the dependency management script to parse and update SPM versions in project.pbxproj files. The review feedback highlights a few Python best practices, specifically recommending against the use of mutable default arguments and advising that file operations explicitly specify UTF-8 encoding to ensure cross-platform compatibility.

Comment thread scripts/update_android_ios_dependencies.py
Comment thread scripts/update_android_ios_dependencies.py Outdated
Comment thread scripts/update_android_ios_dependencies.py Outdated
@a-maurice a-maurice added skip-release-notes Skip release notes check tests-requested: full Trigger a FULL set of integration tests (uses expanded test matrix). labels Sep 21, 2026
@github-actions github-actions Bot added tests: in-progress This PR's integration tests are in progress. and removed tests-requested: full Trigger a FULL set of integration tests (uses expanded test matrix). labels Sep 21, 2026
@github-actions

github-actions Bot commented Sep 21, 2026

Copy link
Copy Markdown

❌  Integration test FAILED

Requested by @a-maurice on commit a100621
Last updated: Mon Sep 21 20:56 PDT 2026
View integration test log & download artifacts

Failures Configs
missing_log [TEST] [ERROR] [Android] [All 3 os] [1/4 android_device: android_target]
firestore [TEST] [FLAKINESS] [Android] [1/3 os: macos] [1/4 android_device: emulator_ftl_target]
(1 failed tests)  SourceTest.GetDocumentWhileOnlineWithDefaultGetOptions
[TEST] [FLAKINESS] [Android] [1/3 os: windows] [1/4 android_device: android_latest]
(2 failed tests)  AggregateQuerySnapshotTest.IdenticalSnapshotFromCollectionQueriesShouldHaveSameHash
  FirebaseFirestoreBasicTest.TestSignIn
[TEST] [FLAKINESS] [Android] [1/3 os: windows] [1/4 android_device: emulator_ftl_latest]
(1 failed tests)  TaskTest.IsCompleteShouldReturnTrueForCanceledTask
installations [TEST] [FLAKINESS] [Android] [1/3 os: macos] [1/4 android_device: emulator_ftl_latest]
(1 failed tests)  FirebaseInstallationsTest.TestCanGetToken
remote_config [TEST] [FLAKINESS] [iOS] [macos] [1/2 ios_device: ios_target]
(1 failed tests)  CRASH/TIMEOUT
storage [TEST] [ERROR] [Linux] [1/2 ssl_lib: x64] [1/2 build_type: boringssl]
[TEST] [ERROR] [Windows] [x86] [boringssl]
[TEST] [FLAKINESS] [iOS] [macos] [1/2 ios_device: ios_target]
(1 failed tests)  CRASH/TIMEOUT

Add flaky tests to go/fpl-cpp-flake-tracker

@github-actions github-actions Bot added the tests: failed This PR's integration tests failed. label Sep 22, 2026
@firebase-workflow-trigger firebase-workflow-trigger Bot removed the tests: in-progress This PR's integration tests are in progress. label Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-release-notes Skip release notes check tests: failed This PR's integration tests failed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant