{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/4236","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/4236/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/4236/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/4236/events","html_url":"https://github.com/fastlane/fastlane/issues/4236","id":148966752,"number":4236,"title":"Specify Xcode scheme for `fastlane init` command","user":{"login":"tadija","id":2762374,"avatar_url":"https://avatars.githubusercontent.com/u/2762374?v=3","gravatar_id":"","url":"https://api.github.com/users/tadija","html_url":"https://github.com/tadija","followers_url":"https://api.github.com/users/tadija/followers","following_url":"https://api.github.com/users/tadija/following{/other_user}","gists_url":"https://api.github.com/users/tadija/gists{/gist_id}","starred_url":"https://api.github.com/users/tadija/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadija/subscriptions","organizations_url":"https://api.github.com/users/tadija/orgs","repos_url":"https://api.github.com/users/tadija/repos","events_url":"https://api.github.com/users/tadija/events{/privacy}","received_events_url":"https://api.github.com/users/tadija/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fastlane/fastlane/labels/fastlane","name":"fastlane","color":"CCCCCC"},{"url":"https://api.github.com/repos/fastlane/fastlane/labels/feature","name":"feature","color":"009800"},{"url":"https://api.github.com/repos/fastlane/fastlane/labels/waiting-for-reply","name":"waiting-for-reply","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-04-17T16:14:07Z","updated_at":"2016-09-26T22:19:53Z","closed_at":null,"body":"### New Issue Checklist\r\n\r\n- [✓] Updated fastlane to the latest version\r\n- [✓] I have read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n\r\n### Issue Description\r\n\r\nI have an existing iOS project with multiple Xcode schemes (develop, stage, production) and each scheme builds different bundle ID (ad hoc, in house, app store).\r\n\r\nI wanted to do `fastlane init` with scheme for production in order to create initial version of config files and to pull all existing data from iTunes Connect.\r\n\r\nProblem is that `fastlane init` command does not let me choose scheme, but it goes with **develop** scheme by default. That bundle ID does not exist on iTunes Connect so it asks me to create new App on iTC and I have to cancel there.\r\n\r\nSo, I end up without having any initial config files and/or resources in order to continue using fastlane.\r\n\r\nIs there a way to specify which scheme will be used for `fastlane init` command?\r\nDo you have any other suggestions for this case?\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\n```\r\n$ fastlane init\r\n[17:57:49]: Detected iOS/Mac project in current directory...\r\n[17:57:49]: This setup will help you get up and running in no time.\r\n[17:57:49]: fastlane will check what tools you're already using and set up\r\n[17:57:49]: the tool automatically for you. Have fun! \r\n[17:57:49]: Created new folder './fastlane'.\r\n[17:57:49]: xcrun xcodebuild -list -workspace './ProjectName.xcworkspace'\r\nYour Apple ID (e.g. fastlane@krausefx.com): user@domain.com\r\n[17:58:05]: Verifying if app is available on the Apple Developer Portal and iTunes Connect...\r\n[17:58:05]: Starting login with user 'user@domain.com'\r\n\r\n+----------------+---------------------------------------------------------------------------------------+\r\n|                                            Detected Values                                             |\r\n+----------------+---------------------------------------------------------------------------------------+\r\n| Apple ID       | user@domain.com                                                                |\r\n| App Name       | ProjectName Develop                                                                    |\r\n| App Identifier | com.domain.appName-Develop                                               |\r\n| Workspace      | /Users/username/Dropbox/Developer/company/ProjectDir/ProjectName.xcworkspace |\r\n+----------------+---------------------------------------------------------------------------------------+\r\n\r\n[17:58:12]: This app identifier doesn't exist on iTunes Connect yet, it will be created for you\r\nPlease confirm the above values (y/n)\r\nn\r\nApp Identifier (com.krausefx.app): \r\n```\r\n\r\n### Configuration Files\r\n\r\nPlease copy the complete content of your `Fastfile` and any other configuration files you use below:\r\n\r\nI don't have any configuration file yet. I was hoping that `fastlane init` would make one.\r\n\r\n### Environment\r\n\r\nfastlane version (run `fastlane -v`): 1.81.0\r\nDo you use bundler to execute fastlane (i.e. `bundle exec fastlane`)? No\r\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)? No\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/249714614","html_url":"https://github.com/fastlane/fastlane/issues/4236#issuecomment-249714614","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/4236","id":249714614,"user":{"login":"fastlane-bot","id":17056452,"avatar_url":"https://avatars.githubusercontent.com/u/17056452?v=3","gravatar_id":"","url":"https://api.github.com/users/fastlane-bot","html_url":"https://github.com/fastlane-bot","followers_url":"https://api.github.com/users/fastlane-bot/followers","following_url":"https://api.github.com/users/fastlane-bot/following{/other_user}","gists_url":"https://api.github.com/users/fastlane-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/fastlane-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastlane-bot/subscriptions","organizations_url":"https://api.github.com/users/fastlane-bot/orgs","repos_url":"https://api.github.com/users/fastlane-bot/repos","events_url":"https://api.github.com/users/fastlane-bot/events{/privacy}","received_events_url":"https://api.github.com/users/fastlane-bot/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T22:19:53Z","updated_at":"2016-09-26T22:19:53Z","body":"There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.\n\nPlease make sure to update to the latest `fastlane` version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:"}}
{"actor":{"display_login":"fastlane-bot"}}