{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/6310","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/6310/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/6310/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/6310/events","html_url":"https://github.com/fastlane/fastlane/issues/6310","id":179584440,"number":6310,"title":"Gym: xcode 8 error 14 and 70 on local machine, but works without errors on Travis with same config?","user":{"login":"akaralar","id":309655,"avatar_url":"https://avatars.githubusercontent.com/u/309655?v=3","gravatar_id":"","url":"https://api.github.com/users/akaralar","html_url":"https://github.com/akaralar","followers_url":"https://api.github.com/users/akaralar/followers","following_url":"https://api.github.com/users/akaralar/following{/other_user}","gists_url":"https://api.github.com/users/akaralar/gists{/gist_id}","starred_url":"https://api.github.com/users/akaralar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akaralar/subscriptions","organizations_url":"https://api.github.com/users/akaralar/orgs","repos_url":"https://api.github.com/users/akaralar/repos","events_url":"https://api.github.com/users/akaralar/events{/privacy}","received_events_url":"https://api.github.com/users/akaralar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-27T19:06:04Z","updated_at":"2016-09-27T19:15:31Z","closed_at":null,"body":"### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I have read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n\r\n### Issue Description\r\nI'm trying to build my application and I encounter errors only when I'm trying to release from my local machine with adhoc configuration. App store configurations work ok, and the adhoc configuration works ok on Travis as well. Using or not using `bundle exec` doesn't seem to make a difference.\r\n \r\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\ncommand used: `fastlane upload env:sandbox type:adhoc pr:\"31\"`\r\n\r\npart of the log that errored out:\r\n```\r\n[21:56:02]: ▸ Archive Succeeded\r\n[21:56:02]: $ /usr/bin/xcrun /Users/akaralar/.gem/ruby/2.3.1/gems/gym-1.10.0/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist '/var/folders/w5/ycn1t4bn42zgfm5nm8hzc7jm0000gn/T/gym_config20160927-38745-16u6ybi.plist' -archivePath /Users/akaralar/Library/Developer/Xcode/Archives/2016-09-27/KapGelSandbox\\ 2016-09-27\\ 21.54.25.xcarchive -exportPath '/var/folders/w5/ycn1t4bn42zgfm5nm8hzc7jm0000gn/T/gym_output20160927-38745-6kas9w'\r\n+ xcodebuild -exportArchive -exportOptionsPlist /var/folders/w5/ycn1t4bn42zgfm5nm8hzc7jm0000gn/T/gym_config20160927-38745-16u6ybi.plist -archivePath '/Users/akaralar/Library/Developer/Xcode/Archives/2016-09-27/KapGelSandbox 2016-09-27 21.54.25.xcarchive' -exportPath /var/folders/w5/ycn1t4bn42zgfm5nm8hzc7jm0000gn/T/gym_output20160927-38745-6kas9w\r\n2016-09-27 21:56:02.544 xcodebuild[43022:182592] [MT] DVTPlugInManager: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for KSImageNamed.ideplugin (com.ksuther.KSImageNamed) not present\r\n2016-09-27 21:56:02.663 xcodebuild[43022:182592] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XprobePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n2016-09-27 21:56:02.664 xcodebuild[43022:182592] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XcodeRefactoringPlus.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n2016-09-27 21:56:02.664 xcodebuild[43022:182592] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XcodeColors.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n2016-09-27 21:56:02.665 xcodebuild[43022:182592] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n2016-09-27 21:56:02.666 xcodebuild[43022:182592] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/VVDocumenter-Xcode.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n2016-09-27 21:56:02.666 xcodebuild[43022:182592] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SwiftLintXcode.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n2016-09-27 21:56:02.667 xcodebuild[43022:182592] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/StencilPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n2016-09-27 21:56:02.667 xcodebuild[43022:182592] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SCXcodeSwitchExpander.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n2016-09-27 21:56:02.668 xcodebuild[43022:182592] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Refactorator.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n2016-09-27 21:56:02.669 xcodebuild[43022:182592] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OMQuickHelp.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n2016-09-27 21:56:02.669 xcodebuild[43022:182592] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/KZLinkedConsole.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n2016-09-27 21:56:02.670 xcodebuild[43022:182592] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n2016-09-27 21:56:02.670 xcodebuild[43022:182592] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/GitDiff.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n2016-09-27 21:56:02.671 xcodebuild[43022:182592] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/ClangFormat.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n2016-09-27 21:56:02.672 xcodebuild[43022:182592] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Backlight.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n2016-09-27 21:56:02.672 xcodebuild[43022:182592] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs\r\n2016-09-27 21:56:02.837 xcodebuild[43022:182592] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/w5/ycn1t4bn42zgfm5nm8hzc7jm0000gn/T/KapGel Sandbox_2016-09-27_21-56-02.836.xcdistributionlogs'.\r\n2016-09-27 21:56:03.594 xcodebuild[43022:182592] [MT] IDEDistribution: Step failed: <IDEDistributionThinningStep: 0x7ff248c626f0>: Error Domain=IDEDistributionErrorDomain Code=14 \"No applicable devices found.\" UserInfo={NSLocalizedDescription=No applicable devices found.}\r\nerror: exportArchive: No applicable devices found.\r\n\r\nError Domain=IDEDistributionErrorDomain Code=14 \"No applicable devices found.\" UserInfo={NSLocalizedDescription=No applicable devices found.}\r\n\r\n** EXPORT FAILED **\r\n[21:56:03]: Exit status: 70\r\n[21:56:03]: 2016-09-27 18:56:02 +0000 [MT] Running step: IDEDistributionSigningAssetsStep with <IDEDistributionContext: 0x7ff248a33910; archive(resolved)='<IDEArchive: 0x7ff2466c7000>', distributionTask(resolved)='2', distributionMethod(resolved)='<IDEDistributionMethodAdHoc: 0x7ff248a3a9a0>', teamID(resolved)='(null)'>\r\n\tChain (2, self inclusive):\r\n\t<IDEDistributionContext: 0x7ff248a33910; archive = '(null)', distributionMethod='<IDEDistributionMethodAdHoc: 0x7ff248a3a9a0>', teamID='(null)'>\r\n\t<IDEDistributionContext: 0x7ff2466c7e80; archive = '<IDEArchive: 0x7ff2466c7000>', distributionMethod='(null)', teamID='(null)'>\r\n</IDEDistributionContext: 0x7ff248a33910>\r\n2016-09-27 18:56:03 +0000 [MT] Running step: IDEDistributionThinningStep with <IDEDistributionContext: 0x7ff248a43b40; archive(resolved)='<IDEArchive: 0x7ff2466c7000>', distributionTask(resolved)='2', distributionMethod(resolved)='<IDEDistributionMethodAdHoc: 0x7ff248a3a9a0>', teamID(resolved)='6874U4962H'>\r\n\tChain (3, self inclusive):\r\n\t<IDEDistributionContext: 0x7ff248a43b40; archive = '(null)', distributionMethod='(null)', teamID='6874U4962H'>\r\n\t<IDEDistributionContext: 0x7ff248a33910; archive = '(null)', distributionMethod='<IDEDistributionMethodAdHoc: 0x7ff248a3a9a0>', teamID='(null)'>\r\n\t<IDEDistributionContext: 0x7ff2466c7e80; archive = '<IDEArchive: 0x7ff2466c7000>', distributionMethod='(null)', teamID='(null)'>\r\n</IDEDistributionContext: 0x7ff248a43b40>\r\n2016-09-27 18:56:03 +0000 [MT] Running /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool '/var/folders/w5/ycn1t4bn42zgfm5nm8hzc7jm0000gn/T/IDEDistributionThinningStep.AlB' '--json' '/var/folders/w5/ycn1t4bn42zgfm5nm8hzc7jm0000gn/T/ipatool-json-filepath-MvDwMp' '--info' '--toolchain' '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr' '--platforms' '/Applications/Xcode.app/Contents/Developer/Platforms'\r\n2016-09-27 18:56:03 +0000  ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]\r\n2016-09-27 18:56:03 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:1432: warning: assigned but unused variable - minVersion\r\n/Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:1432: warning: assigned but unused variable - sdkVersion\r\n/Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:1441: warning: assigned but unused variable - sourceVersion\r\n2016-09-27 18:56:03 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:1529: warning: shadowing outer local variable - node\r\n2016-09-27 18:56:03 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2250: warning: shadowing outer local variable - machoFile\r\n/Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2250: warning: shadowing outer local variable - machoImage\r\n2016-09-27 18:56:03 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2431: warning: assigned but unused variable - flag\r\n/Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2431: warning: assigned but unused variable - transformer\r\n2016-09-27 18:56:03 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2648: warning: assigned but unused variable - exc\r\n2016-09-27 18:56:03 +0000  /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:708: warning: assigned but unused variable - output\r\n2016-09-27 18:56:03 +0000  /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- cfpropertylist (LoadError)\r\n\tfrom /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'\r\n\tfrom /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:15:in `<main>'\r\n2016-09-27 18:56:03 +0000 [MT] /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool exited with 1\r\n2016-09-27 18:56:03 +0000 [MT] ipatool JSON: (null)\r\n\r\n[21:56:03]: There was an error exporting your application\r\n[21:56:03]: Unfortunately the new Xcode export API is unstable and causes problems on some projects\r\n[21:56:03]: You can temporary use the :use_legacy_build_api option to get the build to work again\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\nFastfile:\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://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md\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\nrequire 'active_support/time'\r\n\r\nfastlane_version \"1.103.0\"\r\ndefault_platform :ios\r\n\r\nplatform :ios do\r\n\r\n  before_all do\r\n    ensure_git_status_clean\r\n    clear_derived_data   \r\n    FileUtils::mkdir_p '../build'\r\n    sh \"git log --pretty=format:'+ %s' -n 14 | grep -v 'Merge\\\\|release\\\\|Update circle\\\\|Update build' > ../build/change.log\"\r\n    ENV['KEYCHAIN_NAME'] = Helper.is_ci? ? \"kapgel.keychain\" : \"login.keychain\"\r\n  end\r\n\r\n  after_all do |lane|\r\n    clean_build_artifacts\r\n    sh \"cd .. && ./scripts/reset_appicons.sh\"\r\n    notification(\r\n      title: \"Success\", \r\n      subtitle: \"Fastlane\",\r\n      message: \"Fastlane completed executing lane: '#{lane}'\"\r\n    ) unless Helper.is_ci?\r\n\r\n    build_number = ENV[\"BUILD_NUMBER\"]\r\n    if build_number\r\n      #slack(message: \"<APP_SCHEME> iOS: build \" + build_number + \" is ready.\")\r\n    end\r\n  end\r\n\r\n  error do |lane, exception|\r\n    clean_build_artifacts\r\n    sh \"cd .. && ./scripts/reset_appicons.sh\"\r\n    notification(\r\n      title: \"Error\", \r\n      subtitle: \"Fastlane\",\r\n      message: \"Fastlane encountered an error while executing lane: '#{lane}'\"\r\n    ) unless Helper.is_ci?\r\n  end\r\n\r\n  desc \"Install all certificates and provisioning profiles\"\r\n  lane :install_all_certificates do\r\n    types = [\"development\", \"adhoc\", \"appstore\"]\r\n    envs = [\"sandbox\", \"production\"]\r\n\r\n    for type in types \r\n      shouldForce = type != \"appstore\"\r\n      for env in envs\r\n        certificates(\r\n          type: type, \r\n          force: shouldForce, \r\n          env: env\r\n        )\r\n      end\r\n    end\r\n  end\r\n\r\n  desc \"Install certificates and profiles for specified environment and type\"\r\n  lane :certificates do |options|\r\n    env = if options.key?(:env)\r\n      options[:env]\r\n    else\r\n      prompt_for_environment\r\n    end\r\n\r\n    type = if options.key?(:type)\r\n      options[:type]\r\n    else\r\n      prompt_for_type(context: \"certificate\")\r\n    end\r\n\r\n    id_prefix = \"com.kapgel.KapGel\"\r\n    id_suffixes = env == \"sandbox\" ? [ \"Sandbox\" ] : [ \"\", \".watchkitapp\", \".watchkitapp.watchkitextension\" ] \r\n\r\n    for suffix in id_suffixes\r\n      match(\r\n        type: type, \r\n        app_identifier: id_prefix + suffix,\r\n        force_for_new_devices: options[:force],\r\n        keychain_name: ENV[\"KEYCHAIN_NAME\"]\r\n      )\r\n    end\r\n  end\r\n\r\n  desc \"Upload a build to either Testflight or Fabric\"\r\n  lane :upload do |options|\r\n    # Bump\r\n    version_bump_project options\r\n    # Prompt for env and type if necessary and release\r\n    prompt_and_release options\r\n  end\r\n\r\n  #################\r\n  # PRIVATE LANES #\r\n  #################\r\n\r\n  private_lane :version_bump_project do |options|\r\n    # Set build number to current date and time\r\n    build_number = Time.now.in_time_zone(\"Europe/Istanbul\").strftime(\"%Y%m%d%H%M\")\r\n    if options[:pr]\r\n      build_number = build_number + \".\" + options[:pr] \r\n    end\r\n\r\n    ENV[\"BUILD_NUMBER\"] = build_number\r\n    increment_build_number build_number: build_number\r\n  end\r\n\r\n  private_lane :prompt_and_release do |options|\r\n    type = if options.key?(:type)\r\n      options[:type]\r\n    else\r\n      prompt_for_type(context: \"build\")\r\n    end\r\n\r\n    env = if options.key?(:env)\r\n      options[:env]\r\n    else\r\n      prompt_for_environment\r\n    end\r\n        \r\n    release(\r\n      type: type, \r\n      env: env,\r\n      pr: options[:pr]\r\n     )\r\n  end\r\n\r\n  private_lane :prompt_for_type do |options|\r\n    context = options[:context]\r\n\r\n    types = if context == \"certificate\"\r\n      [ \"development\", \"adhoc\", \"appstore\" ]\r\n    elsif context == \"build\"\r\n      [ \"adhoc\", \"appstore\" ]\r\n    else\r\n      []\r\n    end\r\n\r\n    type = prompt(text: \"Which release type?  arg: 'type', possible values: \" + types.inspect)\r\n    unless types.include? type\r\n      UI.user_error!(\"Please specify a valid release type! \" + types.inspect)\r\n    end\r\n    type\r\n  end\r\n\r\n  private_lane :prompt_for_environment do \r\n    envs = [ \"sandbox\", \"production\" ]\r\n    env = prompt(text: \"Which environment? arg: 'env', possible values: \" + envs.inspect)\r\n    unless envs.include? env \r\n      UI.user_error!(\"Please specify a valid environment! \" + envs.inspect)\r\n    end\r\n    env\r\n  end\r\n\r\n  private_lane :release do |options|\r\n    type = options[:type]\r\n    env = options[:env]\r\n    destination = options[:type] == \"adhoc\" ? \"fabric\" : \"testflight\"\r\n\r\n    create_keychain_if_necessary\r\n    build_and_submit(\r\n      type: type, \r\n      env: env, \r\n      destination: destination,\r\n      pr: options[:pr]\r\n    )\r\n    delete_keychain_if_necessary\r\n  end\r\n\r\n  private_lane :create_keychain_if_necessary do\r\n    if Helper.is_ci? \r\n      create_keychain(\r\n        name: ENV[\"KEYCHAIN_NAME\"],\r\n        default_keychain: true,\r\n        unlock: true,\r\n        timeout: 3600,\r\n        lock_when_sleeps: true,\r\n        password: SecureRandom.base64\r\n      )\r\n    end\r\n  end\r\n\r\n  private_lane :delete_keychain_if_necessary do\r\n    if Helper.is_ci? \r\n      delete_keychain(name: ENV[\"KEYCHAIN_NAME\"])\r\n    end   \r\n  end\r\n\r\n  private_lane :build_and_submit do |options|\r\n    build(\r\n      type: options[:type],\r\n      env: options[:env],\r\n      pr: options[:pr]\r\n    )   \r\n    submit(destination: options[:destination])\r\n  end\r\n\r\n  private_lane :build do |options|\r\n    # Certificates & Profiles\r\n    types = [\"development\", options[:type]]\r\n    for type in types\r\n      should_force = type != \"appstore\"\r\n      certificates(\r\n        type:type, \r\n        force: should_force, \r\n        env: options[:env]\r\n      ) \r\n    end\r\n\r\n    is_sandbox = options[:env] == \"sandbox\"\r\n\r\n    if is_sandbox\r\n      # Badge app icon for sandbox builds\r\n      badge(dark:true)\r\n\r\n      # Update display name for sandbox builds\r\n      update_info_plist(\r\n        plist_path: \"KapGel/Plists/Sandbox-Info.plist\",\r\n        display_name: options[:pr] ? \"α-\" + options[:pr] : \"KapGel-β\"\r\n      )\r\n    end\r\n\r\n    # Build\r\n    scheme =  is_sandbox ? \"KapGel Sandbox\" : \"KapGel\"\r\n    configuration = if options[:type] == \"development\"\r\n      \"Debug\"\r\n    elsif options[:type] == \"adhoc\"\r\n      \"Adhoc\"\r\n    elsif options[:type] == \"appstore\"\r\n      \"Release\"\r\n    end\r\n    puts \"using configuration: \" + configuration\r\n\r\n    gym(\r\n      scheme: scheme, \r\n      configuration: configuration,   \r\n      suppress_xcode_output: false,\r\n      clean: true, \r\n      include_symbols: true, \r\n      output_directory: \"./build/\",\r\n      buildlog_path:\"./build/logs/\"\r\n      # use_legacy_build_api: true\r\n    )\r\n  end\r\n\r\n  private_lane :submit do |options|\r\n    if options[:destination] == \"testflight\"\r\n      pilot(\r\n        skip_submission: true\r\n      )\r\n    elsif options[:destination] == \"fabric\"\r\n      crashlytics(\r\n        api_token: 'redacted',\r\n        build_secret: 'redacted',\r\n        notes: \"Build at \" + ENV[\"BUILD_NUMBER\"],\r\n        notes_path: 'build/change.log',\r\n        groups: \"all\",\r\n        notifications: true\r\n      )\r\n    end\r\n  end\r\nend\r\n```\r\n\r\n### Environment\r\n\r\nfastlane version (run `fastlane -v`):\r\nfastlane 1.104.0\r\nDo you use bundler to execute fastlane (i.e. `bundle exec fastlane`)?\r\nyes and no, doesn't make a difference\r\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)?\r\n`chruby`"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/249968304","html_url":"https://github.com/fastlane/fastlane/issues/6310#issuecomment-249968304","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/6310","id":249968304,"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-27T19:15:31Z","updated_at":"2016-09-27T19:15:31Z","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/GettingStarted/)? It will help you resolve the most common code signing issues :+1:"}}
{"actor":{"display_login":"fastlane-bot"}}