-
-
Notifications
You must be signed in to change notification settings - Fork 178
Added TvOS, MacOS, iOSX64 support #770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
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.
Please come back with the iosX64 |
There was a problem hiding this 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.
tvosSimulatorArm64() | ||
|
||
cocoapods { | ||
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get() | ||
tvos.deploymentTarget = libs.versions.tvos.deploymentTarget.get() |
There was a problem hiding this comment.
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.
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.
iosSimulatorArm64().enableKeychainForTests() | ||
cocoapods { | ||
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get() |
There was a problem hiding this comment.
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.
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.
This is taken from #729
Thank you for your contributions @sajidalidev
I have rebased and re-added iosX64.