Post

Replies

Boosts

Views

Activity

Reply to Background terminations increase
Thanks for the reply. It seems clear from the data that something about our app changed to result in the increase in terminations. If it were just due to other apps, I don’t think we’d see quite the same step change. Possibly related: can the system terminate a non-suspended app that is running in the background due to system pressure? That could explain why we don’t see a difference in memory at suspension.
Mar ’25
Reply to NSTextLineFragment crash - how to debug
Thanks for the replies! I just updated the FB with full crash reports. Several users have shared content with us, however it's not entirely clear which part of it is resulting in the crash. So far, our attempts to repro by loading that user-supplied content have not been successful in reproducing the crash. The app uses a variety of text rendering methods: UITextView, UILabel, UITextField, WKWebView. We also use some 3rd-party libraries in certain situations, some of which do appear to use CoreText and TextKit2.
Topic: UI Frameworks SubTopic: UIKit Tags:
Mar ’25
Reply to Xcode 16 beta 6 - unexpected concurrency build issues
Sharing a further cross-post: https://forums.swift.org/t/seeking-workaround-for-issue-76171/74518 I've realized that in our full project, there is other code beyond WKWebView.isInspectable that must also be causing this issue, but I don't know of any good ways to identify all of them. I did find one other piece of code that causes the problem by tearing the project down bit by bit until the error went away — a usage of URL(fileURLWithPath:) within an extension method on WKWebView. Other than being in an extension of WKWebView, it's not clear how this relates to the cause identified in the original post. Suspecting something related to extensions of classes from WebKit, I tried refactoring all such extensions into helper classes, but this did not help.
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’24
Reply to Package.resolved modified unexpectedly when switching git branches outside of Xcode
Also, to clarify — we believe that Xcode is responsible for making the unexpected modifications to Package.resolved for several reasons: The unexpected edits do not occur if the project is not open in Xcode None of the other files in our project are impacted by this problem when changing branches It seems unlikely that 3rd-party tools like the git CLI would contain special treatment for the Package.resolved file.
Jun ’24