Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Cant build IOs app. #59

Open
romandutov opened this issue Sep 23, 2022 · 1 comment
Open

Cant build IOs app. #59

romandutov opened this issue Sep 23, 2022 · 1 comment

Comments

@romandutov
Copy link

romandutov commented Sep 23, 2022

Building as .xworkspace project.
Error Use of undeclared identifier 'stackTraceElement'
image

AppMetrica version 5.0.1

MMStackTraceElement *ymm_stackTraceElementFromJsonDictionary(NSDictionary *dict)
{
if (dict == nil) {
return nil;
}

YMMStackTraceElement *stackTraceElement = [[YMMStackTraceElement alloc] init];

if (dict[@"ClassName"] != nil) {
    stackTraceElement.className = (NSString *)dict[@"ClassName"];
}
if (dict[@"MethodName"] != nil) {
    stackTraceElement.methodName = (NSString *)dict[@"MethodName"];
}
if (dict[@"FileName"] != nil) {
    stackTraceElement.fileName = (NSString *)dict[@"FileName"];
}
if (dict[@"Line"] != nil) {
    stackTraceElement.line = [[NSNumber alloc] initWithInt:[dict[@"Line"] intValue]];
}
if (dict[@"Column"] != nil) {
    stackTraceElement.column = [[NSNumber alloc] initWithInt:[dict[@"Column"] intValue]];
}

return stackTraceElement;

}

@ghost
Copy link

ghost commented Sep 23, 2022 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant