{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/gym/issues/122","labels_url":"https://api.github.com/repos/fastlane/gym/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/gym/issues/122/comments","events_url":"https://api.github.com/repos/fastlane/gym/issues/122/events","html_url":"https://github.com/fastlane/gym/issues/122","id":111083435,"number":122,"title":"'gym' command-line invocation (and from fastlane) seems to ignore scheme parameter","user":{"login":"cbowns","id":474,"avatar_url":"https://avatars.githubusercontent.com/u/474?v=3","gravatar_id":"","url":"https://api.github.com/users/cbowns","html_url":"https://github.com/cbowns","followers_url":"https://api.github.com/users/cbowns/followers","following_url":"https://api.github.com/users/cbowns/following{/other_user}","gists_url":"https://api.github.com/users/cbowns/gists{/gist_id}","starred_url":"https://api.github.com/users/cbowns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbowns/subscriptions","organizations_url":"https://api.github.com/users/cbowns/orgs","repos_url":"https://api.github.com/users/cbowns/repos","events_url":"https://api.github.com/users/cbowns/events{/privacy}","received_events_url":"https://api.github.com/users/cbowns/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-13T01:07:11Z","updated_at":"2015-11-17T23:07:39Z","closed_at":"2015-10-13T01:09:12Z","body":"I'm invoking `gym` from `fastlane` like so:\r\n\r\n```\r\n  lane :test_build do |options|\r\n    increment_build_number # version bump\r\n\r\n    gym(\r\n      workspace: \"Sweetness.xcworkspace\",\r\n      scheme: \"Sweetness\"\r\n      )\r\n  end\r\n```\r\n\r\nHere's my `xcworkspace` output:\r\n\r\n```\r\n% xcrun xcodebuild -list -workspace 'Sweetness.xcworkspace'  \r\nInformation about workspace \"Sweetness\":\r\n    Schemes:\r\n        Sweetness\r\n        Pods\r\n```\r\n\r\nWhen I run the lane, `gym` shows an interactive prompt for me to select a scheme, and says it can't find \"Example\".\r\n\r\n```\r\n…\r\n[18:05:24]: -----------------\r\n[18:05:24]: --- Step: gym ---\r\n[18:05:24]: -----------------\r\n[18:05:24]: xcrun xcodebuild -list -workspace 'Sweetness.xcworkspace'\r\n[18:05:25]: Couldn't find specified scheme 'Example'.\r\nSelect Scheme: \r\n1. Sweetness\r\n2. Pods\r\n?  \r\n```\r\n\r\nI get the same error when I invoke `gym` from the command-line directly, even with `--scheme` passed in:\r\n\r\n```\r\n% ± gym --scheme Sweetness                                                                                                                                                            2015-10-12 [18:06:04]\r\n[18:06:06]: xcrun xcodebuild -list -workspace './Sweetness.xcworkspace'\r\n[18:06:07]: Couldn't find specified scheme 'Example'.\r\nSelect Scheme: \r\n1. Sweetness\r\n2. Pods\r\n?  \r\n```"},"comment":{"url":"https://api.github.com/repos/fastlane/gym/issues/comments/157539080","html_url":"https://github.com/fastlane/gym/issues/122#issuecomment-157539080","issue_url":"https://api.github.com/repos/fastlane/gym/issues/122","id":157539080,"user":{"login":"cbowns","id":474,"avatar_url":"https://avatars.githubusercontent.com/u/474?v=3","gravatar_id":"","url":"https://api.github.com/users/cbowns","html_url":"https://github.com/cbowns","followers_url":"https://api.github.com/users/cbowns/followers","following_url":"https://api.github.com/users/cbowns/following{/other_user}","gists_url":"https://api.github.com/users/cbowns/gists{/gist_id}","starred_url":"https://api.github.com/users/cbowns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbowns/subscriptions","organizations_url":"https://api.github.com/users/cbowns/orgs","repos_url":"https://api.github.com/users/cbowns/repos","events_url":"https://api.github.com/users/cbowns/events{/privacy}","received_events_url":"https://api.github.com/users/cbowns/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T23:07:39Z","updated_at":"2015-11-17T23:07:39Z","body":"@fulldecent That's interesting that the `Fastfile` propagated into some of the tools, though. What specifically did you have in it?"}}