{"action":"created","issue":{"url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/192","labels_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/192/comments","events_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/192/events","html_url":"https://github.com/SwiftyJSON/SwiftyJSON/issues/192","id":65178195,"number":192,"title":"Use of unresolved identifier 'JSON' if installed via Cocoapods","user":{"login":"frederik-jacques","id":1405568,"avatar_url":"https://avatars.githubusercontent.com/u/1405568?v=3","gravatar_id":"","url":"https://api.github.com/users/frederik-jacques","html_url":"https://github.com/frederik-jacques","followers_url":"https://api.github.com/users/frederik-jacques/followers","following_url":"https://api.github.com/users/frederik-jacques/following{/other_user}","gists_url":"https://api.github.com/users/frederik-jacques/gists{/gist_id}","starred_url":"https://api.github.com/users/frederik-jacques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frederik-jacques/subscriptions","organizations_url":"https://api.github.com/users/frederik-jacques/orgs","repos_url":"https://api.github.com/users/frederik-jacques/repos","events_url":"https://api.github.com/users/frederik-jacques/events{/privacy}","received_events_url":"https://api.github.com/users/frederik-jacques/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-03-30T10:09:27Z","updated_at":"2015-05-08T09:30:41Z","closed_at":null,"body":"Hi there,\r\n\r\nI was wondering if this is a bug or if I'm doing something wrong.\r\nI'm working with Cocoapods 0.36, Xcode 6.2 and followed the steps in the README of SwiftyJSON.\r\n\r\nMy Podfile looks like this\r\n\r\n    source 'https://github.com/CocoaPods/Specs.git'\r\n    platform :ios, '8.0'\r\n    use_frameworks!\r\n\r\n    pod 'Alamofire', '~> 1.1'\r\n    pod 'SwiftyJSON', '>= 2.1.3'\r\n\r\nI've updated my pods via `pod install`\r\nThis resulted in following output, so I guess everything is OK\r\n\r\n    pod install\r\n    Analyzing dependencies\r\n    Downloading dependencies\r\n    Using Alamofire (1.1.4)\r\n    Using SwiftyJSON (2.1.3)\r\n    Generating Pods project\r\n    Integrating client project\r\n\r\nNow I tried the following code\r\n\r\n    Alamofire.request(.GET, \"http://localhost/devine/students.json\")\r\n         .responseJSON { (request, response, data, error) in\r\n\r\n             // Convert received JSON data to SwiftyJSON object\r\n             let studentData = JSON(data) -> Got 'Use of unresolved identifier JSON here'\r\n    }\r\n\r\nWhen I just drag and drop the SwiftyJSON files in my project (the 'manual' way) it does work, but I would like to use Cocoapods!\r\n\r\nKind regards,\r\nFrederik"},"comment":{"url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/comments/100172573","html_url":"https://github.com/SwiftyJSON/SwiftyJSON/issues/192#issuecomment-100172573","issue_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/192","id":100172573,"user":{"login":"bluedaniel","id":189383,"avatar_url":"https://avatars.githubusercontent.com/u/189383?v=3","gravatar_id":"","url":"https://api.github.com/users/bluedaniel","html_url":"https://github.com/bluedaniel","followers_url":"https://api.github.com/users/bluedaniel/followers","following_url":"https://api.github.com/users/bluedaniel/following{/other_user}","gists_url":"https://api.github.com/users/bluedaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/bluedaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluedaniel/subscriptions","organizations_url":"https://api.github.com/users/bluedaniel/orgs","repos_url":"https://api.github.com/users/bluedaniel/repos","events_url":"https://api.github.com/users/bluedaniel/events{/privacy}","received_events_url":"https://api.github.com/users/bluedaniel/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T09:30:40Z","updated_at":"2015-05-08T09:30:40Z","body":"Solved this with an `import SwiftyJSON` on each file used \n\n> On 8 May 2015, at 08:13, Leo Romanovsky <notifications@github.com> wrote:\n> \n> +1\n> \n> —\n> Reply to this email directly or view it on GitHub <https://github.com/SwiftyJSON/SwiftyJSON/issues/192#issuecomment-100129328>.\n> \n\n"}}