Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ let package = Package(
),
],
dependencies: [
.package(url: "https://github.com/microsoft/plcrashreporter.git", from: "1.12.0")
.package(url: "https://github.com/kstenerud/KSCrash.git", from: "2.5.1")
],
targets: [
.target(
name: "Measure",
dependencies: [
.product(name: "CrashReporter", package: "plcrashreporter")
.product(name: "Recording", package: "KSCrash")
],
path: "ios/Sources/MeasureSDK/Swift",
resources: [
Expand Down
6 changes: 3 additions & 3 deletions ios/DemoApp/DemoApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = KH3C75WXJ3;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
Expand Down Expand Up @@ -372,7 +372,7 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = KH3C75WXJ3;
ENABLE_NS_ASSERTIONS = NO;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
Expand Down
34 changes: 28 additions & 6 deletions ios/DemoApp/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,22 +1,44 @@
PODS:
- measure-sh (0.9.1):
- PLCrashReporter (= 1.12.0)
- PLCrashReporter (1.12.0)
- KSCrash (2.5.1):
- KSCrash/Installations (= 2.5.1)
- KSCrash/Core (2.5.1)
- KSCrash/DemangleFilter (2.5.1):
- KSCrash/Recording
- KSCrash/Filters (2.5.1):
- KSCrash/Recording
- KSCrash/RecordingCore
- KSCrash/ReportingCore
- KSCrash/Installations (2.5.1):
- KSCrash/DemangleFilter
- KSCrash/Filters
- KSCrash/Recording
- KSCrash/Sinks
- KSCrash/Recording (2.5.1):
- KSCrash/RecordingCore
- KSCrash/RecordingCore (2.5.1):
- KSCrash/Core
- KSCrash/ReportingCore (2.5.1):
- KSCrash/Core
- KSCrash/Sinks (2.5.1):
- KSCrash/Filters
- KSCrash/Recording
- measure-sh (0.9.2):
- KSCrash (~> 2.5)

DEPENDENCIES:
- measure-sh (from `../../`)

SPEC REPOS:
trunk:
- PLCrashReporter
- KSCrash

EXTERNAL SOURCES:
measure-sh:
:path: "../../"

SPEC CHECKSUMS:
measure-sh: 34a0c21e3b908da77bc4cfc02f633413de11e32b
PLCrashReporter: db59ef96fa3d25f3650040d02ec2798cffee75f2
KSCrash: 8c4464fd5da7de520f2ce4a00fdf63f169a80f18
measure-sh: b296cf0d8b84c3b22aff2f5938884ccec0da5b4a

PODFILE CHECKSUM: 828d9701ce9dd588cdabe7bc1a8cb829d2a17f97

Expand Down
15 changes: 15 additions & 0 deletions ios/DemoAppSwiftUI/DemoAppSwiftUI.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
CF0F95502F58096B0018D95D /* Measure in Frameworks */ = {isa = PBXBuildFile; productRef = CF0F954F2F58096B0018D95D /* Measure */; };
CF9234A62E5F3DF600815D9E /* Measure in Frameworks */ = {isa = PBXBuildFile; productRef = CF9234A52E5F3DF600815D9E /* Measure */; };
/* End PBXBuildFile section */

Expand All @@ -28,6 +29,7 @@
buildActionMask = 2147483647;
files = (
CF9234A62E5F3DF600815D9E /* Measure in Frameworks */,
CF0F95502F58096B0018D95D /* Measure in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -79,6 +81,7 @@
name = DemoAppSwiftUI;
packageProductDependencies = (
CF9234A52E5F3DF600815D9E /* Measure */,
CF0F954F2F58096B0018D95D /* Measure */,
);
productName = DemoAppSwiftUI;
productReference = CF9234962E5F3D8D00815D9E /* DemoAppSwiftUI.app */;
Expand Down Expand Up @@ -109,6 +112,7 @@
mainGroup = CF92348D2E5F3D8D00815D9E;
minimizedProjectReferenceProxies = 1;
packageReferences = (
CF0F954E2F58096B0018D95D /* XCLocalSwiftPackageReference "../../../measure" */,
);
preferredProjectObjectVersion = 77;
productRefGroup = CF9234972E5F3D8D00815D9E /* Products */;
Expand Down Expand Up @@ -341,7 +345,18 @@
};
/* End XCConfigurationList section */

/* Begin XCLocalSwiftPackageReference section */
CF0F954E2F58096B0018D95D /* XCLocalSwiftPackageReference "../../../measure" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = ../../../measure;
};
/* End XCLocalSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
CF0F954F2F58096B0018D95D /* Measure */ = {
isa = XCSwiftPackageProductDependency;
productName = Measure;
};
CF9234A52E5F3DF600815D9E /* Measure */ = {
isa = XCSwiftPackageProductDependency;
productName = Measure;
Expand Down
3 changes: 1 addition & 2 deletions ios/DemoAppSwiftUI/DemoAppSwiftUI/DemoAppSwiftUIApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ struct DemoAppSwiftUIApp: App {
init() {
let clientInfo = ClientInfo(apiKey: "msrsh_297eb17091394bdcb6e57718f3e7ae2b4448322b2583312bd492891844dc21d1_e9467a30",
apiUrl: "http://localhost:8080")
let config = BaseMeasureConfig(enableLogging: true,
samplingRateForErrorFreeSessions: 1.0)
let config = BaseMeasureConfig(enableLogging: true)
Measure.initialize(with: clientInfo, config: config)
}

Expand Down
Loading
Loading