Post

Replies

Boosts

Views

Activity

Comment on CloudKit Console - Internal Error during Query Records
@Developer Tools Engineer Thank you for providing useful suggestions! I found that the occurrence of NOT_FOUND errors in October is 10 times that of the past. And the logs collected on user devices also show a relation to CKError.Code.unknownItem. I also observed that CKFetchSubscriptionsOperation would return an internal CKPrettyError (not a CKError), which should also be a problem. I will submit a FB after further research.
Oct ’23
Comment on JSONEncoder: How to sort keys using "localizedStandardCompare"? (just like how Xcode 16 serialize a xcstrings file)
🤔 Hmm... I see. From my understanding, Foundation fixed JSONEncoder.sortedKeys in macOS Sequoia, but not the old JSONSerialization. If I use JSONSerialization, I can get stable serialization outputs just like Xcode 15 and 16. But if I use JSONEncoder, the output will be different.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’24
Comment on Unable to scroll the list under View.safeAreaInset()
Thanks for the fast reply!!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24
Comment on Is there a `isiOSAppOnVision` flag to check iOS app on Vision Pro at runtime?
Update: Sorry for the misleading. This is a hack, not a solution. It's not recommended. Use it at your own risk.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’24
Comment on Tapping tab icon causes incorrect navigation title layout in SwiftUI on iOS 18
Thanks for the reply! Just filed a FB: FB15038185
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24
Comment on WidgetBundleBuilder crash on #available(iOS 18.0) check: WidgetBundleBuilder includes an unknown OS version
Thanks for the reply! I suppose this bug is on iOS 17, right? Just want to make sure the result builder won’t crash again on iOS 18 when iOS 19 is released next year. 😅
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Comment on ControlConfigurationIntent won't open the app despite setting openAppWhenRun = true
🤔 This looks good but does not work in my app. The app can be opened but the deep link is not send to the app.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Comment on Timestamps of CADisplayLink are incorrect in iOS 18 simulator
I can still reproduce the issue on my MacBook Pro 15 inch (M3 Max), with latest Xcode 16 beta 6 and iOS 18.0 beta 7 (22A5342a), and the macOS version is 14.5 (23F79). The iOS 17 simulators are all fine. Physical devices are also no problem. 🤔
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Comment on Any better way to write multi-family Widget #Preview macro?
Good idea! Thanks for the reply.
Replies
Boosts
Views
Activity
May ’24
Comment on Xcode Canvas Simulator cause multiple diagnosticd processes to run and 100% CPU
🥹Thank heavens! I've been putting up with this bug for at least two years. It's confirmed that the issue no longer exists in Xcode 15.1 + iOS 17.2 simulator.
Replies
Boosts
Views
Activity
Dec ’23
Comment on Xcode 14 and proxies
Thanks! Saved me a day :)
Replies
Boosts
Views
Activity
Nov ’23
Comment on CloudKit Console - Internal Error during Query Records
@Developer Tools Engineer Thank you for providing useful suggestions! I found that the occurrence of NOT_FOUND errors in October is 10 times that of the past. And the logs collected on user devices also show a relation to CKError.Code.unknownItem. I also observed that CKFetchSubscriptionsOperation would return an internal CKPrettyError (not a CKError), which should also be a problem. I will submit a FB after further research.
Replies
Boosts
Views
Activity
Oct ’23
Comment on Conditionally Migrate WatchOS 10 users ONLY to WidgetKit
👍
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’23
Comment on NavigationStack on iOS 17: NavigationStack can't maintain cell selection effect and experiences jumping
@NSCruiser No update :(
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’23
Comment on Subscribers can't restore purchase because of another Apple ID
A user just reported exact same error when trying refresh the receipt.
Replies
Boosts
Views
Activity
Sep ’23
Comment on Incorrect compact Dynamic Island layout on iOS 17
Thanks!
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23