firebase-ios-sdk: upload-symbols script stalls indefinitely

Description

We have been receiving emails where Crashlytics detects a missing Dsym telegram-cloud-photo-size-2-5339062455860578432-y

Some investigation lead to the Crashlytics/run and upload-symbols scripts Specifically the upload-symbols appears to stall for some reason. We tried to obtain some logs by passing the --debug flag, however nothing relevant came by because the Crashlytics/run script works correctly and the upload-symbols script is silenced even with the --debug parameter We also tried to run the upload-symbols script synchronously and get some output out of it. It appears to be working correctly (I mean no signs of malfunction in the output), however it may stall and block th whole building stage (since we tried to run it synchronously) Additionally I managed to notice that the upload-symbols script can pile up in the process list confirming that it stalls in the background image

Reproducing the issue

We noticed that this issue appears from time to time.

Most of the time it appears after changing the git branch or cleaning the project, howewer we are not entirely sure how to reproduce it. It appears on every of three macbooks our team has. Personally I am now using Xcode Version 14.3 (14E222b) and Firbase 10.8.1 via SPM

Firebase SDK Version

10.8.1

Xcode Version

14.3

Installation Method

Swift Package Manager

Firebase Product(s)

Crashlytics

Targeted Platforms

iOS

Relevant Log Output

Showing Recent Messages
upload-symbols 3.14 build 33

Running upload-symbols in Build Phase mode

Validating build environment for Crashlytics...



Arguments:

Debug mode enabled

Google App ID: 1:46191884389:ios:e9474eda94335a797f2e8c

Platform: ios

DSYM Paths: ["/Users/matveykavtorov/Library/Developer/Xcode/DerivedData/HSEAppX-fshwmsuctpgxjnevrkvlbqyvvpuu/Build/Products/Debug-iphonesimulator/HSE App X.app.dSYM"]



Validation succeeded. Symbol uploading will proceed in the background.

If using Swift Package Manager, the project’s Package.resolved

Expand Package.resolved snippet

{
  "object": {
    "pins": [
      {
        "package": "abseil",
        "repositoryURL": "https://github.com/google/abseil-cpp-binary.git",
        "state": {
          "branch": null,
          "revision": "a5f16ba68913840ee5df91b8dc06f5cc063579de",
          "version": "1.2021110200.0"
        }
      },
      {
        "package": "Alamofire",
        "repositoryURL": "https://github.com/Alamofire/Alamofire.git",
        "state": {
          "branch": null,
          "revision": "78424be314842833c04bc3bef5b72e85fff99204",
          "version": "5.6.4"
        }
      },
      {
        "package": "CodableWrappers",
        "repositoryURL": "https://github.com/GottaGetSwifty/CodableWrappers.git",
        "state": {
          "branch": null,
          "revision": "4eb46a4c656333e8514db8aad204445741de7d40",
          "version": "2.0.7"
        }
      },
      {
        "package": "Firebase",
        "repositoryURL": "https://github.com/firebase/firebase-ios-sdk.git",
        "state": {
          "branch": null,
          "revision": "ee016a6774edca5ffc50c39855783d1add6ca0fc",
          "version": "10.8.1"
        }
      },
      {
        "package": "GoogleAppMeasurement",
        "repositoryURL": "https://github.com/google/GoogleAppMeasurement.git",
        "state": {
          "branch": null,
          "revision": "274428b83e063cd518b998555be0ec18abcbe9de",
          "version": "10.8.0"
        }
      },
      {
        "package": "GoogleDataTransport",
        "repositoryURL": "https://github.com/google/GoogleDataTransport.git",
        "state": {
          "branch": null,
          "revision": "cc7265b8e3906304e6e81f32c1662a94bbae2357",
          "version": "9.2.2"
        }
      },
      {
        "package": "GoogleUtilities",
        "repositoryURL": "https://github.com/google/GoogleUtilities.git",
        "state": {
          "branch": null,
          "revision": "871d43135925cde39ef7421d8723ce47edfdcc39",
          "version": "7.11.1"
        }
      },
      {
        "package": "gRPC",
        "repositoryURL": "https://github.com/google/grpc-binary.git",
        "state": {
          "branch": null,
          "revision": "df37f6af8a273bc687e3166843ed86007de57d78",
          "version": "1.44.0"
        }
      },
      {
        "package": "GTMSessionFetcher",
        "repositoryURL": "https://github.com/google/gtm-session-fetcher.git",
        "state": {
          "branch": null,
          "revision": "96d7cc73a71ce950723aa3c50ce4fb275ae180b8",
          "version": "3.1.0"
        }
      },
      {
        "package": "HSEDatePicker",
        "repositoryURL": "https://github.com/hseapp/HSEDatePicker",
        "state": {
          "branch": null,
          "revision": "52cbf626db13943e79c8d9bd0ffe4e531f9f7597",
          "version": "1.0.2"
        }
      },
      {
        "package": "Ink",
        "repositoryURL": "https://github.com/johnsundell/ink.git",
        "state": {
          "branch": null,
          "revision": "bcc9f219900a62c4210e6db726035d7f03ae757b",
          "version": "0.6.0"
        }
      },
      {
        "package": "JWTDecode",
        "repositoryURL": "https://github.com/auth0/JWTDecode.swift.git",
        "state": {
          "branch": null,
          "revision": "7918a343e674c7707e0be120bb4e21d679be014c",
          "version": "3.0.1"
        }
      },
      {
        "package": "leveldb",
        "repositoryURL": "https://github.com/firebase/leveldb.git",
        "state": {
          "branch": null,
          "revision": "0706abcc6b0bd9cedfbb015ba840e4a780b5159b",
          "version": "1.22.2"
        }
      },
      {
        "package": "nanopb",
        "repositoryURL": "https://github.com/firebase/nanopb.git",
        "state": {
          "branch": null,
          "revision": "819d0a2173aff699fb8c364b6fb906f7cdb1a692",
          "version": "2.30909.0"
        }
      },
      {
        "package": "PhoneNumberKit",
        "repositoryURL": "https://github.com/marmelroy/PhoneNumberKit.git",
        "state": {
          "branch": null,
          "revision": "9b051490589ae4f2fa861287407a43a87be7226c",
          "version": "3.5.8"
        }
      },
      {
        "package": "Promises",
        "repositoryURL": "https://github.com/google/promises.git",
        "state": {
          "branch": null,
          "revision": "ec957ccddbcc710ccc64c9dcbd4c7006fcf8b73a",
          "version": "2.2.0"
        }
      },
      {
        "package": "SwiftProtobuf",
        "repositoryURL": "https://github.com/apple/swift-protobuf.git",
        "state": {
          "branch": null,
          "revision": "0af9125c4eae12a4973fb66574c53a54962a9e1e",
          "version": "1.21.0"
        }
      },
      {
        "package": "SwiftKeychainWrapper",
        "repositoryURL": "https://github.com/jrendel/SwiftKeychainWrapper",
        "state": {
          "branch": null,
          "revision": "185a3165346a03767101c4f62e9a545a0fe0530f",
          "version": "4.0.1"
        }
      }
    ]
  },
  "version": 1
}


If using CocoaPods, the project’s Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 6
  • Comments: 27 (8 by maintainers)

Most upvoted comments

Please update on this issue. We don’t have any dsyms on crashlytics!

Is there any update on this issue? Unfortunately we still can not use Crashlytics 😕