Skip to content

Commit

Permalink
Revert "Disable CustomerCenter build flags (#4160)"
Browse files Browse the repository at this point in the history
This reverts commit 9284107.
  • Loading branch information
tonidero authored and JayShortway committed Aug 15, 2024
1 parent 385ab4e commit bbe3fca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ let package = Package(
resources: [
.copy("../Sources/PrivacyInfo.xcprivacy")
],
swiftSettings: [visionOSSetting]),
swiftSettings: [.define("CUSTOMER_CENTER_ENABLED"), visionOSSetting]),
.target(name: "RevenueCat_CustomEntitlementComputation",
path: "CustomEntitlementComputation",
exclude: ["Info.plist", "LocalReceiptParsing/ReceiptParser-only-files"],
Expand All @@ -76,7 +76,7 @@ let package = Package(
.copy("Resources/background.jpg"),
.process("Resources/icons.xcassets")
],
swiftSettings: []),
swiftSettings: [.define("CUSTOMER_CENTER_ENABLED")]),
.testTarget(name: "RevenueCatUITests",
dependencies: [
"RevenueCatUI",
Expand Down
1 change: 1 addition & 0 deletions RevenueCat.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -6790,6 +6790,7 @@
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SUPPORTS_MACCATALYST = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = CUSTOMER_CENTER_ENABLED;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_STRICT_CONCURRENCY = targeted;
SWIFT_TREAT_WARNINGS_AS_ERRORS = YES;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG CUSTOMER_CENTER_ENABLED";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
Expand Down

0 comments on commit bbe3fca

Please sign in to comment.