{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/2413","repository_url":"https://api.github.com/repos/CocoaPods/CocoaPods","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/2413/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/2413/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/2413/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/2413","id":40915306,"number":2413,"title":"CocoaPods adds duplicate project to xcworkspace.","user":{"login":"StalkerRus","id":4833192,"avatar_url":"https://avatars.githubusercontent.com/u/4833192?v=3","gravatar_id":"","url":"https://api.github.com/users/StalkerRus","html_url":"https://github.com/StalkerRus","followers_url":"https://api.github.com/users/StalkerRus/followers","following_url":"https://api.github.com/users/StalkerRus/following{/other_user}","gists_url":"https://api.github.com/users/StalkerRus/gists{/gist_id}","starred_url":"https://api.github.com/users/StalkerRus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StalkerRus/subscriptions","organizations_url":"https://api.github.com/users/StalkerRus/orgs","repos_url":"https://api.github.com/users/StalkerRus/repos","events_url":"https://api.github.com/users/StalkerRus/events{/privacy}","received_events_url":"https://api.github.com/users/StalkerRus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-08-22T14:47:04Z","updated_at":"2016-02-04T09:38:54Z","closed_at":"2014-08-23T16:56:18Z","body":"**My workspace structure is the following:**\r\n* ProjectA\r\n  * ProjectB\r\n  * ProjectC\r\n* Pods\r\n\r\n**I run the 'pod update' and what I get is**\r\n* ProjectA\r\n  * ProjectB\r\n  * ProjectC\r\n* Pods\r\n* ProjectB <- this should not be here!\r\n\r\n**My Podfile is:**\r\n```\r\nplatform :ios, '7.0'\r\ninhibit_all_warnings!\r\nworkspace 'ProjectA'\r\n\r\ntarget :ProjectA do\r\n    pod \"AFNetworking\", \"~> 2.0\"\r\n    pod 'Facebook-iOS-SDK'\r\n    pod 'RESideMenu'\r\n    pod 'RBStoryboardLink'\r\nend\r\n\r\ntarget :ProjectBTests do\r\n    xcodeproj 'Libraries/ProjectB/ProjectB'\r\n    pod 'Expecta'\r\n    pod 'Specta'\r\n    pod 'OCMock'\r\nend\r\n```\r\nProblem is not critical, but quite annoying."},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/179733557","html_url":"https://github.com/CocoaPods/CocoaPods/issues/2413#issuecomment-179733557","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/2413","id":179733557,"user":{"login":"migfabio","id":4320402,"avatar_url":"https://avatars.githubusercontent.com/u/4320402?v=3","gravatar_id":"","url":"https://api.github.com/users/migfabio","html_url":"https://github.com/migfabio","followers_url":"https://api.github.com/users/migfabio/followers","following_url":"https://api.github.com/users/migfabio/following{/other_user}","gists_url":"https://api.github.com/users/migfabio/gists{/gist_id}","starred_url":"https://api.github.com/users/migfabio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migfabio/subscriptions","organizations_url":"https://api.github.com/users/migfabio/orgs","repos_url":"https://api.github.com/users/migfabio/repos","events_url":"https://api.github.com/users/migfabio/events{/privacy}","received_events_url":"https://api.github.com/users/migfabio/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T09:38:54Z","updated_at":"2016-02-04T09:38:54Z","body":"I'm sorry if I rebump this issue, but still happens.\r\nI have CocoaPods 0.39.0 and this is my Podfile\r\n\r\n```\r\nplatform :ios, '8.0'\r\ninhibit_all_warnings!\r\n\r\nxcodeproj 'MyProject/MyProject.xcodeproj'\r\n\r\npod 'Google-Mobile-Ads-SDK', '~> 7.0'\r\npod 'Google/Analytics', '~> 1.0.0'\r\n. . .\r\n```\r\n\r\nand this is contents.xcworkspacedata generated\r\n\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<Workspace\r\n   version = \"1.0\">\r\n   <FileRef\r\n      location = \"container: MyProject/MyProject.xcodeproj\">\r\n   </FileRef>\r\n   <FileRef\r\n      location = \"group:Pods/Pods.xcodeproj\">\r\n   </FileRef>\r\n   <FileRef\r\n      location = \"group: MyProject/MyProject.xcodeproj\">\r\n   </FileRef>\r\n</Workspace>\r\n```\r\n\r\nDid I make some mistake?"}}