Crash self.stringsDataSource = StringsLocalizationDataSource(strings: strings) in LocalizationProvider
Radzievskyi opened this issue · 3 comments
Describe the bug
We received crash report from Crowdin SDK file
To Reproduce
Steps to reproduce the behavior:
- In our application on launch app, from AppDelegate.swift in:
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool
we call:
class func initCrowdin() {
let crowdinProviderConfig = CrowdinProviderConfig(hashString: WXCrowdinManager.distributionHash,
sourceLanguage: WXLocalization.detectLanguage())
let crowdinSDKConfig = CrowdinSDKConfig.config().with(crowdinProviderConfig: crowdinProviderConfig)
CrowdinSDK.startWithConfig(crowdinSDKConfig, completion: {})
CrowdinSDK.currentLocalization = WXLocalization.detectLanguage();
}
1*. Also initCrowdin()
we call on AppleWatch in class:
class ExtensionDelegate: NSObject, WKExtensionDelegate
on
func applicationDidBecomeActive() {
- In Xcode and AppstoreConnect we received information about crash. Detail information is shown on screenshots.
Expected behavior
No crash happened
Smartphone (please complete the following information):
- Device: iPhone 13 Pro Max
- OS: iOS 15.6 (19G71)
Hi @Radzievskyi!
Is there any way to reproduce this issue on a sample iOS project?
Hi @Radzievskyi!
Is there any way to reproduce this issue on a sample iOS project?
Hello @andrii-bodnar
Sorry, I got this crash log report from our TestFlight on AppstoreConnect. I can't exactly reproduce it on my device. So I can't build representative a sample iOS project.
But I checked log what I show previous more detail, and I found, when crash happened in Thread 2. Is have another Thread 9, what look similar to 2:
@Radzievskyi thanks a lot for the details provided!
@serhii-londar do you have any ideas why is this issue happening?