title: pod spec lint fails with 400
body: <p>I followed all the steps from <a href="https://guides.cocoapods.org/making/using-pod-lib-create" rel="nofollow noreferrer">https://guides.cocoapods.org/making/using-pod-lib-create</a> to make my openSource library available on cocoapds.
  At the end of the steps before publishing run <code>pod lib lint</code> command and it passed the test:</p>
  
  <pre><code> -&gt; SHMultipleSelect (0.1.0)
  
  SHMultipleSelect passed validation.
  </code></pre>
  
  <p>But <code>pod spec lint</code> command giving some error:</p>
  
  <pre><code>[!] /usr/bin/git clone https://github.com/&lt;GITHUB_USERNAME&gt;/SHMultipleSelect.git /var/folders/fn/49fp5hx941541w0ncv5n28_h0000gn/T/d20150723-39741-1esoisq --single-branch --depth 1 --branch 0.1.0
  
  Cloning into '/var/folders/fn/49fp5hx941541w0ncv5n28_h0000gn/T/d20150723-39741-1esoisq'...
  fatal: unable to access 'https://github.com/&lt;GITHUB_USERNAME&gt;/SHMultipleSelect.git/': The requested URL returned error: 400
  </code></pre>
  
  <p>Searched error through stackoverflow and found this <a href="https://stackoverflow.com/questions/30073705/can-not-update-my-pod-library">Can not update my pod library</a>.
  Run <code>pod spec lint SHMultipleSelect.podspec</code> command as accepted answer says and it gived me another error:</p>
  
  <pre><code>[!] /usr/bin/git clone https://github.com/Shamsiddin/SHMultipleSelect.git /var/folders/fn/49fp5hx941541w0ncv5n28_h0000gn/T/d20150723-39842-774kfl --single-branch --depth 1 --branch 0.1.0
  
  Cloning into '/var/folders/fn/49fp5hx941541w0ncv5n28_h0000gn/T/d20150723-39842-774kfl'...
  warning: Could not find remote branch 0.1.0 to clone.
  fatal: Remote branch 0.1.0 not found in upstream origin
  Unexpected end of command stream
  </code></pre>
  
  <p>Not clear to solve my problem. Can someone show me rote where to go?</p>
  
  <p>Here's my librarys Git url: <a href="https://github.com/Shamsiddin/SHMultipleSelect" rel="nofollow noreferrer">https://github.com/Shamsiddin/SHMultipleSelect</a></p>
  
  <p>And my library's .podspec file:</p>
  
  <pre><code>#
  # Be sure to run `pod lib lint SHMultipleSelect.podspec' to ensure this is a
  # valid spec and remove all comments before submitting the spec.
  #
  # Any lines starting with a # are optional, but encouraged
  #
  # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
  #
  
  Pod::Spec.new do |s|
    s.name             = "SHMultipleSelect"
    s.version          = "0.1.0"
    s.summary          = "An easy-to-use multiple selection view."
    s.description      = &lt;&lt;-DESC
                         An easy-to-use multiple selection view for iOS 7+.
                         DESC
    s.homepage         = "https://github.com/Shamsiddin/SHMultipleSelect"
    # s.screenshots     = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
    s.license          = 'MIT'
    s.author           = { "Shamsiddin" =&gt; "shamsiddin.saidov@gmail.com" }
    s.source           = { :git =&gt; "https://github.com/Shamsiddin/SHMultipleSelect.git", :tag =&gt; s.version.to_s }
    # s.social_media_url = 'https://twitter.com/Shamsiddin_Said'
  
    s.platform     = :ios, '7.0'
    s.requires_arc = true
  
    s.source_files = 'Pod/Classes/**/*'
    s.resource_bundles = {
      'SHMultipleSelect' =&gt; ['Pod/Assets/*.png']
    }
  
    # s.public_header_files = 'Pod/Classes/**/*.h'
    # s.frameworks = 'UIKit', 'MapKit'
    # s.dependency 'AFNetworking', '~&gt; 2.3'
  end
  </code></pre>
  
  <p><strong>EDIT 1:</strong></p>
  
  <p>It turns out i didn't create a tag at my Github repo. I created tag with the version <code>0.1.0</code> and run <code>pod spec lint SHMultipleSelect.podspec</code> command again. Now it's giving me another error:</p>
  
  <pre><code> -&gt; SHMultipleSelect (0.1.0)
      - ERROR | [iOS] The `source_files` pattern did not match any file.
  
  Analyzed 1 podspec.
  
  [!] The spec did not pass validation, due to 1 error.
  </code></pre>
  
  <p><strong>EDIT 2:</strong></p>
  
  <p>Added screenshot from my projects structure:
  <a href="https://i.stack.imgur.com/xD2b1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xD2b1.png" alt="enter image description here"></a></p>
  
  <p><strong>EDIT 3:</strong></p>
  
  <p>Added screenshot from my project's structure on disc. The structure is created using <code>pod lib create SHMultipleSelect</code> command
  <a href="https://i.stack.imgur.com/jlJ3v.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jlJ3v.png" alt="enter image description here"></a></p>