{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3618","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3618/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3618/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3618/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3618","id":82016081,"number":3618,"title":"subspec generating duplicate nested folders when using :path (Development Pods)","user":{"login":"r3mus","id":1480253,"avatar_url":"https://avatars.githubusercontent.com/u/1480253?v=3","gravatar_id":"","url":"https://api.github.com/users/r3mus","html_url":"https://github.com/r3mus","followers_url":"https://api.github.com/users/r3mus/followers","following_url":"https://api.github.com/users/r3mus/following{/other_user}","gists_url":"https://api.github.com/users/r3mus/gists{/gist_id}","starred_url":"https://api.github.com/users/r3mus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r3mus/subscriptions","organizations_url":"https://api.github.com/users/r3mus/orgs","repos_url":"https://api.github.com/users/r3mus/repos","events_url":"https://api.github.com/users/r3mus/events{/privacy}","received_events_url":"https://api.github.com/users/r3mus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-28T16:31:39Z","updated_at":"2015-05-28T20:14:57Z","closed_at":"2015-05-28T20:14:57Z","body":"Seeing some strange behaviour when using `:path => '~/Dev/MyPodProject'` in my podspec. Using this as an example subspec:\r\n\r\n    s.subspec 'SubProject' do |ss|\r\n        ss.dependency 'Project/Core'\r\n        ss.source_files = 'Project/SubProject/*.{h,m}'\r\n    end\r\n\r\nWhen published, I get a folder structure inside the Xcode project's `Pods` folder like this -- it's working as expected:\r\n\r\n    Project\r\n        SubProject\r\n            SomeClass.h\r\n            SomeClass.m\r\n            AnotherClass.h\r\n            AnotherClass.m\r\n        Core\r\n            CoreClass.h\r\n            CoreClass.m\r\n\r\nBut when I use the `:path` location instead and look in `Development Pods`, it looks like this:\r\n\r\n    Project\r\n        SubProject    \r\n            Project\r\n                SubProject\r\n                    SomeClass.h\r\n                    SomeClass.m\r\n                    AnotherClass.h\r\n                    AnotherClass.m\r\n        Core\r\n            Project\r\n                Core\r\n                    CoreClass.h\r\n                    CoreClass.m"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/106583919","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3618#issuecomment-106583919","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3618","id":106583919,"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-05-28T20:14:57Z","updated_at":"2015-05-28T20:14:57Z","body":"Yes, this is a feature, introduced in 0.36, see #2647"}}