Skip to content

Conversation

Reedyuk
Copy link
Collaborator

@Reedyuk Reedyuk commented Aug 31, 2025

This is taken from #729
Thank you for your contributions @sajidalidev
I have rebased and re-added iosX64.

@Reedyuk Reedyuk changed the title Tvos Added TvOS, MacOS, iOSX64 support Aug 31, 2025
@Reedyuk Reedyuk requested a review from nbransby August 31, 2025 16:30
sajidalidev and others added 5 commits September 9, 2025 18:50
Updated the build configuration to include support for tvOS by setting deployment targets and adjusting Kotlin opt-ins. Also, updated Gradle and library versions to their latest stable releases as of commit `9b4c5f6`. This change ensures compatibility with new platforms while leveraging the latest features and improvements in dependencies.
Updated the build configuration to include support for macOS by setting appropriate deployment targets. Enhanced platform coverage by adding macOS targets to existing iOS, tvOS, and Kotlin opt-ins. Updated Gradle and library versions to their latest stable releases, ensuring compatibility with new platforms while leveraging recent improvements in dependencies.
@joohnq
Copy link

joohnq commented Sep 13, 2025

Please come back with the iosX64

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for TvOS, MacOS, and iOSX64 platforms to the Firebase Kotlin SDK by extending the build configurations across all Firebase modules and updating the CI/CD pipeline to test these new platforms.

Key changes:

  • Expanded Apple platform support from iOS-only to include TvOS, MacOS, and iOSX64
  • Updated build configurations to support the new Apple platforms with appropriate deployment targets
  • Added comprehensive test skipping configurations for the new platforms

Reviewed Changes

Copilot reviewed 24 out of 72 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
gradle.properties Added test skip configuration properties for MacOS and TvOS platforms
gradle/libs.versions.toml Added deployment target versions for TvOS (13.0) and MacOS (10.15)
Multiple build.gradle.kts files Extended Kotlin multiplatform configurations to include new Apple targets and deployment settings
GitHub workflow files Updated CI/CD pipelines to test MacOS and TvOS platforms with specific Xcode version
Test utility files Minor import optimizations and platform detection logic updates

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +88 to +92
tvosSimulatorArm64()

cocoapods {
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
tvos.deploymentTarget = libs.versions.tvos.deploymentTarget.get()
Copy link
Preview

Copilot AI Sep 15, 2025

Choose a reason for hiding this comment

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

This module adds tvOS targets but does not include macOS targets like other modules. This inconsistency could lead to build issues or confusion about platform support.

Suggested change
tvosSimulatorArm64()
cocoapods {
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
tvos.deploymentTarget = libs.versions.tvos.deploymentTarget.get()
tvosSimulatorArm64()
macosX64()
macosArm64()
macosSimulatorArm64()
cocoapods {
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
tvos.deploymentTarget = libs.versions.tvos.deploymentTarget.get()
macos.deploymentTarget = libs.versions.macos.deploymentTarget.get()

Copilot uses AI. Check for mistakes.

Comment on lines 85 to 87
iosSimulatorArm64().enableKeychainForTests()
cocoapods {
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
Copy link
Preview

Copilot AI Sep 15, 2025

Choose a reason for hiding this comment

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

The firebase-auth module does not include tvOS or macOS targets unlike other Firebase modules, creating inconsistent platform support across the SDK.

Suggested change
iosSimulatorArm64().enableKeychainForTests()
cocoapods {
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
iosSimulatorArm64().enableKeychainForTests()
macosX64()
macosArm64()
macosSimulatorArm64()
tvosX64()
tvosArm64()
tvosSimulatorArm64()
cocoapods {
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
macos.deploymentTarget = libs.versions.macos.deploymentTarget.get()
tvos.deploymentTarget = libs.versions.tvos.deploymentTarget.get()

Copilot uses AI. Check for mistakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants