Post

Replies

Boosts

Views

Activity

Comment on Debug Failed in Xcode Simulator
Xcode 16.3 does fix this debugger crash. But it caused a whole slew of new crashes in our app. Mostly of these crashes end with: _dispatch_assert_queue_fail We do have a mixed swift concurrency/dispatch queue codebase which could be related. The most common cause I have found is posting to notification centre from a background thread. I am not able to reproduce this issue in an empty project though.
Apr ’25
Comment on TextEditor with a fixedSize and scroll disabled is completely broken
my solution was to wrap a UITextView in UIViewRepresentable. You can implement the new sizeThatFits API in UIViewRepresentable to ensure that the view sizes itself to fit its UIView content. Edit: Also using a TextField with a vertical growing axis seems to work as well. But the return button seems to submit the text field rather than adding new lines like one would expect.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’25
Comment on The new navigationLinkIndicatorVisibility modifier crashes on < iOS 26
its still happening in the live release of Xcode 26. Feedback with project: FB20108722
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Sep ’25
Comment on Debug Failed in Xcode Simulator
Xcode 16.3 does fix this debugger crash. But it caused a whole slew of new crashes in our app. Mostly of these crashes end with: _dispatch_assert_queue_fail We do have a mixed swift concurrency/dispatch queue codebase which could be related. The most common cause I have found is posting to notification centre from a background thread. I am not able to reproduce this issue in an empty project though.
Replies
Boosts
Views
Activity
Apr ’25
Comment on TextEditor with a fixedSize and scroll disabled is completely broken
my solution was to wrap a UITextView in UIViewRepresentable. You can implement the new sizeThatFits API in UIViewRepresentable to ensure that the view sizes itself to fit its UIView content. Edit: Also using a TextField with a vertical growing axis seems to work as well. But the return button seems to submit the text field rather than adding new lines like one would expect.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’25
Comment on iOS app crashing immediately when trying to run it natively on apple silicon Mac
In a brand new project it works fine. Which is why I suspect something is wrong with our build config. I am just not sure where to begin because the app does not even reach the app delegate.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on How do I use async/await with NotificationCenter?
I figured it out, solution below
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Nov ’21