{"action":"created","issue":{"url":"https://api.github.com/repos/chrisbarrett/swift-mode/issues/93","labels_url":"https://api.github.com/repos/chrisbarrett/swift-mode/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/chrisbarrett/swift-mode/issues/93/comments","events_url":"https://api.github.com/repos/chrisbarrett/swift-mode/issues/93/events","html_url":"https://github.com/chrisbarrett/swift-mode/issues/93","id":77200241,"number":93,"title":"Can't load CoreGraphics","user":{"login":"mmb90","id":7841889,"avatar_url":"https://avatars.githubusercontent.com/u/7841889?v=3","gravatar_id":"","url":"https://api.github.com/users/mmb90","html_url":"https://github.com/mmb90","followers_url":"https://api.github.com/users/mmb90/followers","following_url":"https://api.github.com/users/mmb90/following{/other_user}","gists_url":"https://api.github.com/users/mmb90/gists{/gist_id}","starred_url":"https://api.github.com/users/mmb90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmb90/subscriptions","organizations_url":"https://api.github.com/users/mmb90/orgs","repos_url":"https://api.github.com/users/mmb90/repos","events_url":"https://api.github.com/users/mmb90/events{/privacy}","received_events_url":"https://api.github.com/users/mmb90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-17T03:41:38Z","updated_at":"2015-07-07T02:56:50Z","closed_at":null,"body":"I've installed swift-mode as instructed and I've already been using flycheck for other languages. I added `(add-to-list 'flycheck-checkers 'swift)` also and the checker tries to run. I get this error,\r\n`Suspicious state from syntax checker swift: Checker swift returned non-zero exit code 1, but no errors from output: <unknown>:0: error: cannot load underlying module for 'CoreGraphics\r\n<unknown>:0: note: did you forget to set an SDK using -sdk or SDKROOT?\r\n<unknown>:0: note: use \"xcrun -sdk macosx swift\" to select the default OS X SDK installed with Xcode`\r\nI've googled around but the issue, as far as I can tell, is usually related to making scripts in swift and running them from the terminal with a solution of exporting SDKROOT in the .bash_profile. Any clues?"},"comment":{"url":"https://api.github.com/repos/chrisbarrett/swift-mode/issues/comments/119055985","html_url":"https://github.com/chrisbarrett/swift-mode/issues/93#issuecomment-119055985","issue_url":"https://api.github.com/repos/chrisbarrett/swift-mode/issues/93","id":119055985,"user":{"login":"mmb90","id":7841889,"avatar_url":"https://avatars.githubusercontent.com/u/7841889?v=3","gravatar_id":"","url":"https://api.github.com/users/mmb90","html_url":"https://github.com/mmb90","followers_url":"https://api.github.com/users/mmb90/followers","following_url":"https://api.github.com/users/mmb90/following{/other_user}","gists_url":"https://api.github.com/users/mmb90/gists{/gist_id}","starred_url":"https://api.github.com/users/mmb90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmb90/subscriptions","organizations_url":"https://api.github.com/users/mmb90/orgs","repos_url":"https://api.github.com/users/mmb90/repos","events_url":"https://api.github.com/users/mmb90/events{/privacy}","received_events_url":"https://api.github.com/users/mmb90/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T02:56:50Z","updated_at":"2015-07-07T02:56:50Z","body":"I'm afraid I'm still confused, how can I set this variable? Forgive my naivety."}}