Closed alexzchut closed 2 years ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
@alexzchut Thanks for the issue and the PR! At first glance, this looks like an oversight and a good fix.
In the interim, a workaround should be to directly add FirebaseAnalytics/WithoutAdIdSupport
to the Podfile.
@paulb777 yes, thats what I am actually doing for now, until this will be fixed in podspec
@alexzchut Thanks for the issue report and the fix!
Note that with Firebase 9.0, we are now recommending against using the Firebase pod, since it may not be feasible to support as we move more of the implementation to Swift.
Thus, FirebaseAnalytics/WithoutAdIdSupport
is now the recommended usability.
Nonetheless, there's no reason to remove support for the Firebase pod early so we'll merge this now. Thanks!
Step 0: Are you in the right place?
firebase
tag.[REQUIRED] Step 1: Describe your environment
CocoaPods | Carthage | Zip file | Swift Package Manager
CocoaPodsAll | iOS | Catalyst | macOS | tvOS | watchOS
- tvOS[REQUIRED] Step 2: Describe the problem
Missing Analytics dependency when using AnalyticsWithoutAdIdSupport subspec for tvOS
Steps to reproduce:
When installing Firebase Analytics for tvOS, the dependent repository of FirebaseAnalytics is limited to iOS only and not installed when targeting for tvOS.
What happened? How can we make the problem occur? This could be a description, log/console output, etc.
If you have a downloadable sample project that reproduces the bug you're reporting, you will likely receive a faster response on your issue.
Relevant Code:
s.subspec 'AnalyticsWithoutAdIdSupport' do |ss| ss.ios.deployment_target = '10.0' ss.osx.deployment_target = '10.12' ss.tvos.deployment_target = '12.0' ss.ios.dependency 'FirebaseAnalytics/WithoutAdIdSupport', '~> 8.15.0' ss.dependency 'Firebase/CoreOnly' end