{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3675","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3675/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3675/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3675/events","html_url":"https://github.com/CocoaPods/CocoaPods/pull/3675","id":87489906,"number":3675,"title":"bugfix for pods containing swift frameworks","user":{"login":"timrosenblatt","id":35354,"avatar_url":"https://avatars.githubusercontent.com/u/35354?v=3","gravatar_id":"","url":"https://api.github.com/users/timrosenblatt","html_url":"https://github.com/timrosenblatt","followers_url":"https://api.github.com/users/timrosenblatt/followers","following_url":"https://api.github.com/users/timrosenblatt/following{/other_user}","gists_url":"https://api.github.com/users/timrosenblatt/gists{/gist_id}","starred_url":"https://api.github.com/users/timrosenblatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrosenblatt/subscriptions","organizations_url":"https://api.github.com/users/timrosenblatt/orgs","repos_url":"https://api.github.com/users/timrosenblatt/repos","events_url":"https://api.github.com/users/timrosenblatt/events{/privacy}","received_events_url":"https://api.github.com/users/timrosenblatt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-11T20:45:14Z","updated_at":"2015-06-18T17:30:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/pulls/3675","html_url":"https://github.com/CocoaPods/CocoaPods/pull/3675","diff_url":"https://github.com/CocoaPods/CocoaPods/pull/3675.diff","patch_url":"https://github.com/CocoaPods/CocoaPods/pull/3675.patch"},"body":"🌈\r\n\r\nThis a bugfix for an issue that seems to come up when running builds from the command line (although not from Xcode UI?). I work at Ship.io and we see this issue come up in a bunch of customer builds. I've also seen it reported by many other users. \r\n\r\nThe issue manifests as an rsync error 23 during the Embed Pods Frameworks phase. For some reason, the target_definition.label seems to be blank, and it results in the framework being placed up a directory.\r\n\r\nI'm not 100% sure of the root cause. I arrived at this fix thanks to some other posters who have posted about the issue. I've patched our local copies of the gem and have validated that this does solve the problem.\r\n\r\nI've looked at #3550 and when it is merged in, it will overwrite this fix, and will also solve the root cause.\r\n\r\nOld copies of the generated shell script may need to be fixed manually. This can be done by basically copy and pasting this fix into place, and manually replacing the variable. This fix does solve the issue as new Pods are installed.\r\n\r\nI'd like to thank my company, [Ship.io](https://ship.io) for sponsoring this fix. They let me spend a bunch of time researching this at the company's expense, and gave me permission to share it back with the community. Also, they make a pretty darn good hosted CI system for iOS. :)\r\n"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/113228387","html_url":"https://github.com/CocoaPods/CocoaPods/pull/3675#issuecomment-113228387","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3675","id":113228387,"user":{"login":"timrosenblatt","id":35354,"avatar_url":"https://avatars.githubusercontent.com/u/35354?v=3","gravatar_id":"","url":"https://api.github.com/users/timrosenblatt","html_url":"https://github.com/timrosenblatt","followers_url":"https://api.github.com/users/timrosenblatt/followers","following_url":"https://api.github.com/users/timrosenblatt/following{/other_user}","gists_url":"https://api.github.com/users/timrosenblatt/gists{/gist_id}","starred_url":"https://api.github.com/users/timrosenblatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrosenblatt/subscriptions","organizations_url":"https://api.github.com/users/timrosenblatt/orgs","repos_url":"https://api.github.com/users/timrosenblatt/repos","events_url":"https://api.github.com/users/timrosenblatt/events{/privacy}","received_events_url":"https://api.github.com/users/timrosenblatt/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T17:30:32Z","updated_at":"2015-06-18T17:30:32Z","body":"@mrackwitz @segiddins anything else?"}}