Skip to content

Commit

Permalink
fix(appcheck): workaround iOS build issue when targetting platforms <…
Browse files Browse the repository at this point in the history
… iOS 11

The `FirebaseAppCheck` podspec itself supports >= 9.0, however the subspec defined in `Firebase` podspec has it marked as >= 11.0 - so we'll directly depend on `FirebaseAppCheck` instead for now.
  • Loading branch information
Salakar committed Jan 10, 2022
1 parent f5581e0 commit c78e0b7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ Pod::Spec.new do |s|
# Firebase dependencies
s.dependency 'firebase_core'
s.dependency 'Firebase/CoreOnly', "~> #{firebase_sdk_version}"
s.dependency 'Firebase/AppCheck', "~> #{firebase_sdk_version}"
# TODO(salakar): Directly depend on AppCheck podspec to avoid issues with subspec:
# https://github.com/firebase/firebase-ios-sdk/pull/9187 (pending acceptance & merge)
s.dependency 'FirebaseAppCheck', "~> #{firebase_sdk_version}-beta"

s.static_framework = true
s.pod_target_xcconfig = {
Expand Down

0 comments on commit c78e0b7

Please sign in to comment.