{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/10404","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/10404/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/10404/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/10404/events","html_url":"https://github.com/fastlane/fastlane/issues/10404","id":260189292,"number":10404,"title":"`export_method` in gym is defined as `development` cause problems when signing application","user":{"login":"yangmiemie1116","id":8776415,"avatar_url":"https://avatars3.githubusercontent.com/u/8776415?v=4","gravatar_id":"","url":"https://api.github.com/users/yangmiemie1116","html_url":"https://github.com/yangmiemie1116","followers_url":"https://api.github.com/users/yangmiemie1116/followers","following_url":"https://api.github.com/users/yangmiemie1116/following{/other_user}","gists_url":"https://api.github.com/users/yangmiemie1116/gists{/gist_id}","starred_url":"https://api.github.com/users/yangmiemie1116/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yangmiemie1116/subscriptions","organizations_url":"https://api.github.com/users/yangmiemie1116/orgs","repos_url":"https://api.github.com/users/yangmiemie1116/repos","events_url":"https://api.github.com/users/yangmiemie1116/events{/privacy}","received_events_url":"https://api.github.com/users/yangmiemie1116/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-25T08:15:40Z","updated_at":"2017-09-25T08:20:04Z","closed_at":null,"author_association":"NONE","body":"### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n- [x] I read [docs.fastlane.tools](https://docs.fastlane.tools)\r\n\r\n### Issue Description\r\n\r\n[15:57:52]: Your `export_method` in gym is defined as `development`\r\n[15:57:52]: which might cause problems when signing your application\r\n[15:57:52]: Are you sure want to build and export for development?\r\n[15:57:52]: Please make sure to define the correct export methods when calling\r\n[15:57:52]: gym in your Fastfile or from the command line\r\n[15:57:52]:\r\n[15:57:52]:\r\n[15:57:52]: Looks like fastlane ran into a build/archive error with your project\r\n[15:57:52]: It's hard to tell what's causing the error, so we wrote some guides on how\r\n[15:57:52]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/\r\n[15:57:52]: Before submitting an issue on GitHub, please follow the guide above and make\r\n[15:57:52]: sure your project is set up correctly.\r\n[15:57:52]: fastlane uses `xcodebuild` commands to generate your binary, you can see the\r\n[15:57:52]: the full commands printed out in yellow in the above log.\r\n[15:57:52]: Make sure to inspect the output above, as usually you'll find more error information there\r\n\r\n### Environment\r\n\r\nPlease run `fastlane env` and copy the output below. This will help us help you :+1:\r\nIf you used `--capture_output` option please remove this block - as it is already included there.\r\n\r\n<details><summary>✅ fastlane environment ✅</summary>\r\n\r\n### Stack\r\n\r\n| Key                         | Value                                       |\r\n| --------------------------- | ------------------------------------------- |\r\n| OS                          | 10.12.6                                     |\r\n| Ruby                        | 2.2.4                                       |\r\n| Bundler?                    | false                                       |\r\n| Git                         | git version 2.13.5 (Apple Git-94)           |\r\n| Installation Source         | ~/.fastlane/bin/bundle/bin/fastlane         |\r\n| Host                        | Mac OS X 10.12.6 (16G29)                    |\r\n| Ruby Lib Dir                | ~/.fastlane/bin/bundle/lib                  |\r\n| OpenSSL Version             | OpenSSL 1.0.2g  1 Mar 2016                  |\r\n| Is contained                | true                                        |\r\n| Is homebrew                 | false                                       |\r\n| Is installed via Fabric.app | false                                       |\r\n| Xcode Path                  | /Applications/Xcode.app/Contents/Developer/ |\r\n| Xcode Version               | 9.0                                         |\r\n\r\n\r\n### System Locale\r\n\r\n| Variable | Value       |   |\r\n| -------- | ----------- | - |\r\n| LANG     | en_US.UTF-8 | ✅ |\r\n| LC_ALL   | en_US.UTF-8 | ✅ |\r\n| LANGUAGE | en_US.UTF-8 | ✅ |\r\n\r\n\r\n### fastlane files:\r\n\r\n<details><summary>`./fastlane/Fastfile`</summary>\r\n\r\n```ruby\r\n# Customise this file, documentation can be found here:\r\n# https://github.com/fastlane/fastlane/tree/master/fastlane/docs\r\n# All available actions: https://docs.fastlane.tools/actions\r\n# can also be listed using the `fastlane actions` command\r\n\r\n# Change the syntax highlighting to Ruby\r\n# All lines starting with a # are ignored when running `fastlane`\r\n\r\n# If you want to automatically update fastlane if a new version is available:\r\n# update_fastlane\r\n\r\n# This is the minimum version number required.\r\n# Update this, if you use features of a newer version\r\nfastlane_version \"2.58.0\"\r\n\r\ndefault_platform :ios\r\n\r\nplatform :ios do\r\n  before_all do\r\n    cocoapods\r\n  end\r\n\r\n  desc \"Submit a new Beta Build to Apple TestFlight\"\r\n  desc \"This will also make sure the profile is up to date\"\r\n  lane :beta do\r\n    build_no = get_version_number + '.' + Time.new.strftime(\"%m%d%H%M\")\r\n    increment_build_number(build_number: build_no)\r\n    match(type: \"development\")\r\n    gym(scheme: \"Mic\",\r\n        workspace: \"Mic.xcworkspace\",\r\n        configuration: \"Debug\",\r\n        export_method:\"development\",\r\n        clean:true,\r\n        output_directory: \"./build/\",\r\n        output_name: \"sdjj\"+build_no) # Build your app - more options available\r\n  end\r\n\r\n  desc \"Deploy a new version to the App Store\"\r\n  lane :release do\r\n    build_no = get_version_number + '.' + Time.new.strftime(\"%m%d%H%M\")\r\n    increment_build_number(build_number: build_no)\r\n    match(type: \"appstore\")\r\n    gym(scheme: \"Mic\",\r\n        workspace: \"Mic.xcworkspace\",\r\n        output_directory: \"./build/\",\r\n        export_method: \"app-store\",\r\n        clean: true,\r\n        configuration: \"Release\",\r\n        output_name: \"sdjj\") # Build your app - more options available\r\n    deliver\r\n  end\r\n\r\n  # You can define as many lanes as you want\r\n\r\n  after_all do |lane|\r\n   \r\n  end\r\n\r\n  error do |lane, exception|\r\n  \r\n  end\r\nend\r\n\r\n\r\n# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md\r\n# All available actions: https://docs.fastlane.tools/actions\r\n\r\n# fastlane reports which actions are used. No personal data is recorded. \r\n# Learn more at https://github.com/fastlane/fastlane#metrics\r\n\r\n```\r\n</details>\r\n\r\n<details><summary>`./fastlane/Appfile`</summary>\r\n\r\n```ruby\r\napp_identifier \"com.hs.shanjiang\" # The bundle identifier of your app\r\napple_id \"shandianjiangjiang@gmail.com\" # Your Apple email address\r\n\r\nteam_id \"SR2G7434T7\" # Developer Portal Team ID\r\n\r\n# you can even provide different app identifiers, Apple IDs and team names per lane:\r\n# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md\r\n\r\n```\r\n</details>\r\n\r\n### fastlane gems\r\n\r\n| Gem      | Version | Update-Status  |\r\n| -------- | ------- | -------------- |\r\n| fastlane | 2.58.0  | 💥 Check failed |\r\n\r\n\r\n### Loaded fastlane plugins:\r\n\r\n| Plugin                | Version | Update-Status |\r\n| --------------------- | ------- | ------------- |\r\n| fastlane-plugin-firim | 0.1.0   | ✅ Up-To-Date  |\r\n\r\n\r\n<details><summary><b>Loaded gems</b></summary>\r\n\r\n| Gem                       | Version      |\r\n| ------------------------- | ------------ |\r\n| CFPropertyList            | 2.3.5        |\r\n| activesupport             | 4.2.8        |\r\n| addressable               | 2.5.1        |\r\n| babosa                    | 1.0.2        |\r\n| bigdecimal                | 1.2.6        |\r\n| bundler                   | 1.14.6       |\r\n| claide                    | 1.0.2        |\r\n| cocoapods                 | 1.2.1        |\r\n| cocoapods-core            | 1.2.1        |\r\n| cocoapods-deintegrate     | 1.0.1        |\r\n| cocoapods-downloader      | 1.1.3        |\r\n| cocoapods-plugins         | 1.0.0        |\r\n| cocoapods-search          | 1.0.0        |\r\n| cocoapods-stats           | 1.0.0        |\r\n| cocoapods-trunk           | 1.2.0        |\r\n| cocoapods-try             | 1.1.0        |\r\n| coderay                   | 1.1.1        |\r\n| colored                   | 1.2          |\r\n| colored2                  | 3.1.2        |\r\n| commander-fastlane        | 4.4.5        |\r\n| declarative               | 0.0.9        |\r\n| declarative-option        | 0.1.0        |\r\n| domain_name               | 0.5.20170404 |\r\n| dotenv                    | 2.2.1        |\r\n| escape                    | 0.0.4        |\r\n| excon                     | 0.56.0       |\r\n| faraday                   | 0.12.1       |\r\n| faraday-cookie_jar        | 0.0.6        |\r\n| faraday_middleware        | 0.11.0.1     |\r\n| fastimage                 | 2.1.0        |\r\n| fastlane-plugin-firim     | 0.1.0        |\r\n| firim                     | 0.1.4        |\r\n| fourflusher               | 2.0.1        |\r\n| fuzzy_match               | 2.0.4        |\r\n| gh_inspector              | 1.0.3        |\r\n| google-api-client         | 0.13.4       |\r\n| googleauth                | 0.5.1        |\r\n| highline                  | 1.7.8        |\r\n| http-cookie               | 1.0.3        |\r\n| httpclient                | 2.8.3        |\r\n| hurley                    | 0.2          |\r\n| i18n                      | 0.8.1        |\r\n| io-console                | 0.4.3        |\r\n| json                      | 1.8.1        |\r\n| jwt                       | 1.5.6        |\r\n| libxml-ruby               | 3.0.0        |\r\n| little-plugger            | 1.1.4        |\r\n| logging                   | 2.2.2        |\r\n| memoist                   | 0.15.0       |\r\n| method_source             | 0.8.2        |\r\n| mime-types                | 3.1          |\r\n| mime-types-data           | 3.2016.0521  |\r\n| mini_magick               | 4.5.1        |\r\n| minitest                  | 5.4.3        |\r\n| molinillo                 | 0.5.7        |\r\n| multi_json                | 1.12.1       |\r\n| multi_xml                 | 0.6.0        |\r\n| multipart-post            | 2.0.0        |\r\n| nanaimo                   | 0.2.3        |\r\n| nap                       | 1.1.0        |\r\n| netrc                     | 0.7.8        |\r\n| nokogiri                  | 1.5.6        |\r\n| os                        | 0.9.6        |\r\n| plist                     | 3.3.0        |\r\n| power_assert              | 0.2.2        |\r\n| psych                     | 2.0.8        |\r\n| public_suffix             | 2.0.5        |\r\n| rake                      | 10.4.2       |\r\n| rdoc                      | 4.2.0        |\r\n| representable             | 3.0.4        |\r\n| retriable                 | 2.1.0        |\r\n| rouge                     | 2.0.7        |\r\n| rouge                     | 1.11.1       |\r\n| ruby-macho                | 1.1.0        |\r\n| rubygems-update           | 2.5.2        |\r\n| rubyzip                   | 1.2.1        |\r\n| security                  | 0.1.3        |\r\n| signet                    | 0.7.3        |\r\n| slack-notifier            | 1.5.1        |\r\n| slop                      | 3.6.0        |\r\n| sqlite3                   | 1.3.13       |\r\n| terminal-notifier         | 1.8.0        |\r\n| terminal-table            | 1.7.3        |\r\n| test-unit                 | 3.0.8        |\r\n| thread_safe               | 0.3.6        |\r\n| tty-screen                | 0.5.0        |\r\n| tzinfo                    | 1.2.3        |\r\n| uber                      | 0.0.15       |\r\n| unf                       | 0.1.4        |\r\n| unf_ext                   | 0.0.7.4      |\r\n| unicode-display_width     | 1.2.1        |\r\n| unicode-display_width     | 1.1.3        |\r\n| word_wrap                 | 1.0.0        |\r\n| xcodeproj                 | 1.5.1        |\r\n| xcpretty                  | 0.2.6        |\r\n| xcpretty-travis-formatter | 0.0.4        |\r\n</details>\r\n\r\n\r\n*generated on:* **2017-09-25**\r\n</details>\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/331810006","html_url":"https://github.com/fastlane/fastlane/issues/10404#issuecomment-331810006","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/10404","id":331810006,"user":{"login":"fastlane-bot","id":17056452,"avatar_url":"https://avatars0.githubusercontent.com/u/17056452?v=4","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":"2017-09-25T08:20:04Z","updated_at":"2017-09-25T08:20:04Z","author_association":"NONE","body":"It seems like this issue might be related to code signing :no_entry_sign:\n\nHave you seen our new [Code Signing Troubleshooting Guide](https://docs.fastlane.tools/codesigning/getting-started/)? It will help you resolve the most common code signing issues :+1:"}}
{"actor":{"display_login":"fastlane-bot"}}