Skip to content

Commit db06d2a

Browse files
authored
chore: Some project config clean up (#3944)
* chore * Update project.pbxproj * Update project.pbxproj
1 parent 3be3d28 commit db06d2a

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

Sentry.xcodeproj/project.pbxproj

+2-6
Original file line numberDiff line numberDiff line change
@@ -1848,7 +1848,6 @@
18481848
D855B3E727D652AF00BCED76 /* SentryCoreDataTrackingIntegrationTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryCoreDataTrackingIntegrationTest.swift; sourceTree = "<group>"; };
18491849
D855B3E927D652C700BCED76 /* TestCoreDataStack.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestCoreDataStack.swift; sourceTree = "<group>"; };
18501850
D856272B2A374A8600FB8062 /* UrlSanitized.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UrlSanitized.swift; sourceTree = "<group>"; };
1851-
D85723EF2BBC3BDC004AC5E1 /* SentryNoUI.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = SentryNoUI.xcconfig; sourceTree = "<group>"; };
18521851
D85790282976A69F00C6AC1F /* TestDebugImageProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestDebugImageProvider.swift; sourceTree = "<group>"; };
18531852
D85852B427ECEEDA00C6D8AE /* SentryScreenshot.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryScreenshot.m; sourceTree = "<group>"; };
18541853
D85852B827EDDC5900C6D8AE /* SentryUIApplication.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryUIApplication.m; sourceTree = "<group>"; };
@@ -2490,7 +2489,6 @@
24902489
84B7FA4729B2995A00AD93B1 /* DeploymentTargets.xcconfig */,
24912490
63AA75C51EB8B00100D153DE /* Sentry.xcconfig */,
24922491
D8199DCF29376FF40074249E /* SentrySwiftUI.xcconfig */,
2493-
D85723EF2BBC3BDC004AC5E1 /* SentryNoUI.xcconfig */,
24942492
);
24952493
path = Configuration;
24962494
sourceTree = "<group>";
@@ -5372,7 +5370,6 @@
53725370
);
53735371
ONLY_ACTIVE_ARCH = YES;
53745372
OTHER_CFLAGS = "-DCARTHAGE_$(CARTHAGE)";
5375-
OTHER_SWIFT_FLAGS = "-DTEST";
53765373
PRODUCT_BUNDLE_IDENTIFIER = io.sentry.Sentry;
53775374
PRODUCT_NAME = Sentry;
53785375
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -5480,7 +5477,7 @@
54805477
};
54815478
841C60C42A69DE6B00E1C00F /* Debug_without_UIKit */ = {
54825479
isa = XCBuildConfiguration;
5483-
baseConfigurationReference = D85723EF2BBC3BDC004AC5E1 /* SentryNoUI.xcconfig */;
5480+
baseConfigurationReference = 63AA75C51EB8B00100D153DE /* Sentry.xcconfig */;
54845481
buildSettings = {
54855482
APPLICATION_EXTENSION_API_ONLY = YES;
54865483
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
@@ -5972,7 +5969,7 @@
59725969
};
59735970
8483D06B2AC7627800143615 /* Release_without_UIKit */ = {
59745971
isa = XCBuildConfiguration;
5975-
baseConfigurationReference = D85723EF2BBC3BDC004AC5E1 /* SentryNoUI.xcconfig */;
5972+
baseConfigurationReference = 63AA75C51EB8B00100D153DE /* Sentry.xcconfig */;
59765973
buildSettings = {
59775974
APPLICATION_EXTENSION_API_ONLY = YES;
59785975
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
@@ -6242,7 +6239,6 @@
62426239
);
62436240
ONLY_ACTIVE_ARCH = YES;
62446241
OTHER_CFLAGS = "-DCARTHAGE_$(CARTHAGE)";
6245-
OTHER_SWIFT_FLAGS = "-DTEST";
62466242
PRODUCT_BUNDLE_IDENTIFIER = io.sentry.Sentry;
62476243
PRODUCT_NAME = Sentry;
62486244
PROVISIONING_PROFILE_SPECIFIER = "";

Sources/Configuration/SDK.xcconfig

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ CLANG_CXX_LIBRARY = libc++
3434
HEADER_SEARCH_PATHS = $(SRCROOT)/Sources/Sentry/include/**
3535

3636
SWIFT_ACTIVE_COMPILATION_CONDITIONS_Debug = DEBUG
37-
SWIFT_ACTIVE_COMPILATION_CONDITIONS_Debug_without_UIKit = DEBUG
37+
SWIFT_ACTIVE_COMPILATION_CONDITIONS_Debug_without_UIKit = DEBUG SENTRY_NO_UIKIT
3838
SWIFT_ACTIVE_COMPILATION_CONDITIONS_Test = TEST
3939
SWIFT_ACTIVE_COMPILATION_CONDITIONS_TestCI = TESTCI
4040
SWIFT_ACTIVE_COMPILATION_CONDITIONS_Release =
41-
SWIFT_ACTIVE_COMPILATION_CONDITIONS_Release_without_UIKit =
41+
SWIFT_ACTIVE_COMPILATION_CONDITIONS_Release_without_UIKit = SENTRY_NO_UIKIT
4242
SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(SWIFT_ACTIVE_COMPILATION_CONDITIONS_$(CONFIGURATION))

Sources/Configuration/SentryNoUI.xcconfig

-5
This file was deleted.

0 commit comments

Comments
 (0)