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
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:
Replies
Boosts
Views
Activity
Apr ’25
Reply to SwiftUI preview failing with failedToGenerateThunkInfo
Same error and behavior. Fails on 15.3, loads on 15.2. Feedback: FB13722734.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to SwiftUI context menu crash on iOS 14.x
Same crash, and in our case a LazyHStack, instead of LazyHGrid. At least in the most common case.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’24
Reply to Page-based layouts with TextKit 2?
I'm looking for this too. It seems like a glaring oversight. Feedback submitted.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’23
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.
Replies
Boosts
Views
Activity
Jul ’23
Reply to Clicking NSTokenField completion closes Safari Extension's popup window
@bweinstein I guess it's not expected behavior then. I verified the issue doesn't happen when running as a sheet in a normal app also. I uploaded our project in the feedback. I'd love to know if there's an easy fix!
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to Clicking NSTokenField completion closes Safari Extension's popup window
Video of the issue https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExdTNpcXk1NXZtMHY0ZWdrbjAxejc1eXlpbjRkNHBnZ2R2cGhpdmQ1cSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/AkWhUFUXpHcxNYCQz5/giphy.gif
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to Xcode Full Vim Support
I was extremely disappointed to see that there were literally 0 mentions of vim in the Xcode 14 Beta 1 or 2 release notes. Can we at least get the dot operator apple?
Replies
Boosts
Views
Activity
Jun ’22
Reply to Cycle inside AppName with Xcode 13.3 when building App
Try defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 0 to disable the new build system on 13.3.
Replies
Boosts
Views
Activity
May ’22
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
Replies
Boosts
Views
Activity
Oct ’21
Reply to animation(nil) replacement in SwiftUI 3.0 (iOS 15)
You can use something like this as a general replacement to avoid figuring out a value: extension View { func withoutAnimation() -> some View { self.animation(nil, value: UUID()) } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21