diff --git a/RevenueCatUI/CustomerCenter/Views/CompatibilityTopBarTrailing.swift b/RevenueCatUI/CustomerCenter/Views/CompatibilityTopBarTrailing.swift index eb5b1ff4b0..4d24763e98 100644 --- a/RevenueCatUI/CustomerCenter/Views/CompatibilityTopBarTrailing.swift +++ b/RevenueCatUI/CustomerCenter/Views/CompatibilityTopBarTrailing.swift @@ -19,7 +19,7 @@ import SwiftUI internal extension ToolbarItemPlacement { static var compatibleTopBarTrailing: ToolbarItemPlacement { - #if swift(>=5.9) + #if swift(>=5.9) && !os(macOS) if #available(iOS 14.0, tvOS 14.0, watchOS 10.0, *) { return .topBarTrailing } else { diff --git a/Tests/APITesters/AllAPITests/SwiftAPITester/CustomerCenterConfigDataAPI.swift b/Tests/APITesters/AllAPITests/SwiftAPITester/CustomerCenterConfigDataAPI.swift index 45425380ea..e3b98eadb4 100644 --- a/Tests/APITesters/AllAPITests/SwiftAPITester/CustomerCenterConfigDataAPI.swift +++ b/Tests/APITesters/AllAPITests/SwiftAPITester/CustomerCenterConfigDataAPI.swift @@ -16,12 +16,14 @@ func checkCustomerCenterConfigData(_ data: CustomerCenterConfigData) { let localization: CustomerCenterConfigData.Localization = data.localization let support: CustomerCenterConfigData.Support = data.support let lastPublishedAppVersion = data.lastPublishedAppVersion + let productId = data.productId let _: CustomerCenterConfigData = .init(screens: screens, appearance: appearance, localization: localization, support: support, - lastPublishedAppVersion: lastPublishedAppVersion) + lastPublishedAppVersion: lastPublishedAppVersion, + productId: productId) } func checkHelpPath(_ path: CustomerCenterConfigData.HelpPath) {