{"action":"created","issue":{"url":"https://api.github.com/repos/RestKit/RestKit/issues/2288","labels_url":"https://api.github.com/repos/RestKit/RestKit/issues/2288/labels{/name}","comments_url":"https://api.github.com/repos/RestKit/RestKit/issues/2288/comments","events_url":"https://api.github.com/repos/RestKit/RestKit/issues/2288/events","html_url":"https://github.com/RestKit/RestKit/issues/2288","id":103787139,"number":2288,"title":"Fix imports in public header files","user":{"login":"0xced","id":51363,"avatar_url":"https://avatars.githubusercontent.com/u/51363?v=3","gravatar_id":"","url":"https://api.github.com/users/0xced","html_url":"https://github.com/0xced","followers_url":"https://api.github.com/users/0xced/followers","following_url":"https://api.github.com/users/0xced/following{/other_user}","gists_url":"https://api.github.com/users/0xced/gists{/gist_id}","starred_url":"https://api.github.com/users/0xced/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xced/subscriptions","organizations_url":"https://api.github.com/users/0xced/orgs","repos_url":"https://api.github.com/users/0xced/repos","events_url":"https://api.github.com/users/0xced/events{/privacy}","received_events_url":"https://api.github.com/users/0xced/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-08-28T20:09:07Z","updated_at":"2015-11-12T15:50:48Z","closed_at":null,"body":"Imports in public header files should be `#import <RestKit/Subdirectory/RKHeader.h>` instead of `#import \"RKHeader.h\"`\r\n\r\nThis is required for RestKit to be compatible with future CocoaPods version because of CocoaPods/CocoaPods#4057 (The `HEADER_SEARCH_PATHS` will no longer be constructed recursively) introduced in 0.39.0.beta.1."},"comment":{"url":"https://api.github.com/repos/RestKit/RestKit/issues/comments/156145647","html_url":"https://github.com/RestKit/RestKit/issues/2288#issuecomment-156145647","issue_url":"https://api.github.com/repos/RestKit/RestKit/issues/2288","id":156145647,"user":{"login":"zerodiff","id":3653615,"avatar_url":"https://avatars.githubusercontent.com/u/3653615?v=3","gravatar_id":"","url":"https://api.github.com/users/zerodiff","html_url":"https://github.com/zerodiff","followers_url":"https://api.github.com/users/zerodiff/followers","following_url":"https://api.github.com/users/zerodiff/following{/other_user}","gists_url":"https://api.github.com/users/zerodiff/gists{/gist_id}","starred_url":"https://api.github.com/users/zerodiff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerodiff/subscriptions","organizations_url":"https://api.github.com/users/zerodiff/orgs","repos_url":"https://api.github.com/users/zerodiff/repos","events_url":"https://api.github.com/users/zerodiff/events{/privacy}","received_events_url":"https://api.github.com/users/zerodiff/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T15:50:48Z","updated_at":"2015-11-12T15:50:48Z","body":"I got around this by adding these to the *User Header Search Path* in the Xcode project *Build Settings*:\r\n\r\n $(PROJECT_DIR)/Pods/Headers/Public/RestKit\r\n $(PROJECT_DIR)/Pods/RestKit/Vendor\r\n\r\nIt's not elegant, but it's a work-around.\r\n"}}