ios Cocoapods未更新到Firebase的最新版本

ljsrvy3e  于 11个月前  发布在  iOS
关注(0)|答案(2)|浏览(144)

当我运行pod update时,我的所有其他pod都会更新,但Firebase只更新到8.15.0。Firebase目前是10.17.0。这里有什么问题?
Podfile.lock:

PODS:
 //...
  - Firebase (8.15.0):
  - GoogleMaps (7.4.0)

字符串
Podfile:

# Uncomment the next line to define a global platform for your project
platform :ios, '14.0'

target 'bottlebin' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for myapp

// ... other pods

pod 'Firebase'
pod 'Firebase/Functions'
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Storage'
pod 'Firebase/Database'
pod 'Firebase/DynamicLinks'
pod 'Firebase/Messaging'
pod 'FirebaseAnalytics'
pod 'FirebaseCrashlytics'
pod 'Firebase/Installations'
pod 'Firebase/AppCheck'

pod 'GeoFire', '~> 4.0'

pod 'GoogleMaps'
pod 'GooglePlaces'
pod 'GoogleSignIn'
pod 'GoogleAnalytics'
pod 'Google-Mobile-Ads-SDK'
pod 'PersonalizedAdConsent'

post_install do |installer|

    installer.pods_project.targets.each do |target|
      if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
        target.build_configurations.each do |config|
            config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
        end
      end
    end
  end
end

iezvtpos

iezvtpos1#

GeoFire 4.x要求Firebase版本低于9。
启用升级到Firebase 10.x的更改是将Podfile更新到GeoFire 5.x。Firebase 10.x支持iOS 11及更高版本。
https://github.com/firebase/geofire-objc/commit/5624f9cbd3771744afad889588d4b36ac6142e27

nfeuvbwi

nfeuvbwi2#

我不得不将平台从'14'更新到'15'

// 2nd line from top of the Podfile
platform :ios, '15.0'

字符串

相关问题