{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5709","repository_url":"https://api.github.com/repos/CocoaPods/CocoaPods","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5709/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5709/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5709/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/5709","id":169296517,"number":5709,"title":"Cannot archive when using target inheritance","user":{"login":"staff0rd","id":6289998,"avatar_url":"https://avatars.githubusercontent.com/u/6289998?v=3","gravatar_id":"","url":"https://api.github.com/users/staff0rd","html_url":"https://github.com/staff0rd","followers_url":"https://api.github.com/users/staff0rd/followers","following_url":"https://api.github.com/users/staff0rd/following{/other_user}","gists_url":"https://api.github.com/users/staff0rd/gists{/gist_id}","starred_url":"https://api.github.com/users/staff0rd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staff0rd/subscriptions","organizations_url":"https://api.github.com/users/staff0rd/orgs","repos_url":"https://api.github.com/users/staff0rd/repos","events_url":"https://api.github.com/users/staff0rd/events{/privacy}","received_events_url":"https://api.github.com/users/staff0rd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-04T05:51:12Z","updated_at":"2016-08-04T13:59:39Z","closed_at":null,"body":"* [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\nRun `pod install`\r\n\r\n## What did you expect to happen?\r\n\r\nThe resulting workspace to Build and Archive\r\n\r\n## What happened instead?\r\n\r\nIn Xcode, building only works if I change the scheme to the `library` target and build, then switch it back to the `application` target and build.  However, when attempting to _Product > Archive_, the process always fails with the error `No such module 'library'` \r\n\r\n## CocoaPods Environment\r\n\r\n### Stack\r\n\r\n```\r\n   CocoaPods : 1.0.1\r\n        Ruby : ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]\r\n    RubyGems : 2.6.6\r\n        Host : Mac OS X 10.11.4 (15E65)\r\n       Xcode : 7.3 (7D175)\r\n         Git : git version 2.6.4 (Apple Git-63)\r\nRuby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib\r\nRepositories : master - https://github.com/CocoaPods/Specs.git @ 8a55c671d76a2f2a464a059c699c3767f0cf3c9c\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.0\r\ncocoapods-plugins     : 1.0.0\r\ncocoapods-search      : 1.0.0\r\ncocoapods-stats       : 1.0.0\r\ncocoapods-trunk       : 1.0.0\r\ncocoapods-try         : 1.1.0\r\n```\r\n\r\n### Podfile\r\n\r\n```ruby\r\nworkspace 'myworkspace'\r\nplatform :ios, '9.0'\r\n\r\nuse_frameworks!\r\n\r\ntarget :library do\r\n\tproject 'library/library.xcproject'\r\n\tpod 'GCDWebServer', '~> 3.0'\r\n\ttarget :application do\r\n\t\tproject 'application/application.xcproject'\r\n\tend\r\nend\r\n```\r\n\r\n## Project that demonstrates the issue\r\n\r\nhttps://github.com/staff0rd/podtest\r\n"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/237561314","html_url":"https://github.com/CocoaPods/CocoaPods/issues/5709#issuecomment-237561314","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/5709","id":237561314,"user":{"login":"staff0rd","id":6289998,"avatar_url":"https://avatars.githubusercontent.com/u/6289998?v=3","gravatar_id":"","url":"https://api.github.com/users/staff0rd","html_url":"https://github.com/staff0rd","followers_url":"https://api.github.com/users/staff0rd/followers","following_url":"https://api.github.com/users/staff0rd/following{/other_user}","gists_url":"https://api.github.com/users/staff0rd/gists{/gist_id}","starred_url":"https://api.github.com/users/staff0rd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staff0rd/subscriptions","organizations_url":"https://api.github.com/users/staff0rd/orgs","repos_url":"https://api.github.com/users/staff0rd/repos","events_url":"https://api.github.com/users/staff0rd/events{/privacy}","received_events_url":"https://api.github.com/users/staff0rd/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T13:59:39Z","updated_at":"2016-08-04T13:59:39Z","body":"Strangely that's a red herring - renaming to `.xcodeproj` and deleting DerivedData/cleaning results in the same symptoms.  [Repo updated](https://github.com/staff0rd/podtest)."}}
{"actor":{"display_login":"staff0rd"}}