Skip to content

Commit

Permalink
Fix Umeng parser
Browse files Browse the repository at this point in the history
  • Loading branch information
zqqf16 committed Mar 22, 2022
1 parent b4839f4 commit 079d123
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions SYM.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 94;
CURRENT_PROJECT_VERSION = 95;
DEVELOPMENT_TEAM = BPL95996PK;
ENABLE_HARDENED_RUNTIME = YES;
GCC_PREPROCESSOR_DEFINITIONS = "DEBUG=1";
Expand All @@ -1222,7 +1222,7 @@
"$(PROJECT_DIR)/SYM/Device/plist",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 0.8.4;
MARKETING_VERSION = 0.8.5;
PRODUCT_BUNDLE_IDENTIFIER = im.zorro.SYM;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
Expand All @@ -1243,7 +1243,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 94;
CURRENT_PROJECT_VERSION = 95;
DEVELOPMENT_TEAM = BPL95996PK;
ENABLE_HARDENED_RUNTIME = YES;
GCC_PREPROCESSOR_DEFINITIONS = "";
Expand All @@ -1264,7 +1264,7 @@
"$(PROJECT_DIR)/SYM/Device/plist",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 0.8.4;
MARKETING_VERSION = 0.8.5;
PRODUCT_BUNDLE_IDENTIFIER = im.zorro.SYM;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
Expand Down
2 changes: 1 addition & 1 deletion SYM/Parser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ struct UmengParser: CrashParser {
uuid: crash.uuid,
arch: crash.arch,
loadAddress: loadAddress,
path: "")
path: "/var/containers/Bundle/Application/\(appName)") //fake path
binary.backtrace = backtrace
crash.binaryImages.append(binary)

Expand Down
1 change: 1 addition & 0 deletions SYMTests/ParserTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,6 @@ class ParserTests: XCTestCase {
XCTAssertEqual(binary.name, "DemoApp")
XCTAssertEqual(binary.loadAddress, "0x0000000100000000")

XCTAssertEqual(crash.embeddedBinaries.first?.name, binary.name)
}
}

0 comments on commit 079d123

Please sign in to comment.