{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/Core/issues/227","labels_url":"https://api.github.com/repos/CocoaPods/Core/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/Core/issues/227/comments","events_url":"https://api.github.com/repos/CocoaPods/Core/issues/227/events","html_url":"https://github.com/CocoaPods/Core/issues/227","id":62359406,"number":227,"title":"Use binary and source distribution in subspecs","user":{"login":"lukasspiess","id":10158131,"avatar_url":"https://avatars.githubusercontent.com/u/10158131?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasspiess","html_url":"https://github.com/lukasspiess","followers_url":"https://api.github.com/users/lukasspiess/followers","following_url":"https://api.github.com/users/lukasspiess/following{/other_user}","gists_url":"https://api.github.com/users/lukasspiess/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasspiess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasspiess/subscriptions","organizations_url":"https://api.github.com/users/lukasspiess/orgs","repos_url":"https://api.github.com/users/lukasspiess/repos","events_url":"https://api.github.com/users/lukasspiess/events{/privacy}","received_events_url":"https://api.github.com/users/lukasspiess/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-17T10:49:16Z","updated_at":"2015-03-17T10:55:59Z","closed_at":null,"body":"I think I might be trying to do something a little unconventional with my podspec.\r\nThe goal is to have two subspecs within one podspec file, of which one integrates our library as a compiled binary and the other as normal source code and have one of these subpecs set as a `default_subspec`\r\nInitially, I expected to be able to specify the source variables per subspec but learned that apparently this is a global value throughout the whole podspec.\r\nDo you have an idea about how this could be done? I'd like to avoid having framework and source code in one repository, if at all possible. Thanks!"},"comment":{"url":"https://api.github.com/repos/CocoaPods/Core/issues/comments/82271584","html_url":"https://github.com/CocoaPods/Core/issues/227#issuecomment-82271584","issue_url":"https://api.github.com/repos/CocoaPods/Core/issues/227","id":82271584,"user":{"login":"neonichu","id":118992,"avatar_url":"https://avatars.githubusercontent.com/u/118992?v=3","gravatar_id":"","url":"https://api.github.com/users/neonichu","html_url":"https://github.com/neonichu","followers_url":"https://api.github.com/users/neonichu/followers","following_url":"https://api.github.com/users/neonichu/following{/other_user}","gists_url":"https://api.github.com/users/neonichu/gists{/gist_id}","starred_url":"https://api.github.com/users/neonichu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neonichu/subscriptions","organizations_url":"https://api.github.com/users/neonichu/orgs","repos_url":"https://api.github.com/users/neonichu/repos","events_url":"https://api.github.com/users/neonichu/events{/privacy}","received_events_url":"https://api.github.com/users/neonichu/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T10:55:59Z","updated_at":"2015-03-17T10:55:59Z","body":"My recommendation would be to create two different specs for this use case. You can even utilise <https://github.com/CocoaPods/cocoapods-packager> to build the compiled binary and its podspec automatically."}}