{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3775","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3775/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3775/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3775/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3775","id":92904491,"number":3775,"title":"Unable to Archive Swift Project with \"ld: framework not found Pods\" error","user":{"login":"codingjester","id":202001,"avatar_url":"https://avatars.githubusercontent.com/u/202001?v=3","gravatar_id":"","url":"https://api.github.com/users/codingjester","html_url":"https://github.com/codingjester","followers_url":"https://api.github.com/users/codingjester/followers","following_url":"https://api.github.com/users/codingjester/following{/other_user}","gists_url":"https://api.github.com/users/codingjester/gists{/gist_id}","starred_url":"https://api.github.com/users/codingjester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codingjester/subscriptions","organizations_url":"https://api.github.com/users/codingjester/orgs","repos_url":"https://api.github.com/users/codingjester/repos","events_url":"https://api.github.com/users/codingjester/events{/privacy}","received_events_url":"https://api.github.com/users/codingjester/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-03T16:21:41Z","updated_at":"2015-07-03T18:14:29Z","closed_at":null,"body":"I'm currently unable to archive my project as it fails with this error:\r\n```\r\nld: framework not found Pods\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n```\r\nEverything works fine on device & in the simulator. I've tried various incarnations of build phase changes, build settings, as well as various issue solutions found here and various other StackOverflow responses. I'm still not ruling out that this is a simple id10t error, but any help would be appreciated.\r\n\r\n Podfile below:\r\n```ruby\r\nsource 'https://github.com/CocoaPods/Specs.git'\r\n\r\nplatform :ios, '8.3'\r\nuse_frameworks!\r\n\r\nlink_with \"<project-name>\"\r\n\r\ndef shared_pods\r\n  pod \"SwiftyJSON\", \">= 2.2\"\r\n  pod 'Alamofire'\r\n  pod \"Charts\"\r\n  pod \"Locksmith\"\r\nend\r\n\r\ntarget \"<project-name>\" do\r\n  shared_pods\r\nend\r\n\r\ntarget \"<project-name>Tests\" do\r\n  shared_pods\r\n  pod \"OHHTTPStubs\"\r\nend\r\n```\r\nIf you need anymore information, please let me know. :+1: \r\n\r\nEdit: Important to note, I also have ran ```pod deintegrate``` then ```pod install``` again to help \"clean\" things out.\r\n\r\nVersion of cocoapods is 0.37.2 (I also have tried the new beta build with no luck)\r\n```\r\n> gem list | grep cocoapods \r\ncocoapods (0.37.2)\r\ncocoapods-core (0.37.2)\r\ncocoapods-deintegrate (0.2.1)\r\ncocoapods-downloader (0.9.1)\r\ncocoapods-plugins (0.4.2)\r\ncocoapods-trunk (0.6.1)\r\ncocoapods-try (0.4.5)\r\n```"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/118404324","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3775#issuecomment-118404324","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3775","id":118404324,"user":{"login":"segiddins","id":1946610,"avatar_url":"https://avatars.githubusercontent.com/u/1946610?v=3","gravatar_id":"","url":"https://api.github.com/users/segiddins","html_url":"https://github.com/segiddins","followers_url":"https://api.github.com/users/segiddins/followers","following_url":"https://api.github.com/users/segiddins/following{/other_user}","gists_url":"https://api.github.com/users/segiddins/gists{/gist_id}","starred_url":"https://api.github.com/users/segiddins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segiddins/subscriptions","organizations_url":"https://api.github.com/users/segiddins/orgs","repos_url":"https://api.github.com/users/segiddins/repos","events_url":"https://api.github.com/users/segiddins/events{/privacy}","received_events_url":"https://api.github.com/users/segiddins/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T18:14:29Z","updated_at":"2015-07-03T18:14:29Z","body":"Ah I think the issue here is that you have the `link_with` outside of any target blocks, but there are no pods that aren't inside the target blocks. Getting rid of the `link_with` might just do the trick!"}}