Skip to content
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
env:
CCACHE_DIR: ${{ github.workspace }}/ccache_dir
GITHUB_TOKEN: ${{ github.token }}
xcodeVersion: "16.2" # Only affects Mac runners, and only for prerequisites.
xcodeVersion: "26.2" # Only affects Mac runners, and only for prerequisites.

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- os: ubuntu-22.04
architecture: arm64
# Do not attempt to use x64 on Mac.
- os: macos-14
- os: macos-15
architecture: x64
steps:
- uses: lukka/get-cmake@latest
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/cpp-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ env:
demumbleVer: "df938e45c2b0e064fb5323d88b692d03b451d271"
# Use SHA256 for hashing files.
hashCommand: "sha256sum"
# Xcode version 16.2 is the version we build the SDK with.
# Xcode version 26.2 is the version we build the SDK with.
# Our MacOS runners will use the version in /Applications/Xcode_${xcodeVersion}.app
xcodeVersion: "16.2"
xcodeVersion: "26.2"
# LLVM version with ARM MachO support has no version number yet.
llvmVer: "5f187f0afaad33013ba03454c4749d99b1362534"
GITHUB_TOKEN: ${{ github.token }}
Expand Down Expand Up @@ -82,13 +82,13 @@ jobs:
if: ${{ github.event.inputs.downloadPublicVersion == '' && github.event.inputs.downloadPreviousRun == '' }}
strategy:
matrix:
os: [ubuntu-22.04, macos-14]
os: [ubuntu-22.04, macos-15]
include:
- os: ubuntu-22.04
tools_platform: linux
# Binutils 2.35.1 released Sep 19, 2020
binutils_version: "2.35.1"
- os: macos-14
- os: macos-15
tools_platform: darwin
# Binutils 2.35.1 released Sep 19, 2020
binutils_version: "2.35.1"
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:

build_and_package_ios_tvos:
name: build-and-package-ios-tvos
runs-on: macos-14
runs-on: macos-15
if: ${{ github.event.inputs.downloadPublicVersion == '' && github.event.inputs.downloadPreviousRun == '' }}
steps:
- uses: lukka/get-cmake@latest
Expand Down Expand Up @@ -320,7 +320,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-22.04, macos-14]
os: [windows-latest, ubuntu-22.04, macos-15]
build_type: ["Release", "Debug"]
architecture: ["x64", "x86", "arm64"]
msvc_runtime: ["static", "dynamic"]
Expand All @@ -338,21 +338,21 @@ jobs:
vcpkg_triplet_suffix: "linux"
additional_build_flags: ""
sdk_platform: "linux"
- os: macos-14
- os: macos-15
vcpkg_triplet_suffix: "osx"
additional_build_flags: "--target_format libraries"
sdk_platform: "darwin"

