{"action":"created","issue":{"url":"https://api.github.com/repos/AliSoftware/OHHTTPStubs/issues/153","labels_url":"https://api.github.com/repos/AliSoftware/OHHTTPStubs/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/AliSoftware/OHHTTPStubs/issues/153/comments","events_url":"https://api.github.com/repos/AliSoftware/OHHTTPStubs/issues/153/events","html_url":"https://github.com/AliSoftware/OHHTTPStubs/issues/153","id":129191189,"number":153,"title":"Cannot compile after updating to 130b0d4 from 6a74584","user":{"login":"mikelupo","id":8654915,"avatar_url":"https://avatars.githubusercontent.com/u/8654915?v=3","gravatar_id":"","url":"https://api.github.com/users/mikelupo","html_url":"https://github.com/mikelupo","followers_url":"https://api.github.com/users/mikelupo/followers","following_url":"https://api.github.com/users/mikelupo/following{/other_user}","gists_url":"https://api.github.com/users/mikelupo/gists{/gist_id}","starred_url":"https://api.github.com/users/mikelupo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikelupo/subscriptions","organizations_url":"https://api.github.com/users/mikelupo/orgs","repos_url":"https://api.github.com/users/mikelupo/repos","events_url":"https://api.github.com/users/mikelupo/events{/privacy}","received_events_url":"https://api.github.com/users/mikelupo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-27T16:12:08Z","updated_at":"2016-01-27T17:37:54Z","closed_at":null,"body":"We integrate into Xcode by dragging the .xcodeproj file into XCode into a group we named TestFrameworks. This is how we've always done it.  Today after updating to 130b0d4 we can no longer compile. \r\nWe import into a given test case using: \r\n```\r\n#import <OHHTTPStubs/OHHTTPStubs.h>\r\n```\r\nIf we have a line of code in a stub that uses responseWithJSONObject the compiler complains with, \"No Known class method for selector 'responseWithJSONObject:statusCode:headers\"\r\n```\r\nreturn [[OHHTTPStubsResponse responseWithJSONObject:@{}\r\n\t\t\t\t\t\t\t\t\t\t\t\t statusCode:200\r\n\t\t\t\t\t\t\t\t\t\t\t\theaders:@{@\"Content-Type\":@\"text/json\"}]\r\n```\r\n\r\n\r\n\r\nFurthermore, in other stubs I've been using responseWithFileAtPath:OHPathForFile\r\nwe see \"Implicit declaration of function 'OHPathForFile is invalid in C99.\r\n```\r\n    return [[OHHTTPStubsResponse responseWithFileAtPath:OHPathForFile(@\"somestuff.json\", self.class)\r\n\t\t\t\t\t\t\t\t\t\t\t\t statusCode:200\r\n\t\t\t\t\t\t\t\t\t\t\t\theaders:@{@\"Content-Type\":@\"text/json\"}]\r\n````\r\n\r\nMy code still matches the examples you've posted so I don't suspect that my existing code is wrong.\r\nWhat then could be the cause? Perhaps my integration?\r\nPlease advise....\r\n\r\nThanks in advance\r\n"},"comment":{"url":"https://api.github.com/repos/AliSoftware/OHHTTPStubs/issues/comments/175762626","html_url":"https://github.com/AliSoftware/OHHTTPStubs/issues/153#issuecomment-175762626","issue_url":"https://api.github.com/repos/AliSoftware/OHHTTPStubs/issues/153","id":175762626,"user":{"login":"mikelupo","id":8654915,"avatar_url":"https://avatars.githubusercontent.com/u/8654915?v=3","gravatar_id":"","url":"https://api.github.com/users/mikelupo","html_url":"https://github.com/mikelupo","followers_url":"https://api.github.com/users/mikelupo/followers","following_url":"https://api.github.com/users/mikelupo/following{/other_user}","gists_url":"https://api.github.com/users/mikelupo/gists{/gist_id}","starred_url":"https://api.github.com/users/mikelupo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikelupo/subscriptions","organizations_url":"https://api.github.com/users/mikelupo/orgs","repos_url":"https://api.github.com/users/mikelupo/repos","events_url":"https://api.github.com/users/mikelupo/events{/privacy}","received_events_url":"https://api.github.com/users/mikelupo/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T17:37:54Z","updated_at":"2016-01-27T17:37:54Z","body":"Thank you.\r\nThat helps with the first issue.\r\n\r\nThe second issue, \r\nreturn [[OHHTTPStubsResponse responseWithFileAtPath:OHPathForFile\r\nis not solved.\r\n\r\n"}}