Post

Replies

Boosts

Views

Activity

Reply to Memory consumption of apps under macOS 26 "Tahoe"
I just attached an allocation trace to the FB I run with my productive app on macOS 26.2. "Instruments" is showing a peak of 128 MB allocated memory, while "Activity Monitor" is showing approx. 50 MB on macOS 15. Unfortunately, I wasn't able to collect a similar allocation trace with macOS 15.6.1: It's running in a VM, and due to restrictions of virtual machines I cannot register my Apple development account for proper application signing - but I'm happy to go this extra mile if DTS was able to provide related instructions. Looking forward to any response in the ticket...
4w
Reply to Memory consumption of apps under macOS 26 "Tahoe"
Hi Albert, Thanks for your swift reply! I had used Instruments to analyze the app's memory allocations and releases without identifying any significant memory leak (under macOS 26). I'm happy to dive deeper supply an Instrument trace in the corresponding ticket, these days. On the macOS 15 virtual machine, Xcode / Instruments is not installed, but honestly I expect other developers to have similar observations, and I'm not talking about some minor increase, but (in my productive app) by five times... Regarding the mentioned consumption by Thumbnail - which was way beyond any justified memory allocation: I could neither reproduce the customer's issue, nor debug / analyze app's Preview / Thumbnail extensions (actually I filed a corresponding DTS ticket): Without "qlmanage" to work for modern extensions, Xcode is not properly attaching the running extension to the Finder - or is just me, missing some concrete instructions (what I asked for in the DTS request). Don't get me wrong, I'm willing to provide more information if / when my time allows, but it honestly looks like Tahoe has some serious memory management issues, and I'd appreciate your teams taking developer's feedback as a call for action...
Feb ’26
Reply to NSRulerView's background color and transparency (macOS 26)
Okay, let's try to sort this out a bit - I was confused facing a couple of different issues: NSRulerViews are showing inconsistent Backgrounds: With macOS 26 NSRulerViews are showing a very different layout, not only in contrast to prior macOS versions, but also inconsistent between horizontal and vertical rulers. I filed a corresponding bug report (FB20342342) The horizontal ruler view is showing with a solid color. I assume the color is selected based on the first line of the inner view, because with a transparent content view the scrollview's background color is used, otherwise the content view's background color. The vertical ruler view is using a much lighter or transparent version of the content view's background, what I would consider the intended (and expected) behavior. NSRulerView is obscuring content in full screen: Custom apps are facing an incorrect behavior of NSRulerViews when running in full screen: The height of the horizontal ruler is increased, obscuring the top of the clipview. I observed this issue with one of my apps, but was able to replicate it with a minimal sample app, using a scrollable text view with rulers, refer to the attached screenshots. Again, I files a bug report (FB20342122) Window mode: Full Screen:
Topic: UI Frameworks SubTopic: AppKit Tags:
Sep ’25
Reply to macOS 26: Automator 3rd party actions cannot be configured
Unfortunately, the filed bug report was not acknowledged by Apple - it is still open, no feedback or status report was given, and macOS 26 "Tahoe" was shipped with the very same issue. @DTS Engineer : Quinn, you should know that I value your contributions in this forum the highest ... but I see a pattern when looking at my bug reports: After migrating from RADARs to the Feedback Assistent, almost all of them are lacking substainable feedback by Apple. Maybe something you can address internally...?
Sep ’25
Reply to How to debug Quick Look Preview Extension
It might be me - most likely it is - but I'm not able to debug my macOS Preview extensions either: I launch the app with the embedded appex from Xcode in debug mode. When trying to attach to the appex process the following error is reported: Domain: IDEDebugSessionErrorDomain Code: 6 Failure Reason: Ensure “AppName Preview” is not already running, and matthias has permission to debug it. User Info: {... } -- System Information macOS Version 15.4.1 (Build 24E263) Xcode 16.3 (23785) (Build 16E140) Timestamp: 2025-05-12T14:07:14+02:00 I'm using a standard user account (no admin) and might miss some obvious steps. Can someone detail the steps to debug a Preview (or Thumbnail) extension with Xcode 16? For legacy Quick Look plugins I was using "qlmanage", but that's not working on extensions... All the best, Matthias
Topic: App & System Services SubTopic: General Tags:
May ’25
Reply to StoreKit2 - Maintain property of purchased products
Problem solved! I created a small sample project with a similar construction which just worked: Even async functions could access the class property, while my StoreManager received the following error: Passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure. By defining StoreManager class as a @MainActor, access to the mentioned property is possible across threads. All asynchronous / delaying work is done in threads, so I'm fine with forcing the StoreManager to the main thread, no performance impact can be observed. I assume (!) my sample code was just working as its functions were located in a UIViewController, residing on the main thread anyway. But that's only an (educated) guess...
Topic: App & System Services SubTopic: StoreKit Tags:
Jan ’25
Reply to StoreKit2 - Maintain property of purchased products
Hi Quinn, [quote='820522022, DTS Engineer, /thread/772090?answerId=820522022#820522022'] It sounds like you have a mix of Swift and Objective-C, and some of those clients are in Objective-C. Is that right? [/quote] Exactly! Actually, most of those clients are currently Objective-C classes because StoreKit2 as Swift-only is the main reason to migrate StoreManager. I totally agree to your mention of a "snapshot" - that's what I meant when calling the array a kind of cache, for the lack of better words: It only provides the "point-in-time" state of purchased products, and all clients are notified via NSNotificationCenter when their data was updated. Access to the array property is always in sync calls without blocking / waiting for any asynchronous call to finish.
Topic: App & System Services SubTopic: StoreKit Tags:
Jan ’25