{"action":"created","issue":{"url":"https://api.github.com/repos/kstenerud/KSCrash/issues/46","repository_url":"https://api.github.com/repos/kstenerud/KSCrash","labels_url":"https://api.github.com/repos/kstenerud/KSCrash/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/kstenerud/KSCrash/issues/46/comments","events_url":"https://api.github.com/repos/kstenerud/KSCrash/issues/46/events","html_url":"https://github.com/kstenerud/KSCrash/issues/46","id":25384482,"number":46,"title":"Split KSCrash cocoapod into several subspecs","user":{"login":"fkazak","id":1426691,"avatar_url":"https://avatars.githubusercontent.com/u/1426691?v=3","gravatar_id":"","url":"https://api.github.com/users/fkazak","html_url":"https://github.com/fkazak","followers_url":"https://api.github.com/users/fkazak/followers","following_url":"https://api.github.com/users/fkazak/following{/other_user}","gists_url":"https://api.github.com/users/fkazak/gists{/gist_id}","starred_url":"https://api.github.com/users/fkazak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fkazak/subscriptions","organizations_url":"https://api.github.com/users/fkazak/orgs","repos_url":"https://api.github.com/users/fkazak/repos","events_url":"https://api.github.com/users/fkazak/events{/privacy}","received_events_url":"https://api.github.com/users/fkazak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-01-10T09:46:41Z","updated_at":"2016-02-16T19:00:16Z","closed_at":null,"body":"Hi. We are working on an iOS lib which should handle crashes among other useful activities and want to use KSCrash for this part. As full KSCrash is quite large it would be great if it was possible to include only limited subset of functionality. Based on your answer to this issue https://github.com/kstenerud/KSCrash/issues/43 I suggest the following cocoapods subspecs could be created:\r\n- KSCrash/Core\r\n- KSCrash/Reporting\r\n- KSCrash/Sending\r\n\r\nThe latter two subspecs could optionally be split even further, e.g. KSCrash/Reporting/AppleFmt for only Aplle style crash report formatting and KSCrash/Sending/eMail for sending only via e-mail.\r\n\r\nI actually tried creating cocoapod subspec which includes only core crash recording system and apple formatter(that's the parts used by our lib). It could be seen here https://github.com/fkazak/Specs/blob/master/KSCrash/0.0.1/KSCrash.podspec\r\nHowever currently all the source files are stored in the same folder what leads to the following problems:\r\n - for subspec creation it's necessary to list all the files required (you can see my subspec is around 3 times larger then original podspec). If they were stored in separate folders subsspecs would take only a few lines.\r\n - if files are added or removed subspecs should be updated manually.\r\n\r\nI believe in case you are interested in such a feature added to your library I can do most of files moving and sample projects adjustments myself and send a pull request then.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/kstenerud/KSCrash/issues/comments/184831484","html_url":"https://github.com/kstenerud/KSCrash/issues/46#issuecomment-184831484","issue_url":"https://api.github.com/repos/kstenerud/KSCrash/issues/46","id":184831484,"user":{"login":"kattrali","id":333454,"avatar_url":"https://avatars.githubusercontent.com/u/333454?v=3","gravatar_id":"","url":"https://api.github.com/users/kattrali","html_url":"https://github.com/kattrali","followers_url":"https://api.github.com/users/kattrali/followers","following_url":"https://api.github.com/users/kattrali/following{/other_user}","gists_url":"https://api.github.com/users/kattrali/gists{/gist_id}","starred_url":"https://api.github.com/users/kattrali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kattrali/subscriptions","organizations_url":"https://api.github.com/users/kattrali/orgs","repos_url":"https://api.github.com/users/kattrali/repos","events_url":"https://api.github.com/users/kattrali/events{/privacy}","received_events_url":"https://api.github.com/users/kattrali/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T19:00:16Z","updated_at":"2016-02-16T19:00:16Z","body":"Fixed by #50 ?"}}