{"action":"opened","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/8220","repository_url":"https://api.github.com/repos/CocoaPods/CocoaPods","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/8220/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/8220/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/8220/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/8220","id":373356338,"node_id":"MDU6SXNzdWUzNzMzNTYzMzg=","number":8220,"title":"Multiple commands produce .framework","user":{"login":"tomspee","id":6576634,"node_id":"MDQ6VXNlcjY1NzY2MzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6576634?v=4","gravatar_id":"","url":"https://api.github.com/users/tomspee","html_url":"https://github.com/tomspee","followers_url":"https://api.github.com/users/tomspee/followers","following_url":"https://api.github.com/users/tomspee/following{/other_user}","gists_url":"https://api.github.com/users/tomspee/gists{/gist_id}","starred_url":"https://api.github.com/users/tomspee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomspee/subscriptions","organizations_url":"https://api.github.com/users/tomspee/orgs","repos_url":"https://api.github.com/users/tomspee/repos","events_url":"https://api.github.com/users/tomspee/events{/privacy}","received_events_url":"https://api.github.com/users/tomspee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-24T08:10:46Z","updated_at":"2018-10-24T08:10:46Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nℹ Please fill out this template when filing an issue.\r\nAll lines beginning with an ℹ symbol instruct you with\r\nwhat info we expect.  \r\n\r\nBefore you start, are you using the latest CocoaPods release?\r\nA lot changes with Xcode releases that are not backwards compatible.\r\n\r\nNot an issue about the CocoaPods command line app? Please file an issue in the appropriate repo - https://github.com/CocoaPods\r\nIssues are for feature requests, and bugs; questions should go to Stack Overflow\r\n\r\nUsing CocoaPods <= 0.39: http://blog.cocoapods.org/Sharding/\r\n\r\nUsing Xcode 8: Requires CocoaPods 1.1.0 or above.\r\n\r\nIssue with Nanaimo not loading:\r\nPlease run `[sudo] gem uninstall nanaimo` and remove all but the latest version.\r\n\r\nIssues with `pod search`? Try deleting your cache `rm -rf ~/Library/Caches/CocoaPods`first.\r\n-->\r\n\r\n* [x] I've read and understood the [*CONTRIBUTING* guidelines and have done my best effort to follow](https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md).\r\n\r\n# Report\r\n\r\n## What did you do?\r\n\r\nI made a project with multiple targets that use different platforms but one same pod. My main project target has iOS 10 as platform and my Intent target (for Siri Shortcuts) needs iOS 12 as platform. When building on simulator/device it works fine, when trying to archive this fails.\r\n\r\n## What did you expect to happen?\r\n\r\nArchive succeeded\r\n\r\n## What happened instead?\r\n\r\nArchive failed:\r\n\r\n    error: Multiple commands produce '/Users/tomspee/Library/Developer/Xcode/DerivedData/TestProject-fkdgxlqaqvegalbwcqrqkxranmyy/Build/Intermediates.noindex/ArchiveIntermediates/TestProject/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Alamofire.framework':\r\n    1) Target 'Alamofire-iOS12.0' has create directory command with output '/Users/tomspee/Library/Developer/Xcode/DerivedData/TestProject-fkdgxlqaqvegalbwcqrqkxranmyy/Build/Intermediates.noindex/ArchiveIntermediates/TestProject/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Alamofire.framework'\r\n    2) Target 'Alamofire-iOS10.0' has create directory command with output '/Users/tomspee/Library/Developer/Xcode/DerivedData/TestProject-fkdgxlqaqvegalbwcqrqkxranmyy/Build/Intermediates.noindex/ArchiveIntermediates/TestProject/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Alamofire.framework'\r\n\r\n## CocoaPods Environment\r\n\r\n### Stack\r\n\r\n```\r\n   CocoaPods : 1.6.0.beta.2\r\n        Ruby : ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]\r\n    RubyGems : 2.5.2.3\r\n        Host : Mac OS X 10.14 (18A391)\r\n       Xcode : 10.0 (10A255)\r\n         Git : git version 2.17.1 (Apple Git-112)\r\nRuby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib\r\nRepositories : bitbucket-mangrove-mangrove-specs - https://bitbucket.org/mangrove/mangrove-specs.git @ 3ec3c1f1132780439bbd0fa13ae1b7250e66a7c3\r\n               bitbucket-mobilepioneers-cocoapods-private-repo - https://bitbucket.org/mobilepioneers/cocoapods-private-repo.git @ 10bb31902f00d3a6c5fb81d1f6374c4a61bdd34b\r\n               master - https://github.com/CocoaPods/Specs.git @ 50156a82b5530471a94c17bdce83b4473bd3bbf6\r\n```\r\n\r\n### Installation Source\r\n\r\n```\r\nExecutable Path: /usr/local/bin/pod\r\n```\r\n\r\n### Plugins\r\n\r\n```\r\ncocoapods-deintegrate : 1.0.2\r\ncocoapods-plugins     : 1.0.0\r\ncocoapods-search      : 1.0.0\r\ncocoapods-stats       : 1.0.0\r\ncocoapods-trunk       : 1.3.1\r\ncocoapods-try         : 1.1.0\r\n```\r\n\r\n### Podfile\r\n\r\n```ruby\r\ndef sharedPods\r\n  pod 'Alamofire', '~> 4.5.0'\r\nend\r\n\r\ntarget 'TestProject' do\r\n  platform :ios, '10.0'\r\n\r\n  use_frameworks!\r\n\r\n  sharedPods\r\n\r\n  target 'TestProjectTests' do\r\n    inherit! :search_paths\r\n\r\n  end\r\n\r\n  target 'TestProjectUITests' do\r\n    inherit! :search_paths\r\n\r\n  end\r\n\r\nend\r\n\r\ntarget 'Widget' do\r\n  platform :ios, '12.0'\r\n\r\n  use_frameworks!\r\n\r\n  sharedPods\r\nend\r\n```\r\n\r\n## Project that demonstrates the issue\r\n\r\nhttps://github.com/tomspee/archive-error\r\n"}}
{"actor":{"display_login":"tomspee"}}