exclude:
- os: windows-latest
linux_abi: "c++11"
- os: macos-14
- os: macos-15
architecture: "x86"
- os: macos-14
- os: macos-15
msvc_runtime: "dynamic"
- os: macos-14
- os: macos-15
linux_abi: "c++11"
- os: macos-14
- os: macos-15
build_type: "Debug"
- os: ubuntu-22.04
msvc_runtime: "dynamic"
Expand Down Expand Up @@ -509,7 +509,7 @@ jobs:
suffix: '-x64-Debug-dynamic'
runs_on_platform: ubuntu-22.04
- sdk_platform: darwin
runs_on_platform: macos-14
runs_on_platform: macos-15
exclude:
- sdk_platform: windows
suffix: ''
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ jobs:
# msvc_runtime excludes
- os: ubuntu-22.04
msvc_runtime: "dynamic"
- os: macos-14
- os: macos-15
msvc_runtime: "dynamic"
# architecture excluees
- os: macos-14
- os: macos-15
architecture: "x86"
- os: macos-14
- os: macos-15
architecture: "x64"
# Xcode excludes -- allow only one on osx and linux
- os: ubuntu-22.04
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
required: true
operating_systems:
description: 'CSV of VMs to run on'
default: 'ubuntu-22.04,windows-latest,macos-14'
default: 'ubuntu-22.04,windows-latest,macos-15'
required: true
desktop_ssl_variants:
description: 'CSV of desktop SSL variants to use'
Expand Down Expand Up @@ -49,7 +49,7 @@ env:
triggerLabelFull: "tests-requested: full"
triggerLabelQuick: "tests-requested: quick"
pythonVersion: '3.9'
xcodeVersion: '16.2'
xcodeVersion: '26.2'
logArtifactRetentionDays: 90
binaryArtifactRetentionDays: 7
GITHUB_TOKEN: ${{ github.token }}
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
# at 3am PST/4am PDT. Running firestore desktop integration test aginst tip-of-tree ios repo
echo "::warning ::Running against Firestore tip-of-tree"
matrix_platform="Desktop"
matrix_os=$( python scripts/gha/print_matrix_configuration.py -w integration_tests ${TEST_MATRIX_PARAM} -k os -o "ubuntu-22.04,macos-14")
matrix_os=$( python scripts/gha/print_matrix_configuration.py -w integration_tests ${TEST_MATRIX_PARAM} -k os -o "ubuntu-22.04,macos-15")
else
matrix_platform=$( python scripts/gha/print_matrix_configuration.py -w integration_tests ${TEST_MATRIX_PARAM} -k platform -o "${GITHUB_EVENT_INPUTS_PLATFORMS}" --apis ${apis} )
matrix_os=$( python scripts/gha/print_matrix_configuration.py -w integration_tests ${TEST_MATRIX_PARAM} -k os -o "${GITHUB_EVENT_INPUTS_OPERATING_SYSTEMS}")
Expand Down Expand Up @@ -283,7 +283,7 @@ jobs:
- os: ubuntu-22.04
arch: arm64
# Do not attempt to use x86 on Mac.
- os: macos-14
- os: macos-15
arch: x86
# Until we support building openssl from source, we can't use the
# system's openssl when cross-compiling, except on Linux. Builds on Linux
Expand All @@ -292,7 +292,7 @@ jobs:
- os: windows-latest
ssl_variant: openssl
arch: x86
- os: macos-14
- os: macos-15
ssl_variant: openssl
arch: x64
steps:
Expand Down Expand Up @@ -605,7 +605,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-14]
os: [macos-15]
steps:
- uses: lukka/get-cmake@latest
with:
Expand Down Expand Up @@ -724,7 +724,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-14]
os: [macos-15]
steps:
- uses: lukka/get-cmake@latest
with:
Expand Down Expand Up @@ -853,7 +853,7 @@ jobs:
- os: ubuntu-22.04
arch: arm64
# Do not attempt to use x86 on Mac.
- os: macos-14
- os: macos-15
arch: x86
# Until we support building openssl from source, we can't use the
# system's openssl when cross-compiling, except on Linux. Builds on Linux
Expand All @@ -862,7 +862,7 @@ jobs:
- os: windows-latest
ssl_variant: openssl
arch: x86
- os: macos-14
- os: macos-15
ssl_variant: openssl
arch: x64
steps:
Expand Down Expand Up @@ -1127,7 +1127,7 @@ jobs:
test_ios:
name: test-ios-${{ matrix.build_os }}-${{ matrix.ios_device }}-${{ matrix.test_type }}
needs: [check_and_prepare, build_ios]
runs-on: macos-14
runs-on: macos-15
if: contains(needs.check_and_prepare.outputs.matrix_platform, 'iOS') && needs.check_and_prepare.outputs.apis != '' && !cancelled()
strategy:
fail-fast: false
Expand All @@ -1137,7 +1137,7 @@ jobs:
exclude:
- ios_device: "ios_target"
test_type: "uitest"
build_os: [macos-14]
build_os: [macos-15]
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -1317,13 +1317,13 @@ jobs:
test_tvos:
name: test-tvos-${{ matrix.build_os }}-${{ matrix.tvos_device }}
needs: [check_and_prepare, build_tvos]
runs-on: macos-14
runs-on: macos-15
if: contains(needs.check_and_prepare.outputs.matrix_platform, 'tvOS') && needs.check_and_prepare.outputs.apis != '' && !cancelled()
strategy:
fail-fast: false
matrix:
tvos_device: ${{ fromJson(needs.check_and_prepare.outputs.tvos_device) }}
build_os: [macos-14]
build_os: [macos-15]
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ 'macos-14' ]
os: [ 'macos-15' ]
xcode_version: ${{ fromJson(needs.prepare_matrix.outputs.matrix_xcode_version) }}
steps:
- uses: lukka/get-cmake@latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
jobs:
update_dependencies:
name: update-deps
runs-on: macos-14
runs-on: macos-15
steps:
- name: Get token for firebase-workflow-trigger
uses: tibdex/github-app-token@v1
Expand Down
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ if(APPLE)
# build output for our Objective-C++ files much too verbose.
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-nullability-completeness")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-nullability-completeness")
# On Apple platforms, disable the target os macros, as they cause problems with zlib
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-define-target-os-macros")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-define-target-os-macros")
if(DESKTOP)
# Mac desktop Firestore build requires -Wno-deprecated-declarations
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-deprecated-declarations")
Expand Down
7 changes: 6 additions & 1 deletion release_build_files/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ Firebase Cloud Messaging (stub) | firebase_messaging.framework
User Messaging Platform (stub) | libfirebase_ump.a
| | libfirebase_app.a

