{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4457","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4457/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4457/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4457/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/4457","id":113615606,"number":4457,"title":"duplicate symbols for architecture x86_64","user":{"login":"tcurdt","id":13697,"avatar_url":"https://avatars.githubusercontent.com/u/13697?v=3","gravatar_id":"","url":"https://api.github.com/users/tcurdt","html_url":"https://github.com/tcurdt","followers_url":"https://api.github.com/users/tcurdt/followers","following_url":"https://api.github.com/users/tcurdt/following{/other_user}","gists_url":"https://api.github.com/users/tcurdt/gists{/gist_id}","starred_url":"https://api.github.com/users/tcurdt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcurdt/subscriptions","organizations_url":"https://api.github.com/users/tcurdt/orgs","repos_url":"https://api.github.com/users/tcurdt/repos","events_url":"https://api.github.com/users/tcurdt/events{/privacy}","received_events_url":"https://api.github.com/users/tcurdt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-27T15:47:50Z","updated_at":"2015-10-27T16:50:54Z","closed_at":null,"body":"There are couple of older issue open (or closed) but none sound quite the same - so I opened another one. Feel free to close a duplicate if there is one that matches the problem I am facing.\r\n\r\nI just updated cocoapods and a few pods. The pods project builds fine but my project fails to build.\r\nI've used `pod deintegrate` and then `pod install` again. Still I am getting:\r\n\r\n    ...\r\n    duplicate symbol _OBJC_CLASS_$_TCAboutWindowController in:\r\n     [...]/Build/Products/Debug/libTCAppCommon.a(TCAboutWindowController.o)\r\n     [...]/Build/Products/Debug/libPods-TCAppCommon.a(TCAboutWindowController.o)\r\n    ....\r\n    ld: 19 duplicate symbols for architecture x86_64\r\n\r\nI checked the \"Link Binary With Library\" section but I only see `libPods.a` in there once. The source files are not in the \"Compile Sources\" section either. So the question is - where are those duplicate symbols coming from? Here is a prettified version of the linker command\r\n\r\n    xctoolchain/usr/bin/clang -arch x86_64 -isysroot [...]/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk\r\n    -L[...]/Build/Products/Debug\r\n    -F[...]/Build/Products/Debug\r\n    -F[...]/Pods/Crashlytics-OSX\r\n    -F[...]/Pods/Fabric-OSX\r\n    -F[...]\r\n    -filelist [...]/x86_64/Project.LinkFileList\r\n    -mmacosx-version-min=10.10\r\n    -ObjC\r\n    -lTCAppCommon\r\n    -lTCBuildtools\r\n    -lTCLocalizer\r\n    -lc++ -lz\r\n    -framework Crashlytics\r\n    -framework Fabric\r\n    -framework Security\r\n    -framework SystemConfiguration\r\n    -lPods-TCAppCommon\r\n    -lPods-TCBuildtools\r\n    -lPods-TCLocalizer\r\n    -lc++ -lz\r\n    -framework Crashlytics\r\n    -framework Fabric\r\n    -framework Security\r\n    -framework SystemConfiguration\r\n    -fobjc-arc\r\n    -fobjc-link-runtime\r\n    -lPods\r\n    -lz -lc++\r\n    -framework WebKit\r\n    -framework Carbon\r\n    -framework Cocoa\r\n    -Xlinker\r\n    -dependency_info\r\n    -Xlinker [...]/x86_64/Project_dependency_info.dat\r\n    -o [...]\r\n\r\nand fair enough - that looks a bit odd to me.\r\n\r\nThis is with cocoapods version `0.39.0` building an OSX project."},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/151565878","html_url":"https://github.com/CocoaPods/CocoaPods/issues/4457#issuecomment-151565878","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4457","id":151565878,"user":{"login":"tcurdt","id":13697,"avatar_url":"https://avatars.githubusercontent.com/u/13697?v=3","gravatar_id":"","url":"https://api.github.com/users/tcurdt","html_url":"https://github.com/tcurdt","followers_url":"https://api.github.com/users/tcurdt/followers","following_url":"https://api.github.com/users/tcurdt/following{/other_user}","gists_url":"https://api.github.com/users/tcurdt/gists{/gist_id}","starred_url":"https://api.github.com/users/tcurdt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcurdt/subscriptions","organizations_url":"https://api.github.com/users/tcurdt/orgs","repos_url":"https://api.github.com/users/tcurdt/repos","events_url":"https://api.github.com/users/tcurdt/events{/privacy}","received_events_url":"https://api.github.com/users/tcurdt/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T16:50:54Z","updated_at":"2015-10-27T16:50:54Z","body":"Now this is interesting. While stripping down I removed the TCAppCommon dependency. After a fresh `pod install` I still have it in the linker flags\r\n\r\n    -lPods-TCAppCommon\r\n    -lPods-TCBuildtools\r\n    -lPods-TCLocalizer\r\n\r\nand is giving me (of course) another error\r\n\r\n    ld: library not found for -lPods-TCAppCommon\r\n\r\nwhile there should no longer be a reference in the project.\r\nI don't know if that helps - but that stripped down project I could provide."}}