Post

Replies

Boosts

Views

Activity

Reply to How to use SKTestSession in UI Tests?
I have a fascinating observation. StoreKit testing works when unit and UI tests are built with Debug configuration and refuses to work if they are built with Release or Profile configurations. I didn't find any mentions about it in the documentation, so I'd like to ask Apple Frameworks Engineers to tell us more details about the specifics and what configuration is required for SKTestSession to work. Thank you!
Nov ’20
Reply to Weird Swift concurrency warnings when building Swift project with Xcode 14.3
I set SWIFT_STRICT_CONCURRENCY to Complete, and the only warnings I get are the ones regarding _preview and _platform: .../SwiftUI.PreviewProvider:4:34: Main actor-isolated static property '_previews' cannot be used to satisfy nonisolated protocol requirement .../SwiftUI.PreviewProvider:5:34: Main actor-isolated static property '_platform' cannot be used to satisfy nonisolated protocol requirement .../SwiftUI.PreviewProvider:4:34: Main actor-isolated static property '_previews' cannot be used to satisfy nonisolated protocol requirement .../SwiftUI.PreviewProvider:5:34: Main actor-isolated static property '_platform' cannot be used to satisfy nonisolated protocol requirement I've seen these warnings in my main project, but as far as I know, they do not appear when building with Xcode 15. And still, no warnings related to key paths, as shown in the original post.
Jun ’23
Reply to Xcode Organiser is trying to download crashes from wrong account after transferring app
I have the same issue, but my account is logged in correctly, and I can download reports for all products but one. More specifically, it says: Access Restricted with bundle id: com.company.app.quicklook. Or com.company.app.widgets. It indicates crashes or other information related to our QuickLook and Widgets extensions that block crash logs from downloading. Did anyone face a similar issue?
Jun ’23
Reply to Promotional Offer Errors
We had the same issue in one of our projects. The problem was that our backend used a production key to sign the payload. But for StoreKit testing, you have to use the test key. To retrieve that key: Open your .storekit file in Xcode Go to Editor > Subscription Offers Key Copy the key and Key ID Use that key to sign your offers for the sandbox environment.
Jun ’24