The provided libraries have been tested using Xcode 16.2. When building C++
The provided libraries have been tested using Xcode 26.2. When building C++
Comment thread
a-maurice marked this conversation as resolved.
desktop apps on OS X, you will need to link the `gssapi_krb5` and `pthread`
system libraries, as well as the `CoreFoundation`, `Foundation`, `GSS`, and
`Security` OS X system frameworks (consult your compiler documentation for more
Expand Down Expand Up @@ -613,6 +613,11 @@ workflow use only during the development of your app, not for publicly shipping
code.

## Release Notes
### Upcoming
- Changes
- General (iOS, tvOS, Desktop): iOS, tvOS, and macOS SDKs are now built
using Xcode 26.2.
Comment thread
a-maurice marked this conversation as resolved.

### 13.7.0
- Changes
- General (Android): Update to Firebase Android BoM version 34.13.0.
Expand Down
9 changes: 9 additions & 0 deletions scripts/gha/install_prereqs_desktop.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,15 @@ def main():
# brew install protobuf
utils.run_command(['brew', 'install', 'clang-format'])

# Install mono on linux/mac if its not installed already
if not utils.is_command_installed('mono'):
if utils.is_linux_os():
# sudo apt install mono-complete
utils.run_command(['apt', 'install', '-y', 'mono-complete'], as_root=True)
elif utils.is_mac_os():
# brew install mono
utils.run_command(['brew', 'install', 'mono'])

# On Linux, if gcc-10 isn't installed install it. Then make it the default.
if utils.is_linux_os():
# Check if we have gcc 9 or gcc 10 as the default, if not, set gcc 10.
Expand Down
24 changes: 12 additions & 12 deletions scripts/gha/print_matrix_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,35 +73,35 @@
PARAMETERS = {
"desktop": {
"matrix": {
"os": ["ubuntu-22.04", "macos-14"],
"os": ["ubuntu-22.04", "macos-15"],
"build_type": ["Release", "Debug"],
"architecture": ["x64", "x86", "arm64"],
"msvc_runtime": ["static","dynamic"],
"xcode_version": ["16.2"],
"xcode_version": ["26.2"],
Comment thread
a-maurice marked this conversation as resolved.
"python_version": ["3.9"],

EXPANDED_KEY: {
"os": ["ubuntu-22.04", "macos-14", "windows-latest"],
"xcode_version": ["16.2"],
"os": ["ubuntu-22.04", "macos-15", "windows-latest"],
"xcode_version": ["26.2"],
}
}
},

"android": {
"matrix": {
"os": ["ubuntu-22.04", "macos-14", "windows-latest"],
"os": ["ubuntu-22.04", "macos-15", "windows-latest"],
"architecture": ["x64", "arm64"],
"python_version": ["3.9"],

EXPANDED_KEY: {
"os": ["ubuntu-22.04", "macos-14", "windows-latest"]
"os": ["ubuntu-22.04", "macos-15", "windows-latest"]
}
}
},

"integration_tests": {
"matrix": {
"os": ["ubuntu-22.04", "macos-14", "windows-latest"],
"os": ["ubuntu-22.04", "macos-15", "windows-latest"],
"platform": ["Desktop", "Android", "iOS", "tvOS"],
"ssl_lib": ["openssl"],
"android_device": ["android_target", "emulator_ftl_target"],
Expand All @@ -113,7 +113,7 @@
"msvc_runtime": ["dynamic"],
"cpp_compiler_windows": ["VisualStudio2019"],
"cpp_compiler_linux": ["clang-11.0"],
"xcode_version": ["16.2"], # only the first one is used
"xcode_version": ["26.2"], # only the first one is used
"ndk_version": ["r22b"],
"platform_version": ["28"],
"build_tools_version": ["28.0.3"],
Expand Down Expand Up @@ -141,10 +141,10 @@

"ios": {
"matrix": {
"xcode_version": ["16.2"],
"xcode_version": ["26.2"],

EXPANDED_KEY: {
"xcode_version": ["16.2"]
"xcode_version": ["26.2"]
}
}
},
Expand Down Expand Up @@ -211,8 +211,8 @@
{"type": "ftl", "device": "model=iphone8,version=16.6"},
{"type": "ftl", "device": "model=ipad10,version=16.6"},
],
"simulator_target": [ {"type": "virtual", "name":"iPhone 15 Pro Max", "version":"17.2"} ],
"tvos_simulator": [ {"type": "virtual", "name":"Apple TV", "version":"17.2"} ],
"simulator_target": [ {"type": "virtual", "name":"iPhone 16 Pro Max", "version":"26.2"} ],
"tvos_simulator": [ {"type": "virtual", "name":"Apple TV", "version":"26.2"} ],
}

# Easy accesssor for getting a TEST_DEVICES entry. Note that once a device model
Expand Down
Loading
Loading