fastlane: Unable to upload symbols (macOS High Sierra)
New Issue Checklist
- Updated fastlane to the latest version
- I have read the Contribution Guidelines
Issue Description
I am running Fastlane v2.48 under macOS High Sierra. When attempting to submit my dSYMs to Crashlytics via upload_symbols_to_crashlytics
it fails:
❯ fastlane beta --capture_output
[00:16:45]: For more information, check out https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
DEBUG [2017-07-25 00:16:48.27]: Checking if there are any plugins that should be loaded...
INFO [2017-07-25 00:16:48.40]: -------------------------------------------------
INFO [2017-07-25 00:16:48.40]: --- Step: Verifying required fastlane version ---
INFO [2017-07-25 00:16:48.40]: -------------------------------------------------
INFO [2017-07-25 00:16:48.40]: Your fastlane version 2.48.0 matches the minimum requirement of 2.48 ✅
INFO [2017-07-25 00:16:48.41]: ------------------------------
INFO [2017-07-25 00:16:48.41]: --- Step: default_platform ---
INFO [2017-07-25 00:16:48.41]: ------------------------------
INFO [2017-07-25 00:16:48.41]: Driving the lane 'ios beta' 🚀
INFO [2017-07-25 00:16:48.41]: -------------------------------------------
INFO [2017-07-25 00:16:48.41]: --- Step: upload_symbols_to_crashlytics ---
INFO [2017-07-25 00:16:48.41]: -------------------------------------------
INFO [2017-07-25 00:16:48.57]: Extracting '/Users/chris/Development/TheApp/TheApp/TheApp .app.dSYM.zip'...
INFO [2017-07-25 00:16:48.57]: $ unzip -qo /Users/chris/Development/TheApp/TheApp/TheApp .app.dSYM.zip
INFO [2017-07-25 00:16:49.37]: Uploading 'RealmSwift.framework.dSYM'...
ERROR [2017-07-25 00:16:49.42]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:49.42]: Uploading '34DB257B-AC09-337D-8211-B3AD89434965.dSYM'...
INFO [2017-07-25 00:16:49.44]: Uploading 'TheApp App.app.dSYM'...
ERROR [2017-07-25 00:16:49.47]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:49.47]: Uploading 'A9390D36-9311-3B62-ADE3-CE5114A4E81B.dSYM'...
INFO [2017-07-25 00:16:49.49]: Uploading 'Realm.framework.dSYM'...
ERROR [2017-07-25 00:16:49.52]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:49.52]: Uploading 'RxRealm.framework.dSYM'...
ERROR [2017-07-25 00:16:49.55]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:49.55]: Uploading 'BCF641D7-95C1-39E1-A365-9B42228DD9E6.dSYM'...
ERROR [2017-07-25 00:16:49.57]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:49.57]: Uploading '2B21C48D-EDA1-32FC-B9E4-B72656D1CF37.dSYM'...
INFO [2017-07-25 00:16:49.59]: Uploading 'C34DEC2C-8460-389D-986C-A12BE222F1A8.dSYM'...
ERROR [2017-07-25 00:16:49.62]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:49.62]: Uploading 'F5181BD7-0514-3AC4-8686-C001063C6916.dSYM'...
INFO [2017-07-25 00:16:49.64]: Uploading '92CE0534-D3D2-3583-8C1B-791135BF7E30.dSYM'...
INFO [2017-07-25 00:16:49.66]: Uploading '02008136-312A-324B-8C51-761246106355.dSYM'...
INFO [2017-07-25 00:16:49.68]: Uploading '7D2E62B7-41C3-37C5-AF59-A5C3883CC591.dSYM'...
ERROR [2017-07-25 00:16:49.71]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:49.71]: Uploading 'E013AC6D-E8BB-38C0-A1E6-E17BF5213D96.dSYM'...
ERROR [2017-07-25 00:16:49.73]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:49.73]: Uploading 'RxCocoa.framework.dSYM'...
ERROR [2017-07-25 00:16:49.76]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:49.76]: Uploading 'AC2370A2-4DF8-33C3-A895-E337874866CF.dSYM'...
INFO [2017-07-25 00:16:49.78]: Uploading 'Result.framework.dSYM'...
ERROR [2017-07-25 00:16:49.81]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:49.81]: Uploading 'RxSwift.framework.dSYM'...
ERROR [2017-07-25 00:16:49.84]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:49.84]: Uploading '7709165A-CC16-3C9E-B346-793510D5230A.dSYM'...
ERROR [2017-07-25 00:16:49.86]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:49.86]: Uploading '77C4C26D-11AB-3C22-9DB4-B9D03E949C42.dSYM'...
INFO [2017-07-25 00:16:49.88]: Uploading '3F25E349-8B21-3DB2-8A90-8E863EEB0667.dSYM'...
INFO [2017-07-25 00:16:49.90]: Uploading 'BE89E2F8-3546-34C8-9773-2FA22C47A7B8.dSYM'...
INFO [2017-07-25 00:16:49.92]: Uploading '0C8F8B1B-BFE5-30A2-A0EA-2ED0A0218418.dSYM'...
ERROR [2017-07-25 00:16:49.95]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:49.95]: Uploading 'RxAlamofire.framework.dSYM'...
ERROR [2017-07-25 00:16:49.98]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:49.98]: Uploading '606EC5F9-0045-3D87-8D2C-EC16E8F2A3F3.dSYM'...
ERROR [2017-07-25 00:16:50.00]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:50.00]: Uploading '63645414-13D9-36AE-B3E8-FD97F00455BA.dSYM'...
ERROR [2017-07-25 00:16:50.03]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:50.03]: Uploading 'Alamofire.framework.dSYM'...
ERROR [2017-07-25 00:16:50.06]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:50.06]: Uploading '1D54EDA7-BFAC-3DE9-AE8D-57AAB3A410B9.dSYM'...
INFO [2017-07-25 00:16:50.08]: Uploading '69195E75-4280-326F-9B03-91DE00C344CE.dSYM'...
ERROR [2017-07-25 00:16:50.11]: Shell command exited with exit status 8 instead of 0.
INFO [2017-07-25 00:16:50.17]: Successfully uploaded dSYM files to Crashlytics 💯
INFO [2017-07-25 00:16:50.17]: Successfully generated documentation at path '/Users/chris/Development/TheApp/TheApp/fastlane/README.md'
INFO [2017-07-25 00:16:50.18]: fastlane.tools finished successfully 🎉
WARN [2017-07-25 00:16:50.20]: Generating fastlane environment output, this might take a few seconds...
DEBUG [2017-07-25 00:16:50.61]: Checking if there are any plugins that should be loaded...
When running upload-symbols
directly I am getting the following error message:
❯ ./Pods/Fabric/upload-symbols -a xxxx -p ios /Users/chris/Development/TheApp/TheApp/The App.app.dSYM.zip
error: could not complete submission of dSYM at /var/folders/by/3r67nxd94rl9ynq051t7f9t40000gp/T///Users/chris/Development/TheApp/TheApp/The App.app.dSYM.zip.unzipped/RealmSwift.framework.dSYM: Error Domain=com.crashlytics.mac.error-domain.process-dsym Code=4 "This version of OSX is not able to perform the necessary dSYM transformations." UserInfo={NSLocalizedFailureReason=This version of OSX is not able to perform the necessary dSYM transformations.}
Any help would be appreciated.
Captured Output
Command Used: beta
Output/Log
+------+------------------------+-------------+
| fastlane summary |
+------+------------------------+-------------+
| Step | Action | Time (in s) |
+------+------------------------+-------------+
| 1 | Verifying required | 0 |
| | fastlane version | |
| 2 | default_platform | 0 |
| 3 | upload_symbols_to_cra | 1 |
| | shlytics | |
+------+------------------------+-------------+
✅ fastlane environment ✅
Stack
Key | Value |
---|---|
OS | 10.13 |
Ruby | 2.2.4 |
Bundler? | false |
Git | git version 2.13.3 |
Installation Source | /usr/local/lib/fastlane_lib/bundle/bin/fastlane |
Host | Mac OS X 10.13 (17A315i) |
Ruby Lib Dir | /usr/local/lib/fastlane_lib/bundle/lib |
OpenSSL Version | OpenSSL 1.0.2g 1 Mar 2016 |
Is contained | false |
Is homebrew | false |
Is installed via Fabric.app | true |
Xcode Path | /Applications/Xcode-beta.app/Contents/Developer/ |
Xcode Version | 9.0 |
System Locale
Variable | Value | |
---|---|---|
LANG | en_US.UTF-8 | ✅ |
LC_ALL | en_US.UTF-8 | ✅ |
LANGUAGE | en_US.UTF-8 | ✅ |
fastlane files:
`./fastlane/Fastfile`
fastlane_version "2.48"
default_platform :ios
platform :ios do
lane :beta do |values|
gym(scheme: 'The App', export_method: 'development')
upload_symbols_to_crashlytics
end
end
No Appfile found
fastlane gems
Gem | Version | Update-Status |
---|---|---|
fastlane | 2.48.0 | ✅ Up-To-Date |
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
Gem | Version |
---|---|
slack-notifier | 1.5.1 |
CFPropertyList | 2.3.5 |
claide | 1.0.2 |
colored2 | 3.1.2 |
nanaimo | 0.2.3 |
xcodeproj | 1.5.1 |
rouge | 2.0.7 |
xcpretty | 0.2.8 |
terminal-notifier | 1.8.0 |
unicode-display_width | 1.3.0 |
terminal-table | 1.8.0 |
plist | 3.3.0 |
public_suffix | 2.0.5 |
addressable | 2.5.1 |
multipart-post | 2.0.0 |
word_wrap | 1.0.0 |
tty-screen | 0.5.0 |
babosa | 1.0.2 |
colored | 1.2 |
highline | 1.7.8 |
commander-fastlane | 4.4.5 |
excon | 0.57.1 |
faraday | 0.12.2 |
unf_ext | 0.0.7.4 |
unf | 0.1.4 |
domain_name | 0.5.20170404 |
http-cookie | 1.0.3 |
faraday-cookie_jar | 0.0.6 |
fastimage | 2.1.0 |
gh_inspector | 1.0.3 |
uber | 0.1.0 |
declarative | 0.0.9 |
declarative-option | 0.1.0 |
representable | 3.0.4 |
retriable | 3.0.2 |
mime-types-data | 3.2016.0521 |
mime-types | 3.1 |
little-plugger | 1.1.4 |
multi_json | 1.12.1 |
logging | 2.2.2 |
jwt | 1.5.6 |
memoist | 0.16.0 |
os | 0.9.6 |
signet | 0.7.3 |
googleauth | 0.5.3 |
httpclient | 2.8.3 |
google-api-client | 0.12.0 |
json | 1.8.1 |
mini_magick | 4.5.1 |
multi_xml | 0.6.0 |
rubyzip | 1.2.1 |
security | 0.1.3 |
xcpretty-travis-formatter | 0.0.4 |
dotenv | 2.2.1 |
bundler | 1.15.3 |
faraday_middleware | 0.11.0.1 |
generated on: 2017-07-25
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 20 (2 by maintainers)
Yeah, exit status 3 indicates invalid API code, so I bet fastlane is providing just
" "
for anapi_token
One thing you could do in the mean time, you can add your
crashlytics api token
by passing it with theapi_token
param to theupload_symbols_to_crashlytics
actionAlso, instead of continuing in this issue, it would be great if you could open a new fastlane issue with this information, along with the info that the new issue template provides. I think we should be able to repro after that.