Hi,
I just submitted a new app to the App Store, but I’ve now noticed some logs in Xcode related to RevenueCat.
WARN: Signature failed verification
ERROR: Request to getOfferings(appUserID: "AppUserID") failed verification. This is likely due to a malicious user intercepting and modifying requests.
WARN: Signature failed verification
ERROR: Request to getCustomerInfo(appUserID: "AppUserID") failed verification. This is likely due to a malicious user intercepting and modifying requests.
Do you know what could be causing these errors? I’d really appreciate your help.
Below is the code I’m using to check the subscription status:
import RevenueCat
import OSLog
public final class SubscriptionManager: ObservableObject {
private var entitlementId: String = ""
@Published public var subscriptionActive: Bool = false {
didSet {
Logger.subscription.log("Subscription status changed: \(self.subscriptionActive)")
}
}
@Published var customerInfo: CustomerInfo? {
didSet {
subscriptionActive = customerInfo?.entitlementstself.entitlementId]?.isActive == true
}
}
public init(apiKey: String, entitlementId: String) {
self.entitlementId = entitlementId
Purchases.configure(withAPIKey: apiKey)
}
@MainActor
public func refreshCustomerInfo() async {
customerInfo = try? await Purchases.shared.customerInfo()
Logger.subscription.log("Customer info refreshed successfully")
}
public func purchased(data: PurchaseResultData) {
Logger.subscription.log("Purchase details - Product: \(data.transaction?.productIdentifier ?? "")")
customerInfo = data.customerInfo
}
}
SDK version: 5.22.2