Skip to content

Commit

Permalink
fix: Double-quoted include, expected angle-bracketed instead. (#4298)
Browse files Browse the repository at this point in the history
Double-quoted include, expected angle-bracketed instead.
  • Loading branch information
brustolin authored Sep 12, 2024
1 parent 087a3b3 commit dbd1f86
Show file tree
Hide file tree
Showing 31 changed files with 202 additions and 54 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
### Fixes

- Resumes replay when the app becomes active (#4303)
- Double-quoted include, expected angle-bracketed instead (#4298)

## 8.36.0

Expand Down
6 changes: 5 additions & 1 deletion Sources/Sentry/Public/SentryAttachment.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#import "SentryDefines.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
9 changes: 7 additions & 2 deletions Sources/Sentry/Public/SentryBreadcrumb.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#import <Foundation/Foundation.h>

#import "SentryDefines.h"
#import "SentrySerializable.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
6 changes: 5 additions & 1 deletion Sources/Sentry/Public/SentryClient.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#import "SentryDefines.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
#endif

@class SentryOptions, SentryEvent, SentryScope, SentryFileManager, SentryId, SentryUserFeedback,
SentryTransaction;
Expand Down
6 changes: 5 additions & 1 deletion Sources/Sentry/Public/SentryDebugMeta.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#import <Foundation/Foundation.h>

#import "SentrySerializable.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
6 changes: 5 additions & 1 deletion Sources/Sentry/Public/SentryEnvelopeItemHeader.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#import "SentrySerializable.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
6 changes: 5 additions & 1 deletion Sources/Sentry/Public/SentryError.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#import "SentryDefines.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
9 changes: 7 additions & 2 deletions Sources/Sentry/Public/SentryEvent.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#import <Foundation/Foundation.h>

#import "SentryDefines.h"
#import "SentrySerializable.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
9 changes: 7 additions & 2 deletions Sources/Sentry/Public/SentryException.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#import <Foundation/Foundation.h>

#import "SentryDefines.h"
#import "SentrySerializable.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
6 changes: 5 additions & 1 deletion Sources/Sentry/Public/SentryFrame.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#import <Foundation/Foundation.h>

#import "SentrySerializable.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
9 changes: 7 additions & 2 deletions Sources/Sentry/Public/SentryGeo.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#import <Foundation/Foundation.h>
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
6 changes: 5 additions & 1 deletion Sources/Sentry/Public/SentryHttpStatusCodeRange.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#import "SentryDefines.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
10 changes: 8 additions & 2 deletions Sources/Sentry/Public/SentryHub.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#import "SentryDefines.h"
#import "SentrySpanProtocol.h"

#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySpanProtocol.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySpanProtocol.h>
#endif

@class SentryEvent, SentryClient, SentryScope, SentryUser, SentryBreadcrumb, SentryId,
SentryUserFeedback, SentryTransactionContext;
Expand Down
6 changes: 5 additions & 1 deletion Sources/Sentry/Public/SentryMeasurementUnit.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#import "SentryDefines.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
9 changes: 7 additions & 2 deletions Sources/Sentry/Public/SentryMechanism.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#import <Foundation/Foundation.h>

#import "SentryDefines.h"
#import "SentrySerializable.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
9 changes: 7 additions & 2 deletions Sources/Sentry/Public/SentryMechanismMeta.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#import <Foundation/Foundation.h>
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif

@class SentryNSError;

Expand Down
9 changes: 7 additions & 2 deletions Sources/Sentry/Public/SentryMessage.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#import <Foundation/Foundation.h>
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
9 changes: 7 additions & 2 deletions Sources/Sentry/Public/SentryNSError.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#import <Foundation/Foundation.h>
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
9 changes: 7 additions & 2 deletions Sources/Sentry/Public/SentryOptions.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#import "SentryDefines.h"
#import "SentryProfilingConditionals.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentryProfilingConditionals.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentryProfilingConditionals.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
9 changes: 7 additions & 2 deletions Sources/Sentry/Public/SentryRequest.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
6 changes: 5 additions & 1 deletion Sources/Sentry/Public/SentrySDK.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#import "SentryDefines.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
#endif

@protocol SentrySpan;

Expand Down
12 changes: 9 additions & 3 deletions Sources/Sentry/Public/SentryScope.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#import "SentrySpanProtocol.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySerializable.h>
# import <Sentry/SentrySpanProtocol.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySerializable.h>
# import <SentryWithoutUIKit/SentrySpanProtocol.h>
#endif

@class SentryUser, SentryOptions, SentryBreadcrumb, SentryAttachment;

Expand Down
6 changes: 5 additions & 1 deletion Sources/Sentry/Public/SentrySerializable.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#import "SentryDefines.h"
#import <Foundation/Foundation.h>
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
16 changes: 12 additions & 4 deletions Sources/Sentry/Public/SentrySpanContext.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
#import "SentryDefines.h"
#import "SentrySampleDecision.h"
#import "SentrySerializable.h"
#import "SentrySpanStatus.h"

#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySampleDecision.h>
# import <Sentry/SentrySerializable.h>
# import <Sentry/SentrySpanStatus.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySampleDecision.h>
# import <SentryWithoutUIKit/SentrySerializable.h>
# import <SentryWithoutUIKit/SentrySpanStatus.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
13 changes: 10 additions & 3 deletions Sources/Sentry/Public/SentrySpanProtocol.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#import "SentrySpanContext.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySerializable.h>
# import <Sentry/SentrySpanContext.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySerializable.h>
# import <SentryWithoutUIKit/SentrySpanContext.h>
#endif

NS_ASSUME_NONNULL_BEGIN

@class SentrySpanId, SentryId, SentryTraceHeader, SentryMeasurementUnit, SentryTraceContext;
Expand Down
9 changes: 7 additions & 2 deletions Sources/Sentry/Public/SentryStacktrace.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#import <Foundation/Foundation.h>

#import "SentryDefines.h"
#import "SentrySerializable.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
9 changes: 7 additions & 2 deletions Sources/Sentry/Public/SentryThread.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
9 changes: 7 additions & 2 deletions Sources/Sentry/Public/SentryTraceHeader.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#import "SentryDefines.h"
#import "SentrySampleDecision.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySampleDecision.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySampleDecision.h>
#endif

@class SentryId, SentrySpanId;

Expand Down
9 changes: 7 additions & 2 deletions Sources/Sentry/Public/SentryTransactionContext.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#import "SentrySampleDecision.h"
#import "SentrySpanContext.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentrySampleDecision.h>
# import <Sentry/SentrySpanContext.h>
#else
# import <SentryWithoutUIKit/SentrySampleDecision.h>
# import <SentryWithoutUIKit/SentrySpanContext.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
9 changes: 7 additions & 2 deletions Sources/Sentry/Public/SentryUser.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#if __has_include(<Sentry/Sentry.h>)
# import <Sentry/SentryDefines.h>
# import <Sentry/SentrySerializable.h>
#else
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentrySerializable.h>
#endif

NS_ASSUME_NONNULL_BEGIN

Expand Down
Loading

0 comments on commit dbd1f86

Please sign in to comment.