diff --git a/Makefile b/Makefile index 3339ac3bd2b..cd028100378 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ test: build-carthage: @echo "--> Creating Sentry framework package with carthage" carthage build --no-skip-current - carthage archive Sentry + carthage archive Sentry KSCrash --output Sentry.framework.zip release: bump-version lint test pod-example-projects pod-lint build-carthage git-commit-add pod-push diff --git a/Sources/Stacktrace.swift b/Sources/Stacktrace.swift index b85cebd4d21..3bf22a0d62c 100644 --- a/Sources/Stacktrace.swift +++ b/Sources/Stacktrace.swift @@ -74,7 +74,11 @@ extension Stacktrace { if let methodName = frame["methodName"] as? String, let lineNumber = frame["lineNumber"] as? Int, let column = frame["column"] as? Int { - let frame = Frame(fileName: "/\(simpleFilename)", function: methodName, module: nil, line: lineNumber, column: column) + let frame = Frame(fileName: "app:///\(simpleFilename)", + function: methodName, + module: nil, + line: lineNumber, + column: column) frame.platform = "javascript" frames.append(frame) }