iOS and FirebaseCrashlytics
After hours of struggling with this problem finally solved it using this approach:
use this command in Terminal: /path/to/pods/directory/FirebaseCrashlytics/upload-symbols -gsp /path/to/GoogleService-Info.plist -p ios /path/to/dSYMs
Important thing is instead of /path/to/pods/directory
you should enter the path to your pods folder in your application folder, and instead of /path/to
you should enter the path to the GoogleService-Info.plist which is in your project folder too. And the last one is, instead of /path/to/dSYMs
you should enter the path to your archive which has the format of .xcarchive
.
For finding the .xcarchive
path, you should first archive your application, then go to XCode -> Organizer and select your build, then right click on it and select "Show in finder" and then right click on your .xcarchive
file and select "Show package contents". This is it, you can copy this path and paste it instead of /path/to/dSYMs
and then hit enter to start uploading to Firebase Crashlytics.
Check out this link for more information:
Firebase Docs
What is FirebaseCrashlytics equivalent statement of Fabric recordError:error?
Yes, you can find that documentation here: https://firebase.google.com/docs/crashlytics/customize-crash-reports?platform=ios#log-excepts
iOS/ Objective-C: I installed FireBase Crashlytics on XCode, but the screen in the FireBase backoffice doesn't work
you need to be in the application, at least the first view. (so after application:didFinishLaunchingWithOptions for ex
Understanding Firebase Crashlytics report for iOS app
All UI stuff should be performed on main thread, that is what your crash report shows (crash due to main thread.)
So your last line should be :
DispatchQueue.main.async {
self.contactNumberText.text = altenativeMobile
}
Update this line, your crash will fixed.
Related Topics
Fade Out Scrolling Uitextview Over Image
Ios5 Images Disappear When Scrolling with Webkit-Overflow-Scrolling: Touch
Xcode 5 Crashes -- Xcode Quit Unexpectedly
How to Programmatically Find Swift's Version
How to Fix Failed to Fetch Default Token Error
Facebook Sdk 3.1 for iOS - Runs on iOS6, But Crashes on iOS 5.X
Working with Live Photos in Playground
Dynamic Height for Static Table Cells with Wrapping Labels
Swiftui: Navigationdestinationlink Deprecated
Swiftui Withanimation Completion Callback
Method Load() Defines Objective-C Class Method 'Load', Which Is Not Permitted by Swift 1.2
Uiimagepickercontroller Crashes App | Swift3, Xcode8
Firebase Fcm Silent Push Notifications for iOS
Uibutton Does Not Work When It in Uiscrollview
Why Is Our Monotouch App Breaking in the Garbage Collector? It Is Not Out of Memory