Posts

Post not yet marked as solved
9 Replies
When I grep the sample code project for vImagePiecewiseGamma_Planar8, I get no hits. So in what sense is your code a translation?
Post marked as solved
1 Replies
Is the array allocated on the heap (e.g., with malloc) or on the stack? In the latter case, you may be exceeding the available size of the stack.
Post marked as solved
1 Replies
I ran your file through plutil and it said Encountered unexpected character k on line 23 while looking for close tag That is, you're missing a left angle bracket in the string tag after CFBundleShortVersionString.
Post not yet marked as solved
2 Replies
https://developer.apple.com/download/all/?q=xcode
Post not yet marked as solved
3 Replies
Does your command line tool have an embedded Info.plist? I would guess that Accessibility access is recorded by bundle ID.
Post not yet marked as solved
2 Replies
Quoting the NSUserDefaults documentation: Important Don’t try to access the preferences subsystem directly. Modifying preference property list files may result in loss of changes, delay of reflecting changes, and app crashes. To configure preferences, use the defaults command-line utility in macOS instead.
Post not yet marked as solved
5 Replies
An app for the Mac App Store must be a single app package, but that package can contain nested helpers of various kinds including app packages. And an app store app can contain a login item, but I was told that it can't be required. I think that's in the review guidelines somewhere. My app AutoPairs has radio buttons in the user interface, where one can choose to run the program only when the UI app is open, or always when logged it. I don't use XPC (I use distributed notifications and shared user defaults), but I think you can. You'll be signing the whole package, including any helpers, with the same app store signature.
Post not yet marked as solved
9 Replies
@Justin said: Typically we would expect to see objc_msgSend at the top of the stack trace when a crash occurs due to messaging a deallocated object. Since I originally wrote this post, I updated my app to be universal, and I'm still getting these crash reports. Here's the start of the backtrace, now showing objc_msgSend: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libobjc.A.dylib 0x19f716290 lookUpImpOrForward + 72 1 libobjc.A.dylib 0x19f715f64 _objc_msgSend_uncached + 68 2 AppKit 0x1a3453e54 -[NSControl currentEditor] + 56 3 AppKit 0x1a344ba14 -[NSControl _setWindow:] + 48 4 AppKit 0x1a34ee160 -[NSSegmentedControl _setWindow:] + 52 5 AppKit 0x1a3ebbeb4 __21-[NSView _setWindow:]_block_invoke.146 + 268 6 AppKit 0x1a34344a4 -[NSView _setWindow:] + 1780 7 AppKit 0x1a3ebbeb4 __21-[NSView _setWindow:]_block_invoke.146 + 268 8 AppKit 0x1a34344a4 -[NSView _setWindow:] + 1780 9 AppKit 0x1a3618a70 -[NSWindow dealloc] + 684 A full crash report: crashlog2024-04-14 08-21-26.crash
Post not yet marked as solved
2 Replies
With membership in the Apple developer program, Xcode can create any necessary signing certificates for you. You mentioned the Mac store, but you used the Notarization tag, and you need to understand that those are two separate alternatives. So your first decision is whether you will distribute your software on the Mac App Store or on some other web site. Start here: https://developer.apple.com/macos/distribution/
Post marked as solved
2 Replies
@eskimo Thanks! What I ended up doing is using a delayed perform (which, I gather, uses another timer behind the scenes) to run the dialog. Then my timer fires both inside and outside the dialog.
Post not yet marked as solved
2 Replies
The suggestions by @galad87 are good. I would add that you could set a symbolic breakpoint on -[NSObject doesNotRecognizeSelector:]. I haven't actually tried that, but in theory it should work.
Post marked as solved
2 Replies
You can specify the entitlement com.apple.security.files.downloads.read-write for access to Downloads, but there is no similar entitlement for Desktop.
Post marked as solved
1 Replies
OK, it looks like the problem was that this private tool was not code signed at all. I had no idea that would affect Open Recent.
Post not yet marked as solved
4 Replies
It looks like you're trying to archive a plug-in, not an app. That's why you can't make an app archive. If you need to notarize it, you won't be able to do it using Xcode, you will need to use a more manual approach. See: https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/customizing_the_notarization_workflow?language=objc
Post not yet marked as solved
10 Replies
I'm still having this problem in an outline table with no action or double action and with an implementation of outlineView:pasteboardWriterForItem:.