{"action":"created","issue":{"url":"https://api.github.com/repos/Carthage/Carthage/issues/395","labels_url":"https://api.github.com/repos/Carthage/Carthage/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/Carthage/Carthage/issues/395/comments","events_url":"https://api.github.com/repos/Carthage/Carthage/issues/395/events","html_url":"https://github.com/Carthage/Carthage/issues/395","id":63147816,"number":395,"title":"Shared schemes from xcworkspace's","user":{"login":"flovilmart","id":364568,"avatar_url":"https://avatars.githubusercontent.com/u/364568?v=3","gravatar_id":"","url":"https://api.github.com/users/flovilmart","html_url":"https://github.com/flovilmart","followers_url":"https://api.github.com/users/flovilmart/followers","following_url":"https://api.github.com/users/flovilmart/following{/other_user}","gists_url":"https://api.github.com/users/flovilmart/gists{/gist_id}","starred_url":"https://api.github.com/users/flovilmart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flovilmart/subscriptions","organizations_url":"https://api.github.com/users/flovilmart/orgs","repos_url":"https://api.github.com/users/flovilmart/repos","events_url":"https://api.github.com/users/flovilmart/events{/privacy}","received_events_url":"https://api.github.com/users/flovilmart/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Carthage/Carthage/labels/build","name":"build","color":"bfe5bf"},{"url":"https://api.github.com/repos/Carthage/Carthage/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Carthage/Carthage/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-20T03:17:27Z","updated_at":"2015-03-23T06:12:26Z","closed_at":null,"body":"I've encountered that problem today while working with SDWebImage.\r\n\r\nIt appears that when a project is embedded in a workspace, the shared schemes are moved from the xcodeproj to the xcworkspace, like physically moved.\r\n\r\nTherefore, as it doesn't seems that Carthage looks for shared schemes in the xcworkspace the build command failed.\r\nIs that by design or a problem on our side?\r\n\r\nI'm afraid the next time some other dev edits the workspace, the scheme gets moved along and that breaks Carthage installation for everyone.\r\n\r\nThanks\r\n\r\nF."},"comment":{"url":"https://api.github.com/repos/Carthage/Carthage/issues/comments/84828066","html_url":"https://github.com/Carthage/Carthage/issues/395#issuecomment-84828066","issue_url":"https://api.github.com/repos/Carthage/Carthage/issues/395","id":84828066,"user":{"login":"jspahrsummers","id":432536,"avatar_url":"https://avatars.githubusercontent.com/u/432536?v=3","gravatar_id":"","url":"https://api.github.com/users/jspahrsummers","html_url":"https://github.com/jspahrsummers","followers_url":"https://api.github.com/users/jspahrsummers/followers","following_url":"https://api.github.com/users/jspahrsummers/following{/other_user}","gists_url":"https://api.github.com/users/jspahrsummers/gists{/gist_id}","starred_url":"https://api.github.com/users/jspahrsummers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspahrsummers/subscriptions","organizations_url":"https://api.github.com/users/jspahrsummers/orgs","repos_url":"https://api.github.com/users/jspahrsummers/repos","events_url":"https://api.github.com/users/jspahrsummers/events{/privacy}","received_events_url":"https://api.github.com/users/jspahrsummers/received_events","type":"User","site_admin":true},"created_at":"2015-03-23T06:12:26Z","updated_at":"2015-03-23T06:12:26Z","body":"I think:\r\n\r\n> Because we’re only building shared schemes we should not skip anything.\r\n\r\nand:\r\n\r\n> Skip the schemes that conflict with carthage deps and build only the carthage + non conflicting schemes.\r\n\r\n… are problematic, because projects that are _otherwise_ Carthage compatible may still contain target dependencies that are not.\r\n\r\nIn other words, just because a scheme is shared doesn't mean that Carthage will be able to build it successfully. This is why the current approach is more “opt-in” oriented.\r\n\r\nMaybe what we could do is fall back to using _all_ workspace schemes if the project file doesn't have any of its own. Would that have solved the SDWebImage case?"}}