Post

Replies

Boosts

Views

Activity

Reply to StoreKit2: .purchase() not working after expiry of subscription in app, but renewing in AppStore sandbox does...
I had the same issue. No matter how many times I called .finish() via Transaction.updates or Product.purchase I always received the same expired transaction instead of a current one. I was able to work around it with the following: extension Product { public func buy(options: Set<PurchaseOption>) async throws -> Purchasable.PurchaseResult { await Transaction.clearUnfinishedTransactionsPrePurchase() let result: Product.PurchaseResult = try await self.purchase(options: options) // Check result ... } } extension Transaction { /// Fixes a bug where unfinished but expired transactions block future purchases. static func clearUnfinishedTransactionsPrePurchase() async { for await unfinished in Transaction.unfinished { let unsafe = unfinished.unsafePayloadValue guard (unsafe.expirationDate ?? .now) < .now else { continue } switch unfinished { case let .unverified(t, _): await t.finish() case let .verified(t): await t.finish() } } } }
Topic: App & System Services SubTopic: StoreKit Tags:
Apr ’25
Reply to Don't open previews automatically
Related to this, the old assistant view was far superior to the multiple editors we have now. I really want the "second editor" to go back to being the assistant view, and have history, previews, etc. all open there. As it is now, I always have a second editor open on the right, which means that when a preview opens (or the history navigator), that editor gets split so it's only 1/4 of the screen which is not usable for me, even on a 34" monitor. If we had the assistant view back, opening previews automatically wouldn't be so frustrating. But it's not an option in Settings -> Navigation -> Optional Navigation.
Jul ’23
Reply to GroupActivities in a Project with Min Deployment Target iOS13
I'm seeing this same issue, but on iOS 15 for iPhone 6s and iPhone 7. Tried adding libswift_Concurrency.tbd but it didn't help. dyld[439]: Symbol not found: _$sScP8rawValues5UInt8Vvg   Referenced from: /private/var/containers/Bundle/Application/45964DC2-70D5-4D0A-83AB-726FA16E46FC/LingQ.app/LingQ   Expected in: /usr/lib/swift/libswift_Concurrency.dylib Symbol not found: _$sScP8rawValues5UInt8Vvg   Referenced from: /private/var/containers/Bundle/Application/45964DC2-70D5-4D0A-83AB-726FA16E46FC/LingQ.app/LingQ   Expected in: /usr/lib/swift/libswift_Concurrency.dylib
Oct ’21