{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3263","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3263/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3263/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3263/events","html_url":"https://github.com/CocoaPods/CocoaPods/pull/3263","id":61177776,"number":3263,"title":"[xcassets/1546] WIP","user":{"login":"AliSoftware","id":216089,"avatar_url":"https://avatars.githubusercontent.com/u/216089?v=3","gravatar_id":"","url":"https://api.github.com/users/AliSoftware","html_url":"https://github.com/AliSoftware","followers_url":"https://api.github.com/users/AliSoftware/followers","following_url":"https://api.github.com/users/AliSoftware/following{/other_user}","gists_url":"https://api.github.com/users/AliSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/AliSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AliSoftware/subscriptions","organizations_url":"https://api.github.com/users/AliSoftware/orgs","repos_url":"https://api.github.com/users/AliSoftware/repos","events_url":"https://api.github.com/users/AliSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/AliSoftware/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/s1:awaiting%20input","name":"s1:awaiting input","color":"EDCE24"}],"state":"open","locked":false,"assignee":{"login":"AliSoftware","id":216089,"avatar_url":"https://avatars.githubusercontent.com/u/216089?v=3","gravatar_id":"","url":"https://api.github.com/users/AliSoftware","html_url":"https://github.com/AliSoftware","followers_url":"https://api.github.com/users/AliSoftware/followers","following_url":"https://api.github.com/users/AliSoftware/following{/other_user}","gists_url":"https://api.github.com/users/AliSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/AliSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AliSoftware/subscriptions","organizations_url":"https://api.github.com/users/AliSoftware/orgs","repos_url":"https://api.github.com/users/AliSoftware/repos","events_url":"https://api.github.com/users/AliSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/AliSoftware/received_events","type":"User","site_admin":false},"milestone":null,"comments":32,"created_at":"2015-03-13T18:37:05Z","updated_at":"2015-07-06T21:46:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/pulls/3263","html_url":"https://github.com/CocoaPods/CocoaPods/pull/3263","diff_url":"https://github.com/CocoaPods/CocoaPods/pull/3263.diff","patch_url":"https://github.com/CocoaPods/CocoaPods/pull/3263.patch"},"body":"This is a WIP for #1546 \r\n\r\n> :warning: Don't merge this into `master` as initially requested in the original PR, but merge this (manually) into `stable-0.36.x`\r\n\r\nNote: it will probably actually apply to all kind of pod resources, not just `xcassets`.\r\n\r\n---\r\n\r\n* [X] Add pods resources file references to the user project\r\n* [X] Add pods resources files to appropriate user targets\r\n* [x] Cleanup pods resources from user project if integrating with frameworks\r\n    * WIP, having some `(null)` references (`Xcodeproj` bug?)\r\n* [X] Remove pods resources from target if pod removed in `Podfile`\r\n* [ ] ~~Remove pod resources from project if removed from all targets after deintegration (pod no more present in the `Podfile` — see `UserProjectIntegrator#integrate_user_targets`)~~ :arrow_right:  will be handled in [a separate PR dedicated to reintegration](https://github.com/CocoaPods/CocoaPods/issues/2471)\r\n* [ ] ~~Remove pods resources if target itself not integrated (not listed in the `Podfile`) anymore (see `UserProjectIntegrator#integrate_user_targets`)~~ :arrow_right: will be handled in [a separate PR dedicated to reintegration](https://github.com/CocoaPods/CocoaPods/issues/2471)\r\n* [x] Remove resources from the Pods project (see `FileReferencesInstaller#add_resource`)\r\n* [x] Cleanup (or remove entierly?) the `Pods-resources.sh` script build phase\r\n* [ ] Add integration specs for all the cases!\r\n   * [ ] user project having assets/resources\r\n   * [ ] pods with assets/resources but not linked with all user targets…\r\n   * [ ] also test resource types other than `xcassets`\r\n   * [ ] also test when integrating with dynamic frameworks (that should not require that step)\r\n* [x] Cleanup code (debug output, etc)\r\n\r\n---\r\n\r\nKnown bugs to investigate:\r\n\r\n* [ ] [Resources duplicated in user project after 2nd pod install](https://github.com/CocoaPods/CocoaPods/issues/1546#issuecomment-90634423)\r\n* [ ] [undefined method 'resources_build_phase' for PBXAggregateTarget](https://github.com/CocoaPods/CocoaPods/pull/3263#issuecomment-90592023)"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/119006389","html_url":"https://github.com/CocoaPods/CocoaPods/pull/3263#issuecomment-119006389","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3263","id":119006389,"user":{"login":"orta","id":49038,"avatar_url":"https://avatars.githubusercontent.com/u/49038?v=3","gravatar_id":"","url":"https://api.github.com/users/orta","html_url":"https://github.com/orta","followers_url":"https://api.github.com/users/orta/followers","following_url":"https://api.github.com/users/orta/following{/other_user}","gists_url":"https://api.github.com/users/orta/gists{/gist_id}","starred_url":"https://api.github.com/users/orta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orta/subscriptions","organizations_url":"https://api.github.com/users/orta/orgs","repos_url":"https://api.github.com/users/orta/repos","events_url":"https://api.github.com/users/orta/events{/privacy}","received_events_url":"https://api.github.com/users/orta/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T21:46:48Z","updated_at":"2015-07-06T21:46:48Z","body":"kill the PR?"}}