Skip to content

Commit

Permalink
Merge branch 'customercenter/testing' of https://github.com/RevenueCa…
Browse files Browse the repository at this point in the history
…t/purchases-ios into james/compatibility-content-unavailable
  • Loading branch information
jamesrb1 committed Aug 17, 2024
2 parents 8c91f4a + 517ad0b commit 710fb2e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 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
3 changes: 2 additions & 1 deletion RevenueCat.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -6471,7 +6471,7 @@
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator xros xrsimulator";
SUPPORTS_MACCATALYST = YES;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG CUSTOMER_CENTER_ENABLED";
"SWIFT_ACTIVE_COMPILATION_CONDITIONS[sdk=xros*]" = "$(inherited) VISION_OS";
"SWIFT_ACTIVE_COMPILATION_CONDITIONS[sdk=xrsimulator*]" = "$(inherited) VISION_OS";
TARGETED_DEVICE_FAMILY = "1,2,3,4,6,7";
Expand Down Expand Up @@ -6820,6 +6820,7 @@
SDKROOT = iphoneos;
SKIP_INSTALL = NO;
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 710fb2e

Please sign in to comment.