Post

Replies

Boosts

Views

Activity

Comment on Xcode preview crashes all the time
I sincerely believe that the best way to solve a problem is to provide a step-by-step guide or sample code that can 100% reproduce the issue, rather than diagnostic data. Although I encountered a different issue, I noticed that every time it was related to Preview, the request was always for diagnostic data feedback. I believe this is not very efficient.
Jul ’23
Comment on Xcode 15 beta 3 linker issue: ld: warning: duplicate -rpath
@fish aside ;hsdf; las;dlf How do you link your library in your project? I use Swift package and link the library dynamically. And I saw this warning only on beta 3.
Replies
Boosts
Views
Activity
Jul ’23
Comment on Xcode preview crashes all the time
I sincerely believe that the best way to solve a problem is to provide a step-by-step guide or sample code that can 100% reproduce the issue, rather than diagnostic data. Although I encountered a different issue, I noticed that every time it was related to Preview, the request was always for diagnostic data feedback. I believe this is not very efficient.
Replies
Boosts
Views
Activity
Jul ’23
Comment on Any better way to write multi-family Widget #Preview macro?
Cool. The canvas setting is really helpful. Thank you very much!
Replies
Boosts
Views
Activity
Jul ’23
Comment on Xcode 15 beta 3 linker issue: ld: warning: duplicate -rpath
-ld64 saves me a day. And thanks for reporting a FB! I hope Apple can fix this issue in the next beta...
Replies
Boosts
Views
Activity
Jul ’23
Comment on Xcode 15 beta 3 linker issue: ld: warning: duplicate -rpath
and the warnings appeared in watchOS target.
Replies
Boosts
Views
Activity
Jul ’23
Comment on Xcode 15 + iOS 17 adds extra padding to widgets
@aviwad Thanks for the update! Confirmed contentMarginsDisabled() is back deployed to iOS 15/macOS 12/watchOS 9.0.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23
Comment on Xcode 15 beta 6: is xrOS no longer considered as iOS?
Thanks for the reply! After careful consideration, I think this modification is in line with the convention of os() conditional compilation, even if it will bring a lot of code changes. Because #if os(iOS)/os(macOS)/os(watchOS)/os(tvOS)/os(visionOS) should be mutually exclusive.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’23
Comment on Xcode 15 beta 6: ld: warning: building for 'macCatalyst', but linking in dylib built
FB12900696
Replies
Boosts
Views
Activity
Aug ’23
Comment on Does HealthKit in iOS 17 provide any APIs related to mood tracking?
Thanks for sharing the information!
Replies
Boosts
Views
Activity
Aug ’23
Comment on Failed to preview iOS app due to RealityKitContent.rkassets (should be linked only on visionOS)
typo: I can => I can't
Replies
Boosts
Views
Activity
Sep ’23
Comment on Failed to preview iOS app due to RealityKitContent.rkassets (should be linked only on visionOS)
Thanks for the response. Here are the steps to generate the "helpful diagnostics": (1) Clone my demo project at https://github.com/gongzhang/rkassets-preview-issue-demo (2) Open preview window for ContentView.swift (failed) (3) Click the "Diagnostics" button in the error banner
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
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 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 Conditionally Migrate WatchOS 10 users ONLY to WidgetKit
👍
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’23