Post

Replies

Boosts

Views

Activity

Reply to Apple Developer Program Membership PLUS Signage Fee PLUS Notarization Fee?
seemed to suggest that signing and notarizing are two separate processes They are. You can sign without notarizing, but you can't notarize without signing. To distribute an iOS app, you pretty much have to put it on the iOS app store, which also involves signing, but with a different kind of certificate. Mac apps, in contrast, can either be notarized and distributed however you want, or can be posted on Apple's Mac app store.
Topic: Code Signing SubTopic: Notarization Tags:
Feb ’24
Reply to Quick Look Preview Extension
There are two ways to see a preview of a file in the Finder. Select the file and tap the Space bar. Select the file, do Get Info (command-I) and then open the Preview section of the info window. Both of these methods use the same Quick Look extension mechanism, so I think it is you who has misunderstood.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’24
Reply to Is the Hardened Runtime required for Mac Apps Now?
Xcode complains that the hardened runtime isn't enabled for these prebuilt executables. At what point does Xcode complain about that? It surprises me, because the hardened runtime is specified during code signing (you can do it on the command line with codesign --options=runtime) and submitting for notarization involves Xcode signing all the executables in the application, even if they're already signed.
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’24
Reply to Chapter titles missing when writing with AVAssetWriter
Years ago I wrote code that created a movie with chapter titles that showed up in QuickTime Player. At some point it stopped working, possibly due to changes in QuickTime Player. I don't know whether today's QuickTime Player is even capable of showing chapter titles. But for what it's worth, I can tell you that my text track used a media type of text, not metadata.
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’24
Reply to Missing mouseUp events
Thanks for the reassurance that it may not just be me. But I can't reproduce the problem in a toy project, so there's probably not much point in filing a feedback. I think I''l just hack a workaround: When I see a second-click mouse-up event in nextEventMatchingMask:untilDate:inMode:dequeue:, I'll directly dispatch it if it hits a view that responds to a custom selector doubleClick:.
Topic: UI Frameworks SubTopic: AppKit Tags:
Jan ’24
Reply to System Programming in MacOS.. where to start?
It is possible to send mouse and keyboard events using functions such as CGEventPost and CGEventPostToPid. Doing so requires that the user grant permission in System Settings > Privacy & Security > Accessibility. You can request that the user be asked to provide this permission using CGRequestPostEventAccess. I know less about how to actually locate buttons and text fields in an app that is not your own. I think this would involve accessibility APIs. The Accessibility Programming Guide unfortunately seems to be all about making an app accessible, not using accessibility APIs. Here's a possible place to start: https://stackoverflow.com/questions/69002718/how-get-ui-elements-of-a-window-swift
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’24
Reply to Making filecopy faster by changing block size
I'm asking because the value returned by URLResourceKey.preferredIOBlockSizeKey for my Macintosh HD is 1048576, but significantly increasing the block size of filecopy from the "preferred" 1KB to 1MB or higher usually performs better. Why do you say preferred 1KB, when in the same sentence you say the preferred block size is 1MB?
Topic: App & System Services SubTopic: General Tags:
Jan ’24