{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/6171","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/6171/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/6171/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/6171/events","html_url":"https://github.com/fastlane/fastlane/issues/6171","id":177630510,"number":6171,"title":"Apple TwoStep Verification","user":{"login":"victoraugustolls","id":7843637,"avatar_url":"https://avatars.githubusercontent.com/u/7843637?v=3","gravatar_id":"","url":"https://api.github.com/users/victoraugustolls","html_url":"https://github.com/victoraugustolls","followers_url":"https://api.github.com/users/victoraugustolls/followers","following_url":"https://api.github.com/users/victoraugustolls/following{/other_user}","gists_url":"https://api.github.com/users/victoraugustolls/gists{/gist_id}","starred_url":"https://api.github.com/users/victoraugustolls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victoraugustolls/subscriptions","organizations_url":"https://api.github.com/users/victoraugustolls/orgs","repos_url":"https://api.github.com/users/victoraugustolls/repos","events_url":"https://api.github.com/users/victoraugustolls/events{/privacy}","received_events_url":"https://api.github.com/users/victoraugustolls/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-09-18T05:25:41Z","updated_at":"2016-10-31T04:05:19Z","closed_at":null,"body":"### New Issue Checklist\n- [X] Updated fastlane to the latest version\n- [X] I have read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\n### Issue Description\n\nWhen using pilot with CircleCI, I'm prompted to input my two-step verification code from Apple. This is not an issue and this is supposed to happen, I'm just wondering if there is a way around it or if i should just turn TwoStep Verification off... Thanks!\n##### Complete output when running fastlane, including the stack trace and command used\n\n```\n[22:14:28]: -------------------------------------------------\n[22:14:28]: --- Step: Verifying required fastlane version ---\n[22:14:28]: -------------------------------------------------\n[22:14:28]: fastlane version valid\n[22:14:28]: ------------------------------\n[22:14:28]: --- Step: default_platform ---\n[22:14:28]: ------------------------------\n[22:14:28]: Driving the lane 'ios beta' 🚀\n[22:14:28]: -------------------\n[22:14:28]: --- Step: match ---\n[22:14:28]: -------------------\n\n+-----------------------+---------------------------------------------------------------+\n|                                Summary for match 0.6.4                                |\n+-----------------------+---------------------------------------------------------------+\n| type                  | appstore                                                      |\n| readonly              | true                                                          |\n| git_url               | https://github.com/victoraugustolls/CircleCI-Certificates.git |\n| git_branch            | master                                                        |\n| app_identifier        | com.tutorial.CircleCI-Test                                    |\n| username              | victoraugustodev@gmail.com                                    |\n| keychain_name         | login.keychain                                                |\n| team_id               | H8UTHN35FS                                                    |\n| verbose               | false                                                         |\n| force                 | false                                                         |\n| shallow_clone         | false                                                         |\n| force_for_new_devices | false                                                         |\n| skip_docs             | false                                                         |\n+-----------------------+---------------------------------------------------------------+\n\n[22:14:28]: Cloning remote git repo...\n[22:14:29]: 🔓  Successfully decrypted certificates repo\n[22:14:29]: Installing certificate...\n[22:14:29]: There are no local code signing identities found. You can run `security find-identity -v -p codesigning` to get this output. This Stack Overflow thread has more information: http://stackoverflow.com/q/35390072/774. (Check in Keychain Access for an expired WWDR certificate: http://stackoverflow.com/a/35409835/774 has more info.)\n[22:14:29]: Installing provisioning profile...\n\n+----------------------+------------------------------------------+\n|                 Installed Provisioning Profile                  |\n+----------------------+------------------------------------------+\n| App Identifier       | com.tutorial.CircleCI-Test               |\n| Type                 | appstore                                 |\n| UUID                 | 3143062a-0b87-4259-a69c-f5709133c203     |\n| Environment Variable | sigh_com.tutorial.CircleCI-Test_appstore |\n+----------------------+------------------------------------------+\n\n[22:14:29]: All required keys, certificates and provisioning profiles are installed 🙌\n[22:14:29]: 🔒  Successfully encrypted certificates repo\n[22:14:29]: Setting Provisioning Profile type to 'app-store'\n[22:14:29]: -----------------\n[22:14:29]: --- Step: gym ---\n[22:14:29]: -----------------\n[22:14:29]: $ xcodebuild -list -project ./CircleCI-Test.xcodeproj\n[22:14:31]: $ xcodebuild clean -showBuildSettings -scheme CircleCI-Test -project ./CircleCI-Test.xcodeproj\n[22:14:31]: Using legacy build system - waiting for radar to be fixed: https://openradar.appspot.com/radar?id=4952000420642816\n\n+----------------------+---------------------------+\n|              Summary for gym 1.9.0               |\n+----------------------+---------------------------+\n| scheme               | CircleCI-Test             |\n| export_method        | app-store                 |\n| project              | ./CircleCI-Test.xcodeproj |\n| destination          | generic/platform=iOS      |\n| output_name          | CircleCI-Test             |\n| clean                | false                     |\n| output_directory     | .                         |\n| silent               | false                     |\n| use_legacy_build_api | true                      |\n| buildlog_path        | ~/Library/Logs/gym        |\n+----------------------+---------------------------+\n\n[22:14:31]: $ set -o pipefail && xcodebuild -scheme CircleCI-Test -project ./CircleCI-Test.xcodeproj -destination 'generic/platform=iOS' -archivePath /Users/distiller/Library/Developer/Xcode/Archives/2016-09-17/CircleCI-Test\\ 2016-09-17\\ 22.14.31.xcarchive archive | tee /Users/distiller/Library/Logs/gym/CircleCI-Test-CircleCI-Test.log | xcpretty\n[22:14:32]: ▸ Building CircleCI-Test/CircleCI-Test [Release]\n[22:14:32]: ▸ Check Dependencies\n[22:14:38]: ▸ Linking CircleCI-Test\n[22:14:38]: ▸ Linking CircleCI-Test\n[22:14:38]: ▸ Compiling Main.storyboard\n[22:14:38]: ▸ Compiling LaunchScreen.storyboard\n[22:14:38]: ▸ Processing Info.plist\n[22:14:38]: ▸ Generating 'CircleCI-Test.app.dSYM'\n[22:14:39]: ▸ Touching CircleCI-Test.app\n[22:14:46]: ▸ Signing /Users/distiller/Library/Developer/Xcode/DerivedData/CircleCI-Test-dvhhlbgnuldswsfjzhievgrczium/Build/Intermediates/ArchiveIntermediates/CircleCI-Test/InstallationBuildProductsLocation/Applications/CircleCI-Test.app\n[22:14:46]: ▸ Touching CircleCI-Test.app.dSYM\n[22:14:47]: ▸ Archive Succeeded\n[22:14:47]: Legacy build api is enabled, the `export_method` value will be ignored\n[22:14:47]: $ /usr/bin/xcrun /tmp/PackageApplication4Gym -v /Users/distiller/Library/Developer/Xcode/Archives/2016-09-17/CircleCI-Test\\ 2016-09-17\\ 22.14.31.xcarchive/Products/Applications/CircleCI-Test.app -o '/var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/gym_output20160917-3306-1mybpu8/CircleCI-Test.ipa' exportFormat ipa \n[22:14:52]: $ zip --recurse-paths '/var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/gym_output20160917-3306-1mybpu8/CircleCI-Test.ipa' SwiftSupport > /dev/null\n[22:14:55]: Compressing 1 dSYM(s)\n[22:14:55]: $ cd '/Users/distiller/Library/Developer/Xcode/Archives/2016-09-17/CircleCI-Test 2016-09-17 22.14.31.xcarchive/dSYMs' && zip -r '/Users/distiller/CircleCI-Test/CircleCI-Test.app.dSYM.zip' *.dSYM\n[22:14:55]: ▸   adding: CircleCI-Test.app.dSYM/ (stored 0%)\n[22:14:55]: ▸   adding: CircleCI-Test.app.dSYM/Contents/ (stored 0%)\n[22:14:55]: ▸   adding: CircleCI-Test.app.dSYM/Contents/Info.plist (deflated 52%)\n[22:14:55]: ▸   adding: CircleCI-Test.app.dSYM/Contents/Resources/ (stored 0%)\n[22:14:55]: ▸   adding: CircleCI-Test.app.dSYM/Contents/Resources/DWARF/ (stored 0%)\n[22:14:55]: ▸   adding: CircleCI-Test.app.dSYM/Contents/Resources/DWARF/CircleCI-Test (deflated 69%)\n\n[22:14:55]: Successfully exported and compressed dSYM file\n[22:14:55]: Successfully exported and signed the ipa file:\n[22:14:55]: /Users/distiller/CircleCI-Test/CircleCI-Test.ipa\n[22:14:55]: -------------------\n[22:14:55]: --- Step: pilot ---\n[22:14:55]: -------------------\n[22:14:55]: Login to iTunes Connect (victoraugustodev@gmail.com)\nTwo Factor Authentication for account 'victoraugustodev@gmail.com' is enabled\nPlease enter the 6 digit code: \nthe build was canceled\n```\n### Configuration Files\n\nPlease copy the complete content of your `Fastfile` and any other configuration files you use below:\n\nFastfile:\n\n``` ruby\nfastlane_version \"1.103.0\"\n\ndefault_platform :ios\n\nplatform :ios do\n  before_all do\n    # ENV[\"SLACK_URL\"] = \"https://hooks.slack.com/services/...\"\n\n  end\n\n  desc \"Runs all the tests\"\n  lane :test do\n    scan\n  end\n\n  desc \"Submit a new Beta Build to Apple TestFlight\"\n  desc \"This will also make sure the profile is up to date\"\n  lane :beta do\n    match(type: \"appstore\", readonly: true) # more information: https://codesigning.guide\n    gym(scheme: \"CircleCI-Test\") # Build your app - more options available\n    pilot\n\n    # sh \"your_script.sh\"\n    # You can also use other beta testing services here (run `fastlane actions`)\n  end\n\n  desc \"Deploy a new version to the App Store\"\n  lane :release do\n    # match(type: \"appstore\")\n    # snapshot\n    gym(scheme: \"CircleCI-Test\") # Build your app - more options available\n    deliver(force: true)\n    # frameit\n  end\n\n  # You can define as many lanes as you want\n\n  after_all do |lane|\n    # This block is called, only if the executed lane was successful\n\n    # slack(\n    #   message: \"Successfully deployed new App Update.\"\n    # )\n  end\n\n  error do |lane, exception|\n    # slack(\n    #   message: exception.message,\n    #   success: false\n    # )\n  end\nend\n```\n### Environment\n\nfastlane version (run `fastlane -v`):\nfastlane 1.103.0\n\nDo you use bundler to execute fastlane (i.e. `bundle exec fastlane`)?\nyes\n\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)?\nno\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/257210021","html_url":"https://github.com/fastlane/fastlane/issues/6171#issuecomment-257210021","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/6171","id":257210021,"user":{"login":"derrickshowers","id":1372292,"avatar_url":"https://avatars.githubusercontent.com/u/1372292?v=3","gravatar_id":"","url":"https://api.github.com/users/derrickshowers","html_url":"https://github.com/derrickshowers","followers_url":"https://api.github.com/users/derrickshowers/followers","following_url":"https://api.github.com/users/derrickshowers/following{/other_user}","gists_url":"https://api.github.com/users/derrickshowers/gists{/gist_id}","starred_url":"https://api.github.com/users/derrickshowers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derrickshowers/subscriptions","organizations_url":"https://api.github.com/users/derrickshowers/orgs","repos_url":"https://api.github.com/users/derrickshowers/repos","events_url":"https://api.github.com/users/derrickshowers/events{/privacy}","received_events_url":"https://api.github.com/users/derrickshowers/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T04:05:19Z","updated_at":"2016-10-31T04:05:19Z","body":"I'm running into the same issue as @emendamus when using Fastlane with my CI tool ([Bitrise.io](https://github.com/bitrise-io/steps-deploy-to-itunesconnect-deliver)) so I don't really have the option to modify anything locally. Are there any work arounds for this? \r\n\r\nTwo Factor needs enabled for anyone wanting to use the new unlock macOS via Watch feature on Sierra, so this bug will soon be occurring for more people."}}
{"actor":{"display_login":"derrickshowers"}}