Skip to content
Merged
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
2 changes: 1 addition & 1 deletion Samples/iOS-SwiftUI/iOS-SwiftUI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ targets:
- ../../Sources/Sentry/Public/SentrySerializable.h
- ../../Sources/Sentry/include/SentryTracer.h
- ../../Sources/Sentry/include/SentryPerformanceTracker.h
- ../../Sources/Sentry/Public/SentryProfilingConditionals.h
- ../../Sources/Sentry/include/HybridPublic/SentryProfilingConditionals.h
dependencies:
- target: Sentry/Sentry
- target: Sentry/SentrySwiftUI
Expand Down
4 changes: 2 additions & 2 deletions Sentry.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
0354A22B2A134D9C003C3A04 /* SentryProfilerState.h in Headers */ = {isa = PBXBuildFile; fileRef = 0354A22A2A134D9C003C3A04 /* SentryProfilerState.h */; };
03BCC38A27E1BF49003232C7 /* SentryTime.h in Headers */ = {isa = PBXBuildFile; fileRef = 03BCC38927E1BF49003232C7 /* SentryTime.h */; };
03BCC38C27E1C01A003232C7 /* SentryTime.mm in Sources */ = {isa = PBXBuildFile; fileRef = 03BCC38B27E1C01A003232C7 /* SentryTime.mm */; };
03BCC38E27E2A377003232C7 /* SentryProfilingConditionals.h in Headers */ = {isa = PBXBuildFile; fileRef = 03BCC38D27E2A377003232C7 /* SentryProfilingConditionals.h */; settings = {ATTRIBUTES = (Public, ); }; };
03BCC38E27E2A377003232C7 /* SentryProfilingConditionals.h in Headers */ = {isa = PBXBuildFile; fileRef = 03BCC38D27E2A377003232C7 /* SentryProfilingConditionals.h */; settings = {ATTRIBUTES = (Private, ); }; };
03F84D1E27DD414C008FE43F /* SentryBacktrace.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 03F84D1227DD414C008FE43F /* SentryBacktrace.hpp */; };
03F84D2027DD414C008FE43F /* SentryStackBounds.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 03F84D1427DD414C008FE43F /* SentryStackBounds.hpp */; };
03F84D2127DD414C008FE43F /* SentrySamplingProfiler.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 03F84D1527DD414C008FE43F /* SentrySamplingProfiler.hpp */; };
Expand Down Expand Up @@ -1286,7 +1286,7 @@
035E73CD27D5790A005EEB11 /* SentryThreadMetadataCacheTests.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = SentryThreadMetadataCacheTests.mm; sourceTree = "<group>"; };
03BCC38927E1BF49003232C7 /* SentryTime.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentryTime.h; path = Sources/Sentry/include/SentryTime.h; sourceTree = SOURCE_ROOT; };
03BCC38B27E1C01A003232C7 /* SentryTime.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; name = SentryTime.mm; path = Sources/Sentry/SentryTime.mm; sourceTree = SOURCE_ROOT; };
03BCC38D27E2A377003232C7 /* SentryProfilingConditionals.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SentryProfilingConditionals.h; path = ../Public/SentryProfilingConditionals.h; sourceTree = "<group>"; };
03BCC38D27E2A377003232C7 /* SentryProfilingConditionals.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SentryProfilingConditionals.h; path = ../include/HybridPublic/SentryProfilingConditionals.h; sourceTree = "<group>"; };
03F84D1227DD414C008FE43F /* SentryBacktrace.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = SentryBacktrace.hpp; path = Sources/Sentry/include/SentryBacktrace.hpp; sourceTree = SOURCE_ROOT; };
03F84D1427DD414C008FE43F /* SentryStackBounds.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = SentryStackBounds.hpp; path = Sources/Sentry/include/SentryStackBounds.hpp; sourceTree = SOURCE_ROOT; };
03F84D1527DD414C008FE43F /* SentrySamplingProfiler.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = SentrySamplingProfiler.hpp; path = Sources/Sentry/include/SentrySamplingProfiler.hpp; sourceTree = SOURCE_ROOT; };
Expand Down
1 change: 1 addition & 0 deletions Sources/Resources/Sentry.modulemap
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ framework module Sentry {

explicit module _Hybrid {
// Headers that are not part of the public API and should only be used by hybrid SDKs
header "SentryProfilingConditionals.h"
header "PrivateSentrySDKOnly.h"
header "PrivatesHeader.h"
header "SentryAppStartMeasurement.h"
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/Public/Sentry.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ FOUNDATION_EXPORT const unsigned char SentryVersionString[];
# import <Sentry/SentryMechanismContext.h>
# import <Sentry/SentryMessage.h>
# import <Sentry/SentryNSError.h>
# import <Sentry/SentryProfilingConditionals.h>
# import <Sentry/SentryReplayApi.h>
# import <Sentry/SentryRequest.h>
# import <Sentry/SentrySampleDecision.h>
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/Public/SentryWithoutUIKit.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ FOUNDATION_EXPORT const unsigned char SentryVersionString[];
# import <SentryWithoutUIKit/SentryMechanismContext.h>
# import <SentryWithoutUIKit/SentryMessage.h>
# import <SentryWithoutUIKit/SentryNSError.h>
# import <SentryWithoutUIKit/SentryProfilingConditionals.h>
# import <SentryWithoutUIKit/SentryReplayApi.h>
# import <SentryWithoutUIKit/SentryRequest.h>
# import <SentryWithoutUIKit/SentrySampleDecision.h>
Expand Down
6 changes: 6 additions & 0 deletions Sources/Sentry/include/SentryPrivate.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// This import must be first. In SPM the file needs to be in the "include" directory since that is
// the Public headers directory, but in Cocoapods it must be in HybridPublic because it is used in
// that public interface too. In order to handle both these cases the file is in HybridPublic but
// symlinked to include.
#import "SentryProfilingConditionals.h"

// Sentry internal headers that are needed for swift code; you cannot import headers that depend on
// public interfaces here
#import "NSLocale+Sentry.h"
Expand Down
1 change: 1 addition & 0 deletions Sources/Sentry/include/SentryProfilingConditionals.h
52 changes: 0 additions & 52 deletions sdk_api.json
Original file line number Diff line number Diff line change
Expand Up @@ -234,16 +234,6 @@
"Exported"
]
},
{
"kind": "Import",
"name": "Sentry.SentryProfilingConditionals",
"printedName": "Sentry.SentryProfilingConditionals",
"declKind": "Import",
"moduleName": "Sentry",
"declAttributes": [
"Exported"
]
},
{
"kind": "Import",
"name": "Sentry.SentryReplayApi",
Expand Down Expand Up @@ -57119,48 +57109,6 @@
}
]
},
{
"kind": "Var",
"name": "SENTRY_TARGET_PROFILING_SUPPORTED",
"printedName": "SENTRY_TARGET_PROFILING_SUPPORTED",
"children": [
{
"kind": "TypeNominal",
"name": "Int32",
"printedName": "Swift.Int32",
"usr": "s:s5Int32V"
}
],
"declKind": "Var",
"usr": "c:@macro@SENTRY_TARGET_PROFILING_SUPPORTED",
"moduleName": "Sentry",
"declAttributes": [
"Nonisolated"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "Int32",
"printedName": "Swift.Int32",
"usr": "s:s5Int32V"
}
],
"declKind": "Accessor",
"usr": "s:SC33SENTRY_TARGET_PROFILING_SUPPORTEDs5Int32Vvg",
"mangledName": "$sSC33SENTRY_TARGET_PROFILING_SUPPORTEDs5Int32Vvg",
"moduleName": "Sentry",
"declAttributes": [
"Transparent"
],
"accessorKind": "get"
}
]
},
{
"kind": "Var",
"name": "SENTRY_TARGET_REPLAY_SUPPORTED",
Expand Down
Loading