title: Swift: How to install SwiftyJson using cocoapods?
body: <p>I'm trying to install cocoapods here: <a href="https://github.com/SwiftyJSON/SwiftyJSON" rel="nofollow">https://github.com/SwiftyJSON/SwiftyJSON</a> but when I <code>import SwiftyJSON</code> in my view file, it says <code>No such module 'SwiftyJSON'</code></p>
  
  <p>My Podfile:</p>
  
  <pre><code>platform :ios, '8.0'
  inhibit_all_warnings!
  use_frameworks!
  
  target 'SherpaNewYork' do
    pod 'GoogleMaps'
    pod 'SwiftyJSON', :git =&gt; 'https://github.com/SwiftyJSON/SwiftyJSON.git'
  end
  </code></pre>
  
  <p>After adding that I ran <code>pod install</code> succesfully:</p>
  
  <pre><code>[~/Documents/ios/Sherpa]$ pod install                                                                                                                                              ✭ git:master ruby:2.2.2
  Updating local specs repositories
  Analyzing dependencies
  Pre-downloading: `SwiftyJSON` from `https://github.com/SwiftyJSON/SwiftyJSON.git`
  Downloading dependencies
  Using GoogleMaps (1.10.4)
  Installing SwiftyJSON (2.3.0)
  [!] Pods written in Swift can only be integrated as frameworks; add `use_frameworks!` to your Podfile or target to opt into using it. The Swift Pod being used is: SwiftyJSON
  [~/Documents/ios/Sherpa]$ pod install                                                                                                                                              ✭ git:master ruby:2.2.2
  Updating local specs repositories
  Analyzing dependencies
  Pre-downloading: `SwiftyJSON` from `https://github.com/SwiftyJSON/SwiftyJSON.git`
  Downloading dependencies
  Using GoogleMaps (1.10.4)
  Installing SwiftyJSON (2.3.0)
  Generating Pods project
  Integrating client project
  Sending stats
  Pod installation complete! There are 2 dependencies from the Podfile and 2 total pods installed.
  </code></pre>
  
  <p>When I don't import it it gives me errors:</p>
  
  <pre><code>let jsonResponse: [Dictionary&lt;String, AnyObject&gt;] = [
    ["id": "1",
      "name": "Crumbs Bakery",
      "icon_image": "food_icon_small",
      "latitude": 40.714,
      "longitude": -74.000
    ],
    ["id": "2",
      "name": "Shake Shack",
      "icon_image": "food_icon_small",
      "latitude": 40.715,
      "longitude": -74.001
    ]
  ]
  
  let data = NSJSONSerialization.dataWithJSONObject(jsonResponse, options: nil, error: nil
  
  JSON(data) // Use of unresolved identifier 'JSON'
  </code></pre>
  
  <p>I even closed my Xcode and opened up "AppName.xcworkspace" but nothing works. Am I missing a step? I'm using pod v. 0.39.0 and my deployment target is 8.0.</p>