iosswiftfirebasecocoapods

cocoapod ERROR tar: Unrecognized archive format


i have try to install firebse in my project but i have receive this errors

[!] Error installing Firebase
[!] /usr/bin/tar xfz /var/folders/t9/69xnfpsj4dd_gkst2lkt7_2c0000gn/T/d20170616-1202-vwchlz/file.tgz -C /var/folders/t9/69xnfpsj4dd_gkst2lkt7_2c0000gn/T/d20170616-1202-vwchlz

tar: Unrecognized archive format
tar: Error exit delayed from previous errors.

this below is my pod file :

platform :ios, '10.0'

target 'weather' do
  use_frameworks!
  pod 'Kingfisher'
  pod 'Alamofire'
  pod 'Firebase'

end

KingFisher and Alamofire install successfully but Firebase does not


Solution

  • Your podfile is ok, but there seem to have been some network issue while you ran pod install/update. Do the following to solve this issue:

    1. pod cache clean --all
    2. pod update