mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-09 22:35:56 +05:45
This will help us debug flaky tests. Example: > INFO: 😻💰 Purchased product - 'com.revenuecat.monthly_4.99.1_week_intro' DEBUG: ℹ️ Force refreshing the receipt to get latest transactions from Apple. DEBUG: ℹ️ Loaded receipt from url file:///Users/nachosoto/Library/Developer/CoreSimulator/Devices/A3576DC2-355E-45BA-B32C-D2C0A3811BB4/data/Containers/Data/Application/EDF3B7C8-A4BD-4629-813E-0934528AF02E/StoreKit/receipt INFO: ℹ️ Receipt parsed successfully INFO: ℹ️ Receipt content: ["inAppPurchases": [], "creationDate": 2022-09-21 21:00:07 +0000, "opaqueValue": 8 bytes, "applicationVersion": "1", "originalApplicationVersion": "<unknown>", "bundleId": "com.revenuecat.StoreKitTestApp", "expirationDate": 4001-01-01 00:00:00 +0000, "sha1Hash": 20 bytes] /Users/nachosoto/dev/purchases-ios/Tests/BackendIntegrationTests/StoreKitIntegrationTests.swift:64: error: -[BackendIntegrationTests.StoreKit2IntegrationTests testCanPurchaseProduct] : failed - Expected Entitlement. Got: [:] expected to have Dictionary<String, EntitlementInfo> with count 1, got 0 Actual Value: [:] I've also added the receipt as a test attachment so we can download it from `CircleCI`: 