Error uploading dSYMs with fastlane
closed
Q
Qicheng Ma
[18:26:23]: Compressing Shake_dsym_files_fastlane...
[18:26:23]: $ zip -rq /Users/qma/dev/CameraApp/Swift/Shake_dsym_files_fastlane.zip Shake_dsym_files_fastlane
[18:26:24]: Successfully generated zip file at path '/Users/qma/dev/CameraApp/Swift/Shake_dsym_files_fastlane.zip'
[18:26:24]: $ curl https://api.shakebugs.com/api/1.0/crash_reporting/app_debug_file/camera.youpi.thoughtsapp --write-out %{http_code} --silent --output /dev/null -H "Authorization: Bearer [REDACTED]" -F os="iOS" -F platform="iOS" -F app_version_name="$(MARKETING_VERSION)" -F app_version_code="$(CURRENT_PROJECT_VERSION)" -F file=@"/Users/qma/dev/CameraApp/Swift/Shake_dsym_files_fastlane.zip"
[18:26:24]: ▸ sh: MARKETING_VERSION: command not found
[18:26:24]: ▸ sh: CURRENT_PROJECT_VERSION: command not found
[18:27:00]: ▸ 200
[18:27:00]: Something went wrong during Shake dSYM upload. Status cose is sh: MARKETING_VERSION: command not found
sh: CURRENT_PROJECT_VERSION: command not found
200
[18:27:00]: Error setting value './spec/fixtures/dSYM/Themoji2.dSYM' for option 'dsym_path'
[18:27:00]: You passed invalid parameters to 'upload_symbols_to_crashlytics'.
[18:27:00]: Check out the error below and available options by running
fastlane action upload_symbols_to_crashlytics
+-----------------------------------+------------------------------------------------------------------------------+
| Lane Context |
+-----------------------------------+------------------------------------------------------------------------------+
| LANE_NAME | dev |
| DSYM_PATHS | ["/Users/qma/dev/CameraApp/Swift/camera.youpi.thoughtsapp-1.3.6-1.dSYM.zip"] |
| DSYM_LATEST_UPLOADED_DATE | 2022-05-24T16:35:26-07:00 |
| GET_INFO_PLIST_VALUE_CUSTOM_VALUE | $(MARKETING_VERSION) |
+-----------------------------------+------------------------------------------------------------------------------+
[18:27:00]: Couldn't find file at path '/Users/qma/dev/CameraApp/Swift/spec/fixtures/dSYM/Themoji2.dSYM'
+------+-------------------------+-------------+
| fastlane summary |
+------+-------------------------+-------------+
| Step | Action | Time (in s) |
+------+-------------------------+-------------+
| 1 | download_dsyms | 10 |
| 2 | slack | 0 |
| 3 | upload_symbols_to_shake | 38 |
+------+-------------------------+-------------+
Log In
Tabita Zafar
closed
Tabita Zafar
Hi Qicheng Ma, our QA team as looked into your logs. Could you please share a screenshot of your
fastlane/Fastfile
? Also, are you using any Crashlytics plugin when uploading dSYM files? Thanks in advance.
Q
Qicheng Ma
Tabita Zafar: Hi Thanks for getting back. I use fastlane swift configuration, see attached relevant section. Yes I have a line of Crashlytics but it's after Shake's line.
Tabita Zafar
Qicheng Ma: Hi, we've looked into this, and tested uploading with fastlane, and everything is working fine from our side. Could you please try uploading the dSYM files manually, or using RunPhase Script and let us know if this works? We're under the assumption that Crashlytics and Shake SDK are clashing in this case.
Q
Qicheng Ma
Tabita Zafar: Thanks for investigating. I have removed Crashlytics steps, but it still has similar error. However, it looks like the step succeeded despite the error now.
Tabita Zafar
Qicheng Ma - Sorry about that and thanks for letting us know about that bug 🐛 — I'm forwarding this to the iOS and QA teams. You'll be automatically notified when the hiccup gets addressed.