Skip to content

Commit 5b926e0

Browse files
committed
ref: SentryPerformanceTracker in Swift
1 parent 390c9e4 commit 5b926e0

File tree

19 files changed

+142
-53
lines changed

19 files changed

+142
-53
lines changed

Samples/iOS-SwiftUI/iOS-SwiftUI.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ targets:
2929
- ../Shared/SampleAssets.xcassets
3030
- ../../Sources/Sentry/Public/SentrySerializable.h
3131
- ../../Sources/Sentry/include/SentryTracer.h
32-
- ../../Sources/Sentry/include/SentryPerformanceTracker.h
3332
- ../../Sources/Sentry/Public/SentryProfilingConditionals.h
3433
dependencies:
3534
- target: Sentry/Sentry

Samples/iOS-SwiftUI/iOS-SwiftUI/ContentView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Sentry
1+
@_spi(Private) import Sentry
22
import SentrySwiftUI
33
import SwiftUI
44

Samples/iOS-SwiftUI/iOS-SwiftUI/FormScreen.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Foundation
2+
@_spi(Private) import Sentry
23
import SentrySwiftUI
34
import SwiftUI
45

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
#import "SentryPerformanceTracker.h"
21
#import "SentryTracer.h"

Sentry.xcodeproj/project.pbxproj

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -713,9 +713,9 @@
713713
8EAC7FF8265C8910005B44E5 /* SentryTracerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EAC7FF7265C8910005B44E5 /* SentryTracerTests.swift */; };
714714
8EAE8E5E2681768000D6958B /* URLSessionTaskMock.m in Sources */ = {isa = PBXBuildFile; fileRef = 8EAE8E5D2681768000D6958B /* URLSessionTaskMock.m */; };
715715
8EAE9806261E87120073B6B3 /* SentryUIViewControllerPerformanceTracker.m in Sources */ = {isa = PBXBuildFile; fileRef = 8EAE9804261E87120073B6B3 /* SentryUIViewControllerPerformanceTracker.m */; };
716-
8EAE980B261E9F530073B6B3 /* SentryPerformanceTracker.h in Headers */ = {isa = PBXBuildFile; fileRef = 8EAE9809261E9F530073B6B3 /* SentryPerformanceTracker.h */; };
716+
8EAE980B261E9F530073B6B3 /* SentryPerformanceTrackerHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = 8EAE9809261E9F530073B6B3 /* SentryPerformanceTrackerHelper.h */; };
717717
8EAE980C261E9F530073B6B3 /* SentryUIViewControllerPerformanceTracker.h in Headers */ = {isa = PBXBuildFile; fileRef = 8EAE980A261E9F530073B6B3 /* SentryUIViewControllerPerformanceTracker.h */; };
718-
8EBF870926140D37001A6853 /* SentryPerformanceTracker.m in Sources */ = {isa = PBXBuildFile; fileRef = 8EBF870726140D37001A6853 /* SentryPerformanceTracker.m */; };
718+
8EBF870926140D37001A6853 /* SentryPerformanceTrackerHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 8EBF870726140D37001A6853 /* SentryPerformanceTrackerHelper.m */; };
719719
8EC3AE7A25CA23B600E7591A /* SentrySpan.m in Sources */ = {isa = PBXBuildFile; fileRef = 8EC3AE7925CA23B600E7591A /* SentrySpan.m */; };
720720
8EC4CF4A25C38DAA0093DEE9 /* SentrySpanStatus.h in Headers */ = {isa = PBXBuildFile; fileRef = 8EC4CF4725C38CAF0093DEE9 /* SentrySpanStatus.h */; settings = {ATTRIBUTES = (Public, ); }; };
721721
8EC4CF5025C3A0070093DEE9 /* SentrySpanContextTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EC4CF4F25C3A0070093DEE9 /* SentrySpanContextTests.swift */; };
@@ -977,6 +977,7 @@
977977
F429D37F2E8532A300DBF387 /* HttpDateParser.swift in Sources */ = {isa = PBXBuildFile; fileRef = F429D37D2E8532A300DBF387 /* HttpDateParser.swift */; };
978978
F429D39A2E85360F00DBF387 /* RetryAfterHeaderParser.swift in Sources */ = {isa = PBXBuildFile; fileRef = F429D3992E85360F00DBF387 /* RetryAfterHeaderParser.swift */; };
979979
F429D3AA2E8562EF00DBF387 /* RateLimitParser.swift in Sources */ = {isa = PBXBuildFile; fileRef = F429D3A82E8562EF00DBF387 /* RateLimitParser.swift */; };
980+
F429D3AA2E8562EF00DBF387 /* RateLimitParser.swift in Sources */ = {isa = PBXBuildFile; fileRef = F429D3A82E8562EF00DBF387 /* RateLimitParser.swift */; };
980981
F443DB272E09BE8C009A9045 /* LoadValidatorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F443DB262E09BE8C009A9045 /* LoadValidatorTests.swift */; };
981982
F44858132E03579D0013E63B /* SentryCrashDynamicLinker+Test.h in Headers */ = {isa = PBXBuildFile; fileRef = F44858122E0357940013E63B /* SentryCrashDynamicLinker+Test.h */; };
982983
F44D2B592E6B779E00FF31FA /* SentryScreenFrames.swift in Sources */ = {isa = PBXBuildFile; fileRef = F44D2B582E6B779E00FF31FA /* SentryScreenFrames.swift */; };
@@ -1083,6 +1084,7 @@
10831084
FA7206E12E0B37C80072FDD4 /* SentryProfileCollector.mm in Sources */ = {isa = PBXBuildFile; fileRef = FA7206E02E0B37C60072FDD4 /* SentryProfileCollector.mm */; };
10841085
FA8A36182DEAA1EB0058D883 /* SentryThread+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = FA8A36172DEAA1EB0058D883 /* SentryThread+Private.h */; };
10851086
FA8AFCED2E8434A8007A0E18 /* SentryThreadInspector.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA8AFCE72E8434A0007A0E18 /* SentryThreadInspector.swift */; };
1087+
FA8AFCDD2E842932007A0E18 /* SentryPerformanceTracker.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA8AFCDC2E84292E007A0E18 /* SentryPerformanceTracker.swift */; };
10861088
FA8AFCEF2E843903007A0E18 /* SentryFileIOTracker.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA8AFCEE2E8438FF007A0E18 /* SentryFileIOTracker.swift */; };
10871089
FA8AFCFA2E844AB6007A0E18 /* SentryThreadsafeApplicationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA8AFCF42E844AB1007A0E18 /* SentryThreadsafeApplicationTests.swift */; };
10881090
FA8AFDAC2E84FAEE007A0E18 /* TestSentryUIApplication.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA6614FB2E4B8E1500657755 /* TestSentryUIApplication.swift */; };
@@ -2036,9 +2038,9 @@
20362038
8EAE8E5C2681768000D6958B /* URLSessionTaskMock.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = URLSessionTaskMock.h; sourceTree = "<group>"; };
20372039
8EAE8E5D2681768000D6958B /* URLSessionTaskMock.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = URLSessionTaskMock.m; sourceTree = "<group>"; };
20382040
8EAE9804261E87120073B6B3 /* SentryUIViewControllerPerformanceTracker.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryUIViewControllerPerformanceTracker.m; sourceTree = "<group>"; };
2039-
8EAE9809261E9F530073B6B3 /* SentryPerformanceTracker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SentryPerformanceTracker.h; path = include/SentryPerformanceTracker.h; sourceTree = "<group>"; };
2041+
8EAE9809261E9F530073B6B3 /* SentryPerformanceTrackerHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SentryPerformanceTrackerHelper.h; path = include/SentryPerformanceTrackerHelper.h; sourceTree = "<group>"; };
20402042
8EAE980A261E9F530073B6B3 /* SentryUIViewControllerPerformanceTracker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SentryUIViewControllerPerformanceTracker.h; path = include/SentryUIViewControllerPerformanceTracker.h; sourceTree = "<group>"; };
2041-
8EBF870726140D37001A6853 /* SentryPerformanceTracker.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryPerformanceTracker.m; sourceTree = "<group>"; };
2043+
8EBF870726140D37001A6853 /* SentryPerformanceTrackerHelper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryPerformanceTrackerHelper.m; sourceTree = "<group>"; };
20422044
8EC3AE7925CA23B600E7591A /* SentrySpan.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentrySpan.m; sourceTree = "<group>"; };
20432045
8EC4CF4725C38CAF0093DEE9 /* SentrySpanStatus.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentrySpanStatus.h; path = Public/SentrySpanStatus.h; sourceTree = "<group>"; };
20442046
8EC4CF4F25C3A0070093DEE9 /* SentrySpanContextTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentrySpanContextTests.swift; sourceTree = "<group>"; };
@@ -2170,7 +2172,6 @@
21702172
D808FB89281BCE46009A2A33 /* TestSentrySwizzleWrapper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestSentrySwizzleWrapper.swift; sourceTree = "<group>"; };
21712173
D808FB90281BF6E9009A2A33 /* SentryUIEventTrackingIntegrationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryUIEventTrackingIntegrationTests.swift; sourceTree = "<group>"; };
21722174
D80C990A2B0DFE410052F311 /* ExternalUIViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExternalUIViewController.swift; sourceTree = "<group>"; };
2173-
D8105B8D297FD16800299F03 /* SentryPerformanceTracker+Testing.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SentryPerformanceTracker+Testing.h"; sourceTree = "<group>"; };
21742175
D8137D52272B53070082656C /* TestSentrySpan.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TestSentrySpan.h; sourceTree = "<group>"; };
21752176
D8137D53272B53070082656C /* TestSentrySpan.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TestSentrySpan.m; sourceTree = "<group>"; };
21762177
D81988BF2BEBFFF70020E36C /* SentryReplayRecording.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryReplayRecording.swift; sourceTree = "<group>"; };
@@ -2320,6 +2321,7 @@
23202321
F429D37D2E8532A300DBF387 /* HttpDateParser.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HttpDateParser.swift; sourceTree = "<group>"; };
23212322
F429D3992E85360F00DBF387 /* RetryAfterHeaderParser.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RetryAfterHeaderParser.swift; sourceTree = "<group>"; };
23222323
F429D3A82E8562EF00DBF387 /* RateLimitParser.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RateLimitParser.swift; sourceTree = "<group>"; };
2324+
F429D3A82E8562EF00DBF387 /* RateLimitParser.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RateLimitParser.swift; sourceTree = "<group>"; };
23232325
F443DB262E09BE8C009A9045 /* LoadValidatorTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoadValidatorTests.swift; sourceTree = "<group>"; };
23242326
F44858122E0357940013E63B /* SentryCrashDynamicLinker+Test.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SentryCrashDynamicLinker+Test.h"; sourceTree = "<group>"; };
23252327
F44D2B582E6B779E00FF31FA /* SentryScreenFrames.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryScreenFrames.swift; sourceTree = "<group>"; };
@@ -2428,6 +2430,7 @@
24282430
FA7206E02E0B37C60072FDD4 /* SentryProfileCollector.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = SentryProfileCollector.mm; sourceTree = "<group>"; };
24292431
FA8A36172DEAA1EB0058D883 /* SentryThread+Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "SentryThread+Private.h"; path = "include/SentryThread+Private.h"; sourceTree = "<group>"; };
24302432
FA8AFCE72E8434A0007A0E18 /* SentryThreadInspector.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryThreadInspector.swift; sourceTree = "<group>"; };
2433+
FA8AFCDC2E84292E007A0E18 /* SentryPerformanceTracker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryPerformanceTracker.swift; sourceTree = "<group>"; };
24312434
FA8AFCEE2E8438FF007A0E18 /* SentryFileIOTracker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryFileIOTracker.swift; sourceTree = "<group>"; };
24322435
FA8AFCF42E844AB1007A0E18 /* SentryThreadsafeApplicationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryThreadsafeApplicationTests.swift; sourceTree = "<group>"; };
24332436
FA8E58F02E0AD4220049F69D /* SentryDispatchQueueWrapper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryDispatchQueueWrapper.swift; sourceTree = "<group>"; };
@@ -3703,8 +3706,8 @@
37033706
8EA1ED092668F8C400E62B98 /* SentryUIViewControllerSwizzling.m */,
37043707
8EAE980A261E9F530073B6B3 /* SentryUIViewControllerPerformanceTracker.h */,
37053708
8EAE9804261E87120073B6B3 /* SentryUIViewControllerPerformanceTracker.m */,
3706-
8EAE9809261E9F530073B6B3 /* SentryPerformanceTracker.h */,
3707-
8EBF870726140D37001A6853 /* SentryPerformanceTracker.m */,
3709+
8EAE9809261E9F530073B6B3 /* SentryPerformanceTrackerHelper.h */,
3710+
8EBF870726140D37001A6853 /* SentryPerformanceTrackerHelper.m */,
37083711
D8BFE37029A3782F002E73F3 /* SentryTimeToDisplayTracker.h */,
37093712
D8BFE37129A3782F002E73F3 /* SentryTimeToDisplayTracker.m */,
37103713
);
@@ -3795,7 +3798,6 @@
37953798
7BF9EF8A2722D58700B5BBEF /* SentryInitializeForGettingSubclassesNotCalled.m */,
37963799
D8FFE50B2703DAAE00607131 /* SwizzlingCallTests.swift */,
37973800
7BE912B02721C76000E49E62 /* SentryPerformanceTrackingIntegrationTests.swift */,
3798-
D8105B8D297FD16800299F03 /* SentryPerformanceTracker+Testing.h */,
37993801
);
38003802
path = Performance;
38013803
sourceTree = "<group>";
@@ -4510,6 +4512,7 @@
45104512
isa = PBXGroup;
45114513
children = (
45124514
FAE57BF12E83049900B710F9 /* SentryDisplayLinkWrapper.swift */,
4515+
FA8AFCD62E84291F007A0E18 /* UIViewController */,
45134516
D468C0602D36699700964230 /* IO */,
45144517
);
45154518
path = Performance;
@@ -4903,6 +4906,14 @@
49034906
path = Core;
49044907
sourceTree = "<group>";
49054908
};
4909+
FA8AFCD62E84291F007A0E18 /* UIViewController */ = {
4910+
isa = PBXGroup;
4911+
children = (
4912+
FA8AFCDC2E84292E007A0E18 /* SentryPerformanceTracker.swift */,
4913+
);
4914+
path = UIViewController;
4915+
sourceTree = "<group>";
4916+
};
49064917
FABB48B22E59310D0071397E /* Transaction */ = {
49074918
isa = PBXGroup;
49084919
children = (
@@ -5007,7 +5018,7 @@
50075018
63AA76991EB9C1C200D153DE /* SentryDefines.h in Headers */,
50085019
D86B6835294348A400B8B1FC /* SentryAttachment+Private.h in Headers */,
50095020
84AF45A629A7FFA500FBB177 /* SentryProfiledTracerConcurrency.h in Headers */,
5010-
8EAE980B261E9F530073B6B3 /* SentryPerformanceTracker.h in Headers */,
5021+
8EAE980B261E9F530073B6B3 /* SentryPerformanceTrackerHelper.h in Headers */,
50115022
F48F75732E5FA649009D4E7D /* SentryBinaryImageCacheCallbacks.h in Headers */,
50125023
63FE718520DA4C1100CDBAE8 /* SentryCrashC.h in Headers */,
50135024
8EA1ED0D2669028C00E62B98 /* SentryUIViewControllerSwizzling.h in Headers */,
@@ -5895,6 +5906,7 @@
58955906
63FE713120DA4C1100CDBAE8 /* SentryCrashDynamicLinker.c in Sources */,
58965907
03F84D3527DD4191008FE43F /* SentryThreadHandle.cpp in Sources */,
58975908
0A2D8DA9289BC905008720F6 /* SentryViewHierarchyProviderHelper.m in Sources */,
5909+
FA8AFCDD2E842932007A0E18 /* SentryPerformanceTracker.swift in Sources */,
58985910
D84D2CDD2C2BF7370011AF8A /* SentryReplayEvent.swift in Sources */,
58995911
D8BC28CC2BFF78220054DA4D /* SentryRRWebTouchEvent.swift in Sources */,
59005912
D452FC592DDB4B1700AFF56F /* SentryWatchdogTerminationBreadcrumbProcessor.m in Sources */,
@@ -5930,7 +5942,7 @@
59305942
621F61F12BEA073A005E654F /* SentryEnabledFeaturesBuilder.swift in Sources */,
59315943
D88817D826D7149100BF2251 /* SentryTraceContext.m in Sources */,
59325944
D8F67B1B2BE9728600C9197B /* SentrySRDefaultBreadcrumbConverter.swift in Sources */,
5933-
8EBF870926140D37001A6853 /* SentryPerformanceTracker.m in Sources */,
5945+
8EBF870926140D37001A6853 /* SentryPerformanceTrackerHelper.m in Sources */,
59345946
D865893029D6ECA7000BE151 /* SentryCrashBinaryImageCache.c in Sources */,
59355947
D859696B27BECD8F0036A46E /* SentryCoreDataTrackingIntegration.m in Sources */,
59365948
7BD86EC7264A641D005439DB /* SentrySysctlObjC.m in Sources */,

SentryTestUtils/SentryTestUtils-ObjC-BridgingHeader.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
#import "SentryHub+Test.h"
4040
#import "SentryLogC.h"
4141
#import "SentryNetworkTracker.h"
42-
#import "SentryPerformanceTracker+Testing.h"
4342
#import "SentrySDK+Private.h"
4443
#import "SentrySDKInternal+Tests.h"
4544
#import "SentryScopeSyncC.h"

Sources/Sentry/SentryDependencyContainer.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#import <SentryDebugImageProvider+HybridSDKs.h>
1515
#import <SentryDefaultAppStateManager.h>
1616
#import <SentryDependencyContainer.h>
17-
#import <SentryPerformanceTracker.h>
1817
#import <SentrySDK+Private.h>
1918
#import <SentrySwift.h>
2019
#import <SentrySwizzleWrapper.h>

Sources/Sentry/SentryHub.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#import "SentryLevelMapper.h"
1010
#import "SentryLogC.h"
1111
#import "SentryOptions+Private.h"
12-
#import "SentryPerformanceTracker.h"
1312
#import "SentryProfilingConditionals.h"
1413
#import "SentrySDK+Private.h"
1514
#import "SentrySamplerDecision.h"

Sources/Sentry/SentryPerformanceTracker.m renamed to Sources/Sentry/SentryPerformanceTrackerHelper.m

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#import "SentryPerformanceTracker.h"
1+
#import "SentryPerformanceTrackerHelper.h"
22
#import "SentryDependencyContainer.h"
33
#import "SentryHub+Private.h"
44
#import "SentryLogC.h"
@@ -22,18 +22,18 @@
2222

2323
NS_ASSUME_NONNULL_BEGIN
2424

25-
@interface SentryPerformanceTracker () <SentryTracerDelegate>
25+
@interface SentryPerformanceTrackerHelper () <SentryTracerDelegate>
2626

2727
@property (nonatomic, strong) NSMutableDictionary<SentrySpanId *, id<SentrySpan>> *spans;
2828
@property (nonatomic, strong) NSMutableArray<id<SentrySpan>> *activeSpanStack;
2929

3030
@end
3131

32-
@implementation SentryPerformanceTracker
32+
@implementation SentryPerformanceTrackerHelper
3333

34-
+ (SentryPerformanceTracker *)shared
34+
+ (SentryPerformanceTrackerHelper *)shared
3535
{
36-
static SentryPerformanceTracker *instance = nil;
36+
static SentryPerformanceTrackerHelper *instance = nil;
3737
static dispatch_once_t onceToken;
3838
dispatch_once(&onceToken, ^{ instance = [[self alloc] init]; });
3939
return instance;
@@ -49,7 +49,7 @@ - (instancetype)init
4949
}
5050

5151
- (SentrySpanId *)startSpanWithName:(NSString *)name
52-
nameSource:(SentryTransactionNameSource)source
52+
nameSource:(NSInteger)source
5353
operation:(NSString *)operation
5454
origin:(NSString *)origin
5555
{
@@ -122,7 +122,7 @@ - (SentrySpanId *)startSpanWithName:(NSString *)name
122122
}
123123

124124
- (void)measureSpanWithDescription:(NSString *)description
125-
nameSource:(SentryTransactionNameSource)source
125+
nameSource:(NSInteger)source
126126
operation:(NSString *)operation
127127
origin:(NSString *)origin
128128
inBlock:(void (^)(void))block
@@ -140,7 +140,7 @@ - (void)measureSpanWithDescription:(NSString *)description
140140
}
141141

142142
- (void)measureSpanWithDescription:(NSString *)description
143-
nameSource:(SentryTransactionNameSource)source
143+
nameSource:(NSInteger)source
144144
operation:(NSString *)operation
145145
origin:(NSString *)origin
146146
parentSpanId:(SentrySpanId *)parentSpanId

Sources/Sentry/SentryUIViewControllerPerformanceTracker.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
# import "SentryHub.h"
88
# import "SentryLogC.h"
99
# import "SentryOptions.h"
10-
# import "SentryPerformanceTracker.h"
1110
# import "SentrySDK+Private.h"
1211
# import "SentrySpanId.h"
1312
# import "SentrySpanOperation.h"

0 commit comments

Comments
 (0)