fastlane: Shell command exited with exit status 1 instead of 0. with crashlytics
New Issue Checklist
- [V] Updated fastlane to the latest version
- [] I have read the Contribution Guidelines
Issue Description
14:33:34]: ------------------------- 14:33:34: — Step: crashlytics —
14:33:34: Uploading the build to Crashlytics Beta. Time for some ☕️. [14:33:43]: Variable Dump: [14:33:43]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>“ios crashlytics_beta”, :IPA_OUTPUT_PATH=>“/Projects/XXX/xxx_ios_appstore-arc/CrashlyticsBetaBuilds/XXX-debug.ipa”, :DSYM_OUTPUT_PATH=>“/Projects/XXX/xxx_ios_appstore-arc/CrashlyticsBetaBuilds/XXX-debug.app.dSYM.zip”, :XCODEBUILD_ARCHIVE=>“/Users/xxx/Library/Developer/Xcode/Archives/2016-04-25/XXX-debug 2016-04-25 14.31.37.xcarchive”} [14:33:43]: Shell command exited with exit status 1 instead of 0.
Complete output when running fastlane, including the stack trace and command used
[14:33:43]: fastlane finished with errors
Successfully submitted a crash report. If this is a problem with one of the tools specifically,
please submit an issue on GitHub and attach the following number to it: '291eb2b006c8624dbdda101b69568fd4'
The crash report has been stored locally '/tmp/sentry_291eb2b006c8624dbdda101b69568fd4.json'
/Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.41.3/lib/fastlane_core/ui/interface.rb:127:in `crash!': [!] Shell command exited with exit status 1 instead of 0. (FastlaneCore::Interface::FastlaneCrash)
from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.41.3/lib/fastlane_core/ui/ui.rb:14:in `method_missing'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/lib/fastlane/helper/sh_helper.rb:44:in `sh_no_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/lib/fastlane/helper/sh_helper.rb:9:in `sh'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/lib/fastlane/actions/crashlytics.rb:32:in `run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/lib/fastlane/runner.rb:143:in `block (2 levels) in execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/lib/fastlane/runner.rb:129:in `block in execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/lib/fastlane/runner.rb:128:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/lib/fastlane/runner.rb:128:in `execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/lib/fastlane/fast_file.rb:149:in `method_missing'
from Fastfile:65:in `block (2 levels) in parsing_binding'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/lib/fastlane/lane.rb:36:in `call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/lib/fastlane/lane.rb:36:in `call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/lib/fastlane/runner.rb:52:in `block in execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/lib/fastlane/runner.rb:46:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/lib/fastlane/runner.rb:46:in `execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/lib/fastlane/command_line_handler.rb:30:in `handle'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/bin/fastlane:38:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.41.3/lib/fastlane_core/ui/fastlane_runner.rb:23:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/bin/fastlane:168:in `run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.81.0/bin/fastlane:174:in `<top (required)>'
from /usr/local/bin/fastlane:23:in `load'
from /usr/local/bin/fastlane:23:in `<main>'
Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
desc "Submit a new Crashlytics Beta and send a notification to Slack."
lane :crashlytics_beta do
#increment_version_number
gym(
use_legacy_build_api: true,
workspace: "XXX.xcworkspace",
configuration: "Release",
scheme: "XXX",
silent: true,
clean: true,
output_directory: "CrashlyticsBetaBuilds", # Destination directory. Defaults to current directory.
output_name: "XXX-debug.ipa", # specify the name of the .ipa file to generate (including file extension)
include_bitcode: false,
)
crashlytics(
crashlytics_path: 'Crashlytics.framework', # path to your 'Crashlytics.framework'
api_token: '',
build_secret: '',
ipa_path: 'CrashlyticsBetaBuilds/XXX-debug.ipa',
notes: 'Latest Beta build',
groups: ["XXX_testers"]
)
slack(
message: "Beta App successfully released!"
)
end
Environment
fastlane version (run fastlane -v):
1.81.0
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)?
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (2 by maintainers)
Thanks @asfalcone - looks like it was a problem with the Crashlytics backend service. I’ve re-run the build (without changing anything) and it’s working for me now.