You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

执行pod install失败求助:网络正常、重装CocoaPods仍无效

Pod install fails after swapping Firebase/Crash for Fabric and Crashlytics

Hey folks,

I ran into a frustrating issue after updating my Podfile: I replaced Firebase/Crash with Fabric (~> 1.7.2) and Crashlytics (~> 3.9.3), and now running pod install keeps throwing an error.

I’ve already ruled out several basic issues and tried fixes, but nothing has worked:

  • Verified my internet connection is stable and GitHub is fully accessible
  • Uninstalled and reinstalled CocoaPods entirely
  • Double-checked my Podfile for syntax errors

The error (shown in my screenshot) relates to failing to fetch the Fabric or Crashlytics podspecs, but I can’t pinpoint the root cause. Here’s my full Podfile for reference:

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

target 'App' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  source 'https://github.com/CocoaPods/Specs.git'
  use_frameworks!

  # Pods for Smile
  plugin 'cocoapods-wholemodule'

  target 'AppTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'AppUITests' do
    inherit! :search_paths
    # Pods for testing
  end

  pod 'Firebase/Core'
  pod 'Firebase/AdMob'
  pod 'Firebase/Messaging'
  pod 'Firebase/Database'
  pod 'Firebase/Invites'
  pod 'Firebase/DynamicLinks'
  pod 'Fabric', '~> 1.7.2'
  pod 'Crashlytics', '~> 3.9.3'
  pod 'Firebase/RemoteConfig'
  pod 'Firebase/Auth'
  pod 'GoogleSignIn'
  pod 'Firebase/Storage'
  pod 'Firebase/Performance'
  pod 'CryptoSwift', :git => "https://github.com/krzyzanowskim/CryptoSwift", :branch => "swift4"
  pod 'lottie-ios'
  pod 'SwiftyGif', :git => "https://github.com/kirualex/SwiftyGif", :branch => "swift4"
end

Has anyone else faced this problem when migrating from Firebase/Crash to the standalone Fabric/Crashlytics pods? I’d really appreciate any troubleshooting tips or solutions to get pod install working again.

内容的提问来源于stack exchange,提问作者vbuzze

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.27 06:55:27