Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Solve the "Double-quoted include" warnings #2051

Closed
wants to merge 4 commits into from
Closed
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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

### Fixes

- Solve the "Double-quoted include" warnings (#2051)

## 7.25.1

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion Sources/Sentry/Public/PrivateSentrySDKOnly.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import <Foundation/Foundation.h>

#import "SentryDefines.h"
#import <Sentry/SentryDefines.h>

@class SentryEnvelope, SentryDebugMeta, SentryAppStartMeasurement, SentryScreenFrames,
SentryOptions;
Expand Down
84 changes: 42 additions & 42 deletions Sources/Sentry/Public/Sentry.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,45 +6,45 @@ FOUNDATION_EXPORT double SentryVersionNumber;
//! Project version string for Sentry.
FOUNDATION_EXPORT const unsigned char SentryVersionString[];

#import "PrivateSentrySDKOnly.h"
#import "SentryAppStartMeasurement.h"
#import "SentryAttachment.h"
#import "SentryBreadcrumb.h"
#import "SentryClient.h"
#import "SentryCrashExceptionApplication.h"
#import "SentryDebugImageProvider.h"
#import "SentryDebugMeta.h"
#import "SentryDefines.h"
#import "SentryDsn.h"
#import "SentryEnvelope.h"
#import "SentryEnvelopeItemType.h"
#import "SentryError.h"
#import "SentryEvent.h"
#import "SentryException.h"
#import "SentryFrame.h"
#import "SentryHub.h"
#import "SentryId.h"
#import "SentryIntegrationProtocol.h"
#import "SentryMechanism.h"
#import "SentryMechanismMeta.h"
#import "SentryMessage.h"
#import "SentryNSError.h"
#import "SentryOptions.h"
#import "SentrySDK.h"
#import "SentrySampleDecision.h"
#import "SentrySamplingContext.h"
#import "SentryScope.h"
#import "SentryScreenFrames.h"
#import "SentrySdkInfo.h"
#import "SentrySerializable.h"
#import "SentrySession.h"
#import "SentrySpanContext.h"
#import "SentrySpanId.h"
#import "SentrySpanProtocol.h"
#import "SentrySpanStatus.h"
#import "SentryStacktrace.h"
#import "SentryThread.h"
#import "SentryTraceHeader.h"
#import "SentryTransactionContext.h"
#import "SentryUser.h"
#import "SentryUserFeedback.h"
#import <Sentry/PrivateSentrySDKOnly.h>
#import <Sentry/SentryAppStartMeasurement.h>
#import <Sentry/SentryAttachment.h>
#import <Sentry/SentryBreadcrumb.h>
#import <Sentry/SentryClient.h>
#import <Sentry/SentryCrashExceptionApplication.h>
#import <Sentry/SentryDebugImageProvider.h>
#import <Sentry/SentryDebugMeta.h>
#import <Sentry/SentryDefines.h>
#import <Sentry/SentryDsn.h>
#import <Sentry/SentryEnvelope.h>
#import <Sentry/SentryEnvelopeItemType.h>
#import <Sentry/SentryError.h>
#import <Sentry/SentryEvent.h>
#import <Sentry/SentryException.h>
#import <Sentry/SentryFrame.h>
#import <Sentry/SentryHub.h>
#import <Sentry/SentryId.h>
#import <Sentry/SentryIntegrationProtocol.h>
#import <Sentry/SentryMechanism.h>
#import <Sentry/SentryMechanismMeta.h>
#import <Sentry/SentryMessage.h>
#import <Sentry/SentryNSError.h>
#import <Sentry/SentryOptions.h>
#import <Sentry/SentrySDK.h>
#import <Sentry/SentrySampleDecision.h>
#import <Sentry/SentrySamplingContext.h>
#import <Sentry/SentryScope.h>
#import <Sentry/SentryScreenFrames.h>
#import <Sentry/SentrySdkInfo.h>
#import <Sentry/SentrySerializable.h>
#import <Sentry/SentrySession.h>
#import <Sentry/SentrySpanContext.h>
#import <Sentry/SentrySpanId.h>
#import <Sentry/SentrySpanProtocol.h>
#import <Sentry/SentrySpanStatus.h>
#import <Sentry/SentryStacktrace.h>
#import <Sentry/SentryThread.h>
#import <Sentry/SentryTraceHeader.h>
#import <Sentry/SentryTransactionContext.h>
#import <Sentry/SentryUser.h>
#import <Sentry/SentryUserFeedback.h>
2 changes: 1 addition & 1 deletion Sources/Sentry/Public/SentryAppStartMeasurement.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "SentryDefines.h"
#import <Sentry/SentryDefines.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
4 changes: 2 additions & 2 deletions Sources/Sentry/Public/SentryAttachment.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#import <Sentry/SentryDefines.h>
#import <Sentry/SentrySerializable.h>

NS_ASSUME_NONNULL_BEGIN

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

#import "SentryDefines.h"
#import "SentrySerializable.h"
#import <Sentry/SentryDefines.h>
#import <Sentry/SentrySerializable.h>

NS_ASSUME_NONNULL_BEGIN

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

#import "SentryDefines.h"
#import <Sentry/SentryDefines.h>

@class SentryOptions, SentrySession, SentryEvent, SentryEnvelope, SentryScope, SentryFileManager,
SentryId, SentryUserFeedback, SentryTransaction;
Expand Down
2 changes: 1 addition & 1 deletion Sources/Sentry/Public/SentryDebugImageProvider.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "SentryDefines.h"
#import <Foundation/Foundation.h>
#import <Sentry/SentryDefines.h>

@class SentryDebugMeta, SentryThread;

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

#import "SentrySerializable.h"
#import <Sentry/SentrySerializable.h>

NS_ASSUME_NONNULL_BEGIN

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

#import "SentryDefines.h"
#import <Sentry/SentryDefines.h>

@class SentryEvent, SentrySession, SentrySdkInfo, SentryId, SentryUserFeedback, SentryAttachment,
SentryTransaction, SentryTraceContext, SentryClientReport;
Expand Down
2 changes: 1 addition & 1 deletion Sources/Sentry/Public/SentryError.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "SentryDefines.h"
#import <Foundation/Foundation.h>
#import <Sentry/SentryDefines.h>

NS_ASSUME_NONNULL_BEGIN

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

#import "SentryDefines.h"
#import "SentrySerializable.h"
#import <Sentry/SentryDefines.h>
#import <Sentry/SentrySerializable.h>

NS_ASSUME_NONNULL_BEGIN

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

#import "SentryDefines.h"
#import "SentrySerializable.h"
#import <Sentry/SentryDefines.h>
#import <Sentry/SentrySerializable.h>

NS_ASSUME_NONNULL_BEGIN

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

#import "SentrySerializable.h"
#import <Sentry/SentrySerializable.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
6 changes: 3 additions & 3 deletions Sources/Sentry/Public/SentryHub.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import "SentryDefines.h"
#import "SentryIntegrationProtocol.h"
#import "SentrySpanProtocol.h"
#import <Sentry/SentryDefines.h>
#import <Sentry/SentryIntegrationProtocol.h>
#import <Sentry/SentrySpanProtocol.h>

@class SentryEvent, SentryClient, SentryScope, SentrySession, SentryUser, SentryBreadcrumb,
SentryId, SentryUserFeedback, SentryEnvelope, SentryTransactionContext;
Expand Down
4 changes: 2 additions & 2 deletions Sources/Sentry/Public/SentryIntegrationProtocol.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#import <Foundation/Foundation.h>

#import "SentryDefines.h"
#import "SentryOptions.h"
#import <Sentry/SentryDefines.h>
#import <Sentry/SentryOptions.h>

NS_ASSUME_NONNULL_BEGIN

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

#import "SentryDefines.h"
#import "SentrySerializable.h"
#import <Sentry/SentryDefines.h>
#import <Sentry/SentrySerializable.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
4 changes: 2 additions & 2 deletions Sources/Sentry/Public/SentryMechanismMeta.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#import <Foundation/Foundation.h>
#import <Sentry/SentryDefines.h>
#import <Sentry/SentrySerializable.h>

@class SentryNSError;

Expand Down
4 changes: 2 additions & 2 deletions Sources/Sentry/Public/SentryMessage.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#import <Foundation/Foundation.h>
#import <Sentry/SentryDefines.h>
#import <Sentry/SentrySerializable.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
4 changes: 2 additions & 2 deletions Sources/Sentry/Public/SentryNSError.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#import <Foundation/Foundation.h>
#import <Sentry/SentryDefines.h>
#import <Sentry/SentrySerializable.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
4 changes: 2 additions & 2 deletions Sources/Sentry/Public/SentryOptions.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "SentryDefines.h"
#import "SentryProfilingConditionals.h"
#import <Sentry/SentryDefines.h>
#import <Sentry/SentryProfilingConditionals.h>

NS_ASSUME_NONNULL_BEGIN

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

#import "SentryDefines.h"
#import <Sentry/SentryDefines.h>

@protocol SentrySpan;

Expand Down
6 changes: 3 additions & 3 deletions Sources/Sentry/Public/SentryScope.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#import "SentrySpanProtocol.h"
#import <Sentry/SentryDefines.h>
#import <Sentry/SentrySerializable.h>
#import <Sentry/SentrySpanProtocol.h>

@class SentryUser, SentrySession, SentryOptions, SentryBreadcrumb, SentryAttachment;

Expand Down
4 changes: 2 additions & 2 deletions Sources/Sentry/Public/SentryScreenFrames.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "SentryDefines.h"
#import "SentryProfilingConditionals.h"
#import <Sentry/SentryDefines.h>
#import <Sentry/SentryProfilingConditionals.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
2 changes: 1 addition & 1 deletion Sources/Sentry/Public/SentrySdkInfo.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "SentrySerializable.h"
#import <Foundation/Foundation.h>
#import <Sentry/SentrySerializable.h>

NS_ASSUME_NONNULL_BEGIN

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

#import "SentryDefines.h"
#import <Sentry/SentryDefines.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
4 changes: 2 additions & 2 deletions Sources/Sentry/Public/SentrySession.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#import <Sentry/SentryDefines.h>
#import <Sentry/SentrySerializable.h>

@class SentryUser;

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

NS_ASSUME_NONNULL_BEGIN

Expand Down
6 changes: 3 additions & 3 deletions Sources/Sentry/Public/SentrySpanProtocol.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#import "SentrySpanContext.h"
#import <Sentry/SentryDefines.h>
#import <Sentry/SentrySerializable.h>
#import <Sentry/SentrySpanContext.h>

NS_ASSUME_NONNULL_BEGIN

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

#import "SentryDefines.h"
#import "SentrySerializable.h"
#import <Sentry/SentryDefines.h>
#import <Sentry/SentrySerializable.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
4 changes: 2 additions & 2 deletions Sources/Sentry/Public/SentryThread.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#import <Sentry/SentryDefines.h>
#import <Sentry/SentrySerializable.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
4 changes: 2 additions & 2 deletions Sources/Sentry/Public/SentryTraceHeader.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import "SentryDefines.h"
#import "SentrySampleDecision.h"
#import <Foundation/Foundation.h>
#import <Sentry/SentryDefines.h>
#import <Sentry/SentrySampleDecision.h>

@class SentryId, SentrySpanId;

Expand Down
4 changes: 2 additions & 2 deletions Sources/Sentry/Public/SentryTransactionContext.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "SentrySampleDecision.h"
#import "SentrySpanContext.h"
#import <Sentry/SentrySampleDecision.h>
#import <Sentry/SentrySpanContext.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
4 changes: 2 additions & 2 deletions Sources/Sentry/Public/SentryUser.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#import <Sentry/SentryDefines.h>
#import <Sentry/SentrySerializable.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
4 changes: 2 additions & 2 deletions Sources/Sentry/Public/SentryUserFeedback.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "SentryDefines.h"
#import "SentrySerializable.h"
#import <Sentry/SentryDefines.h>
#import <Sentry/SentrySerializable.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down