{"action":"closed","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3942","repository_url":"https://api.github.com/repos/CocoaPods/CocoaPods","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3942/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3942/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3942/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3942","id":98371088,"number":3942,"title":"`SDKROOT`-relative source files","user":{"login":"stephencelis","id":658,"avatar_url":"https://avatars.githubusercontent.com/u/658?v=3","gravatar_id":"","url":"https://api.github.com/users/stephencelis","html_url":"https://github.com/stephencelis","followers_url":"https://api.github.com/users/stephencelis/followers","following_url":"https://api.github.com/users/stephencelis/following{/other_user}","gists_url":"https://api.github.com/users/stephencelis/gists{/gist_id}","starred_url":"https://api.github.com/users/stephencelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephencelis/subscriptions","organizations_url":"https://api.github.com/users/stephencelis/orgs","repos_url":"https://api.github.com/users/stephencelis/repos","events_url":"https://api.github.com/users/stephencelis/events{/privacy}","received_events_url":"https://api.github.com/users/stephencelis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/t3:discussion","name":"t3:discussion","color":"E10288"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-31T11:18:53Z","updated_at":"2016-05-02T08:47:35Z","closed_at":"2016-05-02T08:47:35Z","body":"This may already be possible, but after looking at the guides and some of the CocoaPods source code I'm still unable to discover it.\r\n\r\nBasic question: is there a way to add an `SDKROOT`-relative source file to a podspec? Currently, the best way to import non-modular SDK headers into Swift is to drag the current SDK header into your project (don't copy it), make it public, and import it into the umbrella header. Doing so adds a line to the **.xcodeproj** file relative to `SDKROOT`, _e.g._\r\n\r\n```\r\n55C030…051264D /* sqlite3.h */ = {… path = usr/include/sqlite3.h; sourceTree = SDKROOT; };\r\n```\r\n\r\nIs there any way to compose a podspec that generates something like the above?\r\n\r\nI've been using a custom module map (which CocoaPods supports) to import these kinds of headers into Swift instead, but it's a much clumsier solution."}}