{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3156","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3156/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3156/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3156/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3156","id":57920493,"number":3156,"title":"Archive fails with code signing issue","user":{"login":"seboslaw","id":97770,"avatar_url":"https://avatars.githubusercontent.com/u/97770?v=3","gravatar_id":"","url":"https://api.github.com/users/seboslaw","html_url":"https://github.com/seboslaw","followers_url":"https://api.github.com/users/seboslaw/followers","following_url":"https://api.github.com/users/seboslaw/following{/other_user}","gists_url":"https://api.github.com/users/seboslaw/gists{/gist_id}","starred_url":"https://api.github.com/users/seboslaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seboslaw/subscriptions","organizations_url":"https://api.github.com/users/seboslaw/orgs","repos_url":"https://api.github.com/users/seboslaw/repos","events_url":"https://api.github.com/users/seboslaw/events{/privacy}","received_events_url":"https://api.github.com/users/seboslaw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/milestones/18","html_url":"https://github.com/CocoaPods/CocoaPods/milestones/Next%20Up%20Bug%20Fixes","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/milestones/18/labels","id":301098,"number":18,"title":"Next Up Bug Fixes","description":"This is a list of bug fixes that we will be working on for one of the next releases.\r\n\r\nThis does **not** mean all these fixes will be in the next release!","creator":{"login":"alloy","id":2320,"avatar_url":"https://avatars.githubusercontent.com/u/2320?v=3","gravatar_id":"","url":"https://api.github.com/users/alloy","html_url":"https://github.com/alloy","followers_url":"https://api.github.com/users/alloy/followers","following_url":"https://api.github.com/users/alloy/following{/other_user}","gists_url":"https://api.github.com/users/alloy/gists{/gist_id}","starred_url":"https://api.github.com/users/alloy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alloy/subscriptions","organizations_url":"https://api.github.com/users/alloy/orgs","repos_url":"https://api.github.com/users/alloy/repos","events_url":"https://api.github.com/users/alloy/events{/privacy}","received_events_url":"https://api.github.com/users/alloy/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":20,"state":"open","created_at":"2013-04-02T11:17:26Z","updated_at":"2015-08-19T17:44:25Z","due_on":null,"closed_at":null},"comments":28,"created_at":"2015-02-17T12:53:45Z","updated_at":"2015-08-19T17:44:25Z","closed_at":"2015-08-19T17:44:25Z","body":"Hey guys,\r\n\r\nI'm trying to archive a new iOS 8.1 project that is mainly Swift and has 2 embedded frameworks (1 to wrap the API, 1 for custom controls). The Podfile for the project is as follows:\r\n\r\n```\r\n# Uncomment this line to define a global platform for your project\r\n# platform :ios, '6.0'\r\n\r\ntarget 'LingoJam' do\r\npod 'ReactiveCocoa', '2.4.4' # objc\r\npod 'SwiftyJSON', '2.1.3' #Swift\r\npod 'Alamofire', '~> 1.1.3' #Swift\r\npod 'Dollar', '~> 2.1.0' #Swift\r\npod 'Voltron', '~> 0.2.1' #objc\r\nend\r\n\r\ntarget 'LingoJamTests' do\r\n\r\nend\r\n\r\ntarget 'LingoJamFramework' do\r\n    pod 'SwiftyJSON', '2.1.3' #Swift\r\n    pod 'Dollar', '~> 2.1.0' #Swift\r\nend\r\n\r\ntarget 'LingoJamFrameworkTests' do    \r\n    pod 'SwiftyJSON', '2.1.3' #Swift\r\n    pod 'Dollar', '~> 2.1.0' #Swift\r\nend\r\n```\r\nSince I want to use Apple's TestFlight (for now), the setup for my main project is:\r\n- Code Signing Identity => iOS Developer\r\n- Provisioning Profile => Automatic\r\n\r\nI've tried using both 0.36.0.beta.1 and 0.36.0.beta.2, but neither succeeds in generating a Pods project that can be archived in XCode 6.1.1.\r\nWhen trying to archive I get code signing errors like the following:\r\n\r\n```\r\nCodeSign /Users/svogelsang/Development/work/LingoJam/iOS/LingoJam/Build/Intermediates/ArchiveIntermediates/LingoJam/IntermediateBuildFilesPath/UninstalledProducts/Dollar.framework\r\n    cd /Users/svogelsang/Development/work/LingoJam/iOS/LingoJam/Pods\r\n    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate\r\n    export PATH=\"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin\"\r\n    \r\nSigning Identity:     \"iPhone Developer: Sebastian Vogelsang (N2F7M2B849)\"\r\n\r\n    /usr/bin/codesign --force --sign 9722FB761A6CA85426D200AEDA1D821A3CB6D902 /Users/svogelsang/Development/work/LingoJam/iOS/LingoJam/Build/Intermediates/ArchiveIntermediates/LingoJam/IntermediateBuildFilesPath/UninstalledProducts/Dollar.framework\r\n\r\n/Users/svogelsang/Development/work/LingoJam/iOS/LingoJam/Build/Intermediates/ArchiveIntermediates/LingoJam/IntermediateBuildFilesPath/UninstalledProducts/Dollar.framework: No such file or directory\r\nCommand /usr/bin/codesign failed with exit code 1\r\n``` "},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/132716196","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3156#issuecomment-132716196","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3156","id":132716196,"user":{"login":"neonichu","id":118992,"avatar_url":"https://avatars.githubusercontent.com/u/118992?v=3","gravatar_id":"","url":"https://api.github.com/users/neonichu","html_url":"https://github.com/neonichu","followers_url":"https://api.github.com/users/neonichu/followers","following_url":"https://api.github.com/users/neonichu/following{/other_user}","gists_url":"https://api.github.com/users/neonichu/gists{/gist_id}","starred_url":"https://api.github.com/users/neonichu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neonichu/subscriptions","organizations_url":"https://api.github.com/users/neonichu/orgs","repos_url":"https://api.github.com/users/neonichu/repos","events_url":"https://api.github.com/users/neonichu/events{/privacy}","received_events_url":"https://api.github.com/users/neonichu/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T17:44:25Z","updated_at":"2015-08-19T17:44:25Z","body":"Let's close this, as discussed in #3198, `post_install` is the right way to specify custom code signing settings."}}