Andrew Heard f9b54b58f1 [Firebase AI] Run quickstart build test using branch (#14879) hai 10 meses
..
api_diff_report 27ae28ff54 Build: enhance api diff report scripts (#13840) hai 1 ano
create_spec_repo 9efe60a849 [Infra] Cleanup and small fixes for prerelease.yml (#13439) hai 1 ano
docsgen ab94252dec add docsgen invocations to scripts (#13892) hai 1 ano
gha-encrypted 94bac424e8 [Vertex AI] Add enum integration test and run on Developer API v1 (#14547) hai 1 ano
health_metrics c2142cd0cb Docs: enhance code coverage report source documentations (#13841) hai 1 ano
lib ca522d2d2a [Infra] Rename references from `master` to `main` (#12203) %!s(int64=2) %!d(string=hai) anos
lldb 96de8fb74b Add LLDB type summaries for Firestore types (#5407) %!s(int64=6) %!d(string=hai) anos
nanopb 11229b59c6 Format nanopb generator scripts (#10448) %!s(int64=3) %!d(string=hai) anos
spm_test_schemes 8a854c732b [Firebase AI] Add initial project structure (#14737) hai 11 meses
third_party 627ebdcd45 CI: retry only 2 times (#7659) %!s(int64=5) %!d(string=hai) anos
README.md 18db6d8ba7 [Vertex AI] Add README for unit test mock files (#13233) hai 1 ano
binary_to_array.py 4ea4340285 Upgrade clang-format (#5265) %!s(int64=6) %!d(string=hai) anos
build.sh 1e6e48ca17 [Firebase AI] Upload `xcodebuild` logs in integration tests (#14844) hai 10 meses
build_non_firebase_sdks.sh 9e475a5c58 [v9] End beta period and update release tooling for select products (#9603) %!s(int64=4) %!d(string=hai) anos
build_private_module_map.rb 3a8e3a397a [auth-swift] Remove module.modulemap as it is unneeded (#10778) %!s(int64=2) %!d(string=hai) anos
build_zip.sh 53cb121639 [Firebase 11] Default back to building static frameworks for RCs (#13316) hai 1 ano
buildcache.sh 87e3523028 Add scripts/README.md and delete unused scripts (#9915) %!s(int64=3) %!d(string=hai) anos
change_headers.swift ce3b40a56b Remove FirebaseStorageInternal (#10118) %!s(int64=3) %!d(string=hai) anos
check.sh 81ab6f9e20 [CI] Run `check` workflow on Ubuntu (#14534) hai 1 ano
check_copyright.sh a70e2e3cba Update check_copyright.sh (#13652) hai 1 ano
check_filename_spaces.sh 97d4ab1410 Add travis check for filename spaces (#2821) %!s(int64=7) %!d(string=hai) anos
check_firestore_symbols.sh 77ba80bc17 [v11] Release tooling should default to building dynamic frameworks (#13261) hai 1 ano
check_imports.swift 0bd010bd85 [infra] Remove last usage of @_implementationOnly in the repo (#14714) hai 11 meses
check_lint.py ca522d2d2a [Infra] Rename references from `master` to `main` (#12203) %!s(int64=2) %!d(string=hai) anos
check_secrets.sh ca522d2d2a [Infra] Rename references from `master` to `main` (#12203) %!s(int64=2) %!d(string=hai) anos
check_test_inclusion.py 3e3bcb41f7 Rewrite lint.sh as check_lint.py (#3161) %!s(int64=6) %!d(string=hai) anos
check_whitespace.sh 34932ce9ec Patch LevelDB so Firestore can support international paths on Windows (#11276) %!s(int64=2) %!d(string=hai) anos
collect_metrics.sh 00247dd50d Fix the metric collection on postsubmit. (#2972) %!s(int64=6) %!d(string=hai) anos
configure_test_keychain.sh 9a3bcfd904 Configure test keychain for macOS tests (#8494) %!s(int64=4) %!d(string=hai) anos
cpplint.py deb3fd0d09 Firestore: Remove obsolete NOLINT comments (#14347) hai 1 ano
create_pull_request.rb ca522d2d2a [Infra] Rename references from `master` to `main` (#12203) %!s(int64=2) %!d(string=hai) anos
decrypt_gha_secret.sh d653c9584c Update copyright presubmit and fix 2020 copyrights (#5944) %!s(int64=5) %!d(string=hai) anos
encrypt_gha_secret.sh 4ab5dc5f19 GHA Project Maintenance (#8632) %!s(int64=4) %!d(string=hai) anos
fuzzing_ci.sh 93ad9fc551 Make fuzzing less verbose to avoid exceeding Travis log limit (#2126) %!s(int64=7) %!d(string=hai) anos
generate_access_token.sh 5bba5242e2 Update remote `generate_access_token` script (#9089) %!s(int64=4) %!d(string=hai) anos
install_prereqs.sh 04e3bfc0b5 Manually set cmake version in github action (#14775) hai 11 meses
localize_podfile.swift 90c33e404f [Rollouts] Feature rollouts merge to main (#12410) %!s(int64=2) %!d(string=hai) anos
make_release_notes.py 9acf1bd53f use devsite variables (#14874) hai 10 meses
pod_lib_lint.rb b85e5a6639 [Infra] Convert `*.podspec.json`s to Ruby podspecs (#9829) %!s(int64=3) %!d(string=hai) anos
quickstart_build_spm.sh a1476e8f69 Build SPM quickstart for FirebaseAI (#14818) hai 11 meses
quickstart_spm_xcodeproj.sh f9b54b58f1 [Firebase AI] Run quickstart build test using branch (#14879) hai 10 meses
release_testing_setup.sh c421661fa2 [Infra] Release testing should grab latest tag on any branch (#13769) hai 1 ano
remove_data.sh 9fbbaeef28 [Infra] Migrate release.yml to use `Firebase/SpecsReleasing` repo (#13213) hai 1 ano
rotate_secrets.sh ecfc563e0d Fix typo of all scripts (#13314) hai 1 ano
run_database_emulator.sh 948c460cdb Update to a more recent rtdb emulator version (#14002) hai 1 ano
run_firestore_emulator.sh c3999178d4 Firestore VectorValue type (#13404) hai 1 ano
setup_bundler.sh 7fd97ea3e5 Update setup_bundler.sh (#9098) %!s(int64=4) %!d(string=hai) anos
setup_check.sh 2ea79ab375 [Infra] Update to clang-format@20 and apply updated styling. (#14531) hai 1 ano
setup_quickstart.sh 9fbbaeef28 [Infra] Migrate release.yml to use `Firebase/SpecsReleasing` repo (#13213) hai 1 ano
setup_quickstart_framework.sh 973f8dfdda [Release Tooling] Update XCFramework structure (#12595) %!s(int64=2) %!d(string=hai) anos
setup_spm_tests.sh bc2c2d42a1 GHA updates: visionOS and Xcode 16 - Part 1 (#13697) hai 1 ano
style.sh 6efa753a5f Investigate swiftformat on Linux CI (#14808) hai 11 meses
sync_project.rb 992dd55adc [Firestore] Consolidate Firestore and FirestoreSwift (Post-Rollback) (#11954) %!s(int64=2) %!d(string=hai) anos
test_archiving.sh fbeb1cf435 Archive workflow now needs xcpretty (#9770) %!s(int64=3) %!d(string=hai) anos
test_catalyst.sh 69989af076 [Infra] Move Catalyst jobs to macos-15 (#14676) hai 11 meses
test_quickstart.sh 6751623a44 Update quickstart tests based on quickstart-ios/issues/1260 (#8568) %!s(int64=4) %!d(string=hai) anos
test_quickstart_framework.sh 2d6980f360 Include Swift extensions in zip and Carthage (#9471) %!s(int64=4) %!d(string=hai) anos
test_quickstart_ftl.sh 257d948548 Add jobs to build quickstart apps and run tests on FTL (#10519) %!s(int64=3) %!d(string=hai) anos
update_vertexai_responses.sh 8a854c732b [Firebase AI] Add initial project structure (#14737) hai 11 meses
update_xcode_target.rb 7b9125a2e9 Update links to `main` branches (#12375) %!s(int64=2) %!d(string=hai) anos
xcresult_logs.py b321674013 [Infra] Move `--legacy` flag into `xcresulttool_json` function (#14736) hai 11 meses
zip_quickstart_test.sh 9a5b90845c [Infra] Update zip workflow to use macOS 15 for Xcode 16 jobs (#14050) hai 1 ano

README.md

Firebase Apple Scripts

This directory provides a set of scripts for development, test, and continuous integration of the Firebase Apple SDKs.

check.sh

Used by the check CI workflow to run several static analysis checks. It calls the following scripts:

style.sh

Runs clang-format and swiftformat across the repo.

check_whitespace.sh

Verify there are no files with trailing whitespace.

check_filename_spaces.sh

Spaces in filenames are not allowed.

check_copyright.sh

Verify existence and format of copyrights.

check_test_inclusion.py

Test existence check for the internal Firestore Xcode project.

check_imports.swift

Verify import style complies with repo standards.

check_firestore_core_api_absl.sh

Check Firestore absl usages for g3 build issues.

check_lint.sh

Run cpplint.

sync_project.rb

Used by Firestore to to keep the Xcode project in sync after adding/removing tests.

Other Scripts

binary_to_array.py

Firestore script to convert binary data into a C/C++ array.

build.sh

Script used by CI jobs to wrap xcodebuild invocations with options.

build_non_firebase_sdks.sh

CI script to build binary versions of non-Firebase SDKs for QuickStart testing.

build_zip.sh

CI script for building the zip distribution.

buildcache.sh

Clang options for the buildcache GitHub action.

change_headers.swift

Utility script to update source to repo-relative headers.

check_secrets.sh

CI script to test if secrets are available (not running on a fork).

collect_metrics.sh

CI script to collect project health metrics and upload them to a database.

configure_test_keychain.sh

CI script to setup the keychain for macOS and Catalyst testing.

cpplint.py

Firestore script for C++ linting.

create_pull_request.rb

Utility used by CI scripts to create issues and PRs.

decrypt_gha_secret.sh

CI script to decrypt a GitHub Actions secret.

encrypt_gha_secret.sh

CI script to encrypt a GitHub Actions secret.

fuzzing_ci.sh

Firestore CI script to run fuzz testing.

generate_access_token.sh

Script to generate a Firebase access token used by Remote config integration tests.

install_prereqs.sh

Utility CI script to provide configuration for build.sh

localize_podfile.swift

Utility script to update a Podfile to point to local podspecs.

make_release_notes.py

Converts GitHub-flavored markdown changelogs to devsite-compatible release notes.

pod_lib_lint.rb

Wrapper script for running pod lib lint tests to include dependencies from the monorepo.

release_testing_setup.sh

Utility script for the release workflow.

remove_data.sh

Cleanup script for CI workflows.

run_database_emulator.sh

Run the RTDB emulator.

run_firestore_emulator.sh

Run the Firestore emulator.

setup_bundler.sh

Set up the Ruby bundler.

setup_check.sh

Install tooling for the check workflow.

setup_quickstart.sh

Set up a QuickStart for integration testing.

setup_quickstart_framework.sh

Set up a QuickStart for zip distribution testing.

setup_spm_tests.sh

Configuration for SPM testing.

spm_test_schemes/

Schemes used by above script to enable test target schemes.

test_archiving.sh

Test Xcode Archive build.

test_catalyst.sh

Test catalyst build.

test_quickstart.sh

Test QuickStart.

test_quickstart_framework.sh

Test QuickStart with the zip distribution.

update_xcode_target.rb

Script to add a file to an Xcode target.

update_vertexai_responses.sh

Downloads mock response files for Vertex AI unit tests.

xcresult_logs.py

Tooling used by build.sh to get the log output for an xcodebuild invocation.

zip_quickstart_test.sh

Run the tests associated with a QuickStart with a zip distribution.

Script Subdirectories

create_spec_repo

Swift utility to build a podspec repo.

gha-encrypted

Store for GitHub secret encrypted resources.

health_metrics

Code coverage and binary size tooling.

lib

Support libraries for xcresult_logs.py.

lldb

Firestore utilities.

third_party

Use Travis's MIT licensed retry.sh script.