Hey I have this peculiar issue regarding yandex configuration. If I run the app on simulator app crashes with following error:
'NSInvalidArgumentException', reason: '*** -[NSFileManager
contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:]:
URL is nil'
I have created an environment condition in my applicationDidFinishLaunnchinWithOptions in app delegate that bypasses yandex configuration on simulator:
#if !targetEnvironment(simulator)
let configuration = YMMYandexMetricaConfiguration.init(apiKey: YANDEX_API_KEY)
configuration?.crashReporting = true
YMMYandexMetrica.activate(with: configuration!)
#endif
app uses yandex and doesn't crash but simulator crashes.