title: Why can't cocoapods install zxingobjc
body: <p>in my project Podfile, it contains this line - pod 'ZXingObjC', '~> 2.2.6'
  then I execute this command: pod install --verbose --no-repo-update</p>
  
  <blockquote>
    <p>Analyzing dependencies</p>
    
    <p>Finding Podfile changes
      A ZXingObjC</p>
    
    <p>Resolving dependencies of <code>Podfile</code>
    Resolving dependencies for target `Pods' (iOS 5.0)
      - ZXingObjC (~> 2.2.6)</p>
    
    <p>Comparing resolved specification to the sandbox manifest
      A ZXingObjC</p>
    
    <p>Downloading dependencies</p>
    
    <p>-> Installing ZXingObjC (2.2.6)</p>
    
    <blockquote>
      <p>GitHub download
      Creating cache git repo (/Users/leo/Library/Caches/CocoaPods/GitHub/460c72131c6f29c2d0f283a2dc9a9d7c7ff3388f)
      Cloning to Pods folder
             $ /usr/bin/git clone <a href="https://github.com/TheLevelUp/ZXingObjC.git" rel="nofollow">https://github.com/TheLevelUp/ZXingObjC.git</a> /Users/leo/Library/Caches/CocoaPods/GitHub/460c72131c6f29c2d0f283a2dc9a9d7c7ff3388f --mirror
             Cloning into bare repository '/Users/leo/Library/Caches/CocoaPods/GitHub/460c72131c6f29c2d0f283a2dc9a9d7c7ff3388f'...</p>
    </blockquote>
  </blockquote>
  
  <p>It hangs here for a long time, and finally give below error:</p>
  
  <blockquote>
  <pre><code>  error: RPC failed; result=56, HTTP code = 200
    fatal: The remote end hung up unexpectedly
    fatal: early EOF
    fatal: index-pack failed
  </code></pre>
  </blockquote>
  
  <p>Any one knows how to solve this? I want to use ZXingObjc in my project...ios</p>