Post

Replies

Boosts

Views

Activity

Reply to [Catalina] Quick Look doesn't extend Sandbox for "related items"
More than 7 years later and the issue still exists - even with Preview / Thumbnail extensions: NSFileCoordinator / NSFilePresenter are used (and working with the apps on macOS and iOS), but Console.app is reporting a sandbox violation once a file with related items ("sidecar files") is previewed. Unfortunately, no comment from Apple at all, not even a "works as designed" - what would be strange as the behavior was broken with macOS 10.15...
Topic: UI Frameworks SubTopic: AppKit Tags:
2w
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...
Feb ’26
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 [Catalina] Quick Look doesn't extend Sandbox for "related items"
More than 7 years later and the issue still exists - even with Preview / Thumbnail extensions: NSFileCoordinator / NSFilePresenter are used (and working with the apps on macOS and iOS), but Console.app is reporting a sandbox violation once a file with related items ("sidecar files") is previewed. Unfortunately, no comment from Apple at all, not even a "works as designed" - what would be strange as the behavior was broken with macOS 10.15...
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
2w
Reply to "NSColorPanel.shared.showsAlpha = false" is causing not satisfiable layout constraints (macOS 26)
I hadn't checked for a while, but when updating the corresponding app with macOS / Xcode 26.2 I found this issue fixed - nothing stated in any release note I browsed.
Topic: UI Frameworks SubTopic: AppKit
Replies
Boosts
Views
Activity
Feb ’26
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...
Replies
Boosts
Views
Activity
Feb ’26
Reply to Memory consumption of apps under macOS 26 "Tahoe"
What I just forgot: In the FB ticket I mentioned the Apple ID of my productive app, so you could just run the app under Sequoia and Tahoe ... unfortunately it is way too complex to act as a sample app (that's why I was additionally providing the minimal app with a less dramatic result)...
Replies
Boosts
Views
Activity
Feb ’26
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...
Replies
Boosts
Views
Activity
Feb ’26
Reply to NSRulerView's background color and transparency (macOS 26)
Good news: The issue "NSRulerView is obscuring content in full screen" seems to be fixed with macOS 26.2 Beta. Thanks for the feedback on my bug report, Apple team! ☺️
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Nov ’25
Reply to NSRulerView's background color and transparency (macOS 26)
I'm still unsure if the different color of horizontal ruler views is a bug or the intended design under macOS 26. Therefore, I filed a DTS incident (Apple Developer Technical Support, TSI), asking for a way to customize an NSRulerView's background color...
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Oct ’25
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:
Replies
Boosts
Views
Activity
Sep ’25
Reply to macOS 26: Automator 3rd party actions cannot be configured
Hi Quinn! That's what I did and ... surprise! Thank you!
Replies
Boosts
Views
Activity
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...?
Replies
Boosts
Views
Activity
Sep ’25
Reply to Squicle app icons on macOS 26
Of course I was referring to "squircles" ... my bad!
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’25
Reply to macOS 26: Toolbar items of legacy apps don't respond to Dark Mode changes
Seems to be resolved with beta 5...
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Aug ’25
Reply to ITMS-91109: com.apple.quarantine found in bundle
I just realized that the attribute "com.apple.provenance" was set for the file in question, too. According to some blog article at eclecticlight.co it might cause the quarantine to be reestablished (only an assumption). Still no idea why a newly created localization file requires quarantine... I've removed this attribute as well - wait and see.
Replies
Boosts
Views
Activity
May ’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:
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Jan ’25