执行pod install失败求助:网络正常、重装CocoaPods仍无效
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

