BUG: Store kit configuration file processing macOS

The same store kit configuration file works in iOS and iPadOS, but not in macOS for the same multi platform application project with a single scheme.

Here’s a more detailed write up with the sample code and screenshots. When the simple app is run on

https://www.reddit.com/r/SwiftUI/s/KJsYcggWOa

EDIT: I’m using Xcode 16.4

Xcode 16.4

Here's the code. It works on iOS/iPadOS but not macOS for the same .storekit file???

import SwiftUI
import StoreKit

public enum License: String, CaseIterable, Identifiable {
    public var id: String { self.rawValue }
    
    case subscriptionLifetimePremium    = "subscription.lifetime"
    case subscriptionYearlyPremium      = "subscription.yearly"
    case subscriptionMonthlyPremium     = "subscription.monthly"
}

struct ContentView: View {
    var body: some View {
        VStack {
            Image(systemName: "globe")
                .imageScale(.large)
                .foregroundStyle(.tint)
            Button("StoreKit Test") {
                Task { @MainActor in
                    // Request our offers from the app store
                    let productIDs = License.allCases.map { $0.rawValue }
                    print("productIDs: \(productIDs)")
                    let productsOffered = try await Product.products(for: Set(productIDs))
                    print("productsOffered: \(productsOffered)")
                }
            }
        }
        .padding()
    }
}```

BUG: Store kit configuration file processing macOS
 
 
Q