macOS is the operating system for Mac.

Posts under macOS tag

200 Posts

Post

Replies

Boosts

Views

Activity

Supported usage of thread_set_x86_64_compat with cross-architecture-support entitlement
Hi everyone! I am trying to test the com.apple.developer.cross-architecture-support entitlement (as I am developing an x86-64 to ARM64 dynamic binary translation runtime), and I have successfully verified it in an Apple Development-signed native ARM64 application with Hardened Runtime enabled. The macOS SDK exposes the following declaration in <mach/mach_traps.h>: extern kern_return_t thread_set_x86_64_compat(uint32_t enable); However, I cannot locate official documentation describing its supported usage. Could an Apple engineer clarify: Is this a supported API for third-party applications holding the cross-architecture-support entitlement? Does it enable hardware TSO independently for each calling thread? Do newly created threads inherit the setting? Does it affect architectural behaviour beyond memory ordering? Is there a supported mechanism for querying the effective state? Can it be used alongside Hardened Runtime and MAP_JIT? My test environment is an M4 Max running macOS 27.2.1, with Xcode 27.2, and the documented os_cross_arch_is_supported(OS_CROSS_ARCH_X86_64) returns true. I have deliberately avoided invoking the compatibility API until its supported usage is established... Any official documentation or integration guidance would be appreciated.
2
0
57
1h
Can one create an NSBitmapImageRep from floating-point data?
In the documentation of -[NSBitmapImageRep initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bitmapFormat:bytesPerRow:bitsPerPixel:], it says that the bitmap format mask can include NSBitmapFormatFloatingPointSamples, which suggests that the answer is yes, but it also says that the number of bits per component can be at most 16, which suggests that the answer is no.
2
0
1.5k
6h
macOS 27.3: sandboxed app that only blocks key events (PostEvent) has no prompt and gets the full override warning
I make a sandboxed Mac App Store keyboard-lock app (it stops pets from typing). Optional features block key presses with a consuming CGEventTap (.defaultTap at .cghidEventTap). It doesn't read, record, or control other apps. As Quinn explained in thread 857997, a consuming tap uses the PostEvent privilege, which on 27.3 beta 2 is filed under System & App Protection Override. What I'm seeing: Creating the tap no longer prompts, and the app isn't added to the list. AXIsProcessTrustedWithOptions doesn't prompt either (same as thread 860570). The user must add the app manually. A limited "Choose Apps" grant doesn't allow the tap; only "Bypass System Protections" works. That screen warns the app can read all data, view hidden photos, browse as the user, and change settings. As a sandboxed app, it can do none of that. The tap only sees key presses in order to block them, and nothing is stored or sent. Questions: Is there a supported way to request PostEvent on 27.3, such as CGRequestPostEventAccess? Will consuming event taps always require the full override, or is a narrower option planned for input-only apps (keyboard lockers, hotkey apps, text expanders)? Will the upcoming entitlements cover anything beyond assistive technology and backup? Filed as FB25721881
1
0
214
8h
[macOS 27.3 Beta Regression] Enabling "Show Menu Bar Background" Causes Windows to Flicker, Jump, and Resize During Dragging
After updating my MacBook Pro (M4) to macOS 27.3 Beta (26C5035r), application windows flicker or flash while I drag them. They also unexpectedly jump to random positions and change size. This did not happen before the update. I have isolated the behavior to the "Show Menu Bar Background" setting ("Menü çubuğu arka planını göster" in Turkish). With this setting enabled, the problem occurs. Disabling it completely eliminates the problem on the same Mac. Steps to reproduce: Enable "Show Menu Bar Background" in System Settings. Open an application window and drag it by its title bar around the desktop. Observe the flickering/flashing and unexpected changes in position and size. Disable "Show Menu Bar Background" and repeat the dragging action. The problem disappears. Expected behavior: Windows should move smoothly with the pointer and keep their size unless intentionally resized. Actual behavior: Dragged windows flicker, jump, and resize unexpectedly when the menu bar background is enabled. Workaround: Leave "Show Menu Bar Background" disabled. Has anyone else encountered this after the same update? Is there another workaround that allows the menu bar background to remain enabled?
2
1
107
8h
Missing APSL 2.0 notices in Apple SDK headers and libSystem.tbd
Several Apple SDK headers appear to be intended for distribution under the Apple Public Source License 2.0 (APSL 2.0), but their distributed copies are missing the license notice comment in their headers. This is causing a Debian packaging issue because maintainers need to verify the applicable license for these files and record it in debian/copyright. May Apple please confirm that the APSL 2.0 applies to the headers below and add the applicable copyright and license notice as a C comment at the top of each file in a future SDK release? The request is to document the existing license in the distributed files' headers. simd/matrix.h simd/extern.h simd/types.h simd/geometry.h simd/simd.h simd/vector.h simd/logic.h simd/packed.h simd/common.h simd/base.h simd/vector_make.h simd/math.h simd/quaternion.h simd/matrix_types.h simd/vector_types.h simd/conversion.h launch.h xpc/activity.h xpc/listener.h xpc/endpoint.h xpc/session.h xpc/debug.h xpc/peer_requirement.h xpc/rich_error.h xpc/base.h xpc/availability.h xpc/connection.h xpc/xpc.h libSystem.tbdIf any of these files are covered by different terms, or if an existing Apple notice covers these exact SDK files, please point us in the right direction. Thank you.
0
0
16
10h
CNSaveRequest fails with 134092 for any contact that has a note (FB23452026)
A macOS app that never reads or writes notes cannot update a contact that has a note property. CNSaveRequest.update() throws NSCocoaErrorDomain 134092 with NSUnderlyingException "Unhandled error (NSCocoaErrorDomain, 134092) occurred during faulting". CNContactNoteKey is never requested. I reduced it to a minimal app whose only action is toggling familyName, and confirmed the cause in both directions: Create a contact programmatically. The update succeeds. Add a note to it in Contacts.app. The identical update now fails with 134092. Set that note to an empty string. Still fails. Remove the note property entirely. The update succeeds again. Contacts imported from a vCard fail from the start, even when the vCard has no NOTE line and Contacts.app shows no note. Clearing the note property on such a contact also makes the update succeed, so I believe the import attaches the property invisibly. Ruled out: mutableObjects instead of mutableCopy, including or omitting CNContactNoteKey, unified versus non-unified fetches, and the app sandbox (an ad-hoc signed build with no sandbox fails the same way). Full Disk Access does not help. I could not test the entitlement itself: an ad-hoc signed build carrying com.apple.developer.contacts.notes is refused at launch (RBSRequestErrorDomain 5, "Launchd job spawn failed"), since it is a restricted entitlement that needs a provisioning profile. Question: is com.apple.developer.contacts.notes required to update any contact that merely has a note, even when the app never reads or writes notes? If so, what is the expected path for an app that only reorders phone numbers and email addresses? The error itself gives no hint that notes are involved. If anyone here already holds the notes entitlement: does saving succeed for you on a contact that has a note? I have a request pending, and confirming this before it is decided would help a great deal. Environment: macOS 26 (Darwin 25.x), Apple Silicon. Filed as FB23452026.
4
0
625
12h
Exact preservation of com.apple.provenance when copying files on macOS
On a Mac reporting macOS 27.0, build 26A428, copying a small regular file with an existing 11-byte com.apple.provenance value into a new private directory consistently produces a different 11-byte value. fcopyfile(COPYFILE_ALL), forced copyfile cloning with exclusive/no-follow flags, fclonefileat with ACL/no-follow flags, and ditto with resource-fork, extended-attribute, ACL and quarantine preservation all return success. Both default fsetxattr and XATTR_REPLACE, supplied the unchanged opaque source value, also return success without exact readback equality. The source is left unchanged, values are not decoded, and no private flags, elevated privilege or security-setting changes are used. The same outcome occurs when the Python probe is launched from Terminal. Is there a supported public method and documented postcondition for preserving this attribute byte-for-byte on a recoverable copy, including after changing the copy's data fork and atomically replacing an artificial destination? If this is not a supported invariant for this OS-managed attribute, please clarify the public contract. We need guidance on supported preservation, not a private value format or a way to disable protection.
1
0
36
16h
productbuild and Keychain Access concern
productbuild cmd: productbuild --component /Applications/Very\ Large\ Number\ Calculator.app /Applications --sign "3rd Party Mac Developer Installer: Alain_B " /Applications/Very\ Large\ Number\ Calculator.pkg Give this error: Cannot write product to "/Applications/Very Large Number Calculator.pkg". (Could not find appropriate signing identity for “3rd Party Mac Developer Installer: Alain_B ”.) But Keychain Access show "3rd Party Mac Developer Installer" is in Certificates: 3rd Party Mac Developer Application: 10 digits (64......J5) certificate login Nov 10, 2027 at 8:02:04 AM Alain_B private key login 3rd Party Mac Developer Installer: Alain_B (64......J5) certificate login Apr 19, 2027 at 8:32:51AM Apple Development: Alain_B (35......P5) certificate login Oct 19, 2027 at 9:29:59 AM Apple Development: Alain_B (Alain_B ) private key login Apple Distribution: Alain_B (64MZBY64J5) certificate login Oct 26, 2027 at 9:36:16 AM Alain_B private key login Apple Root CA certificate login Feb 9, 2035 at 4:40:36 PM Apple Worldwide Developer Relations Certification Authority certificate login Feb 19, 2030 at 7:00:00 PM Apple Worldwide Developer Relations Certification Authority certificate login Mar 18, 2036 at 8:00:00 PM Developer ID Certification Authority certificate login Feb 1, 2027 at 5:12:15 PM Developer ID Certification Authority certificate login Sep 16, 2031 at 8:00:00 PM What can I do ? Thank you.
5
0
511
1d
JamJar public beta: native expense tracker and budget planner for iPhone and Mac
Platforms: iOS 27+, macOS 27+ Category: Finance TestFlight: https://testflight.apple.com/join/ggy2DuKn Website: https://lifescape.studio/jamjar/ Hi everyone, JamJar is a native expense tracker and budget planner for iPhone and Mac, and I’d love to hear what fellow developers think of it. What JamJar does: Tag spending your own way instead of using fixed categories Set a budget and split it into “Jars”, with charts, forecasts and AI summaries Schedule recurring expenses and get reminders before they’re due Scan receipts (iOS) or attach them (macOS), and let AI fill in the details Import card transactions from Apple Wallet (iOS, UK and US) Track spending in 150 currencies, converted automatically Keep your devices in sync with iCloud What I’d like feedback on: Look and feel: does it feel at home on each platform? macOS conventions: menus, keyboard shortcuts and multiple windows Dark Mode and Dynamic Type, up to the largest accessibility sizes The AI features (receipt details, tag suggestions, budget summaries): how useful and accurate are they? iCloud sync: add or edit items on one device and check they appear on the other, including after going offline Stability: any crashes, hangs or glitches on either platform Day-to-day use: what gets in the way when tracking real spending Subscriptions in TestFlight are free. Adding items requires a subscription plan, so please choose one when prompted instead of closing the screen. You will not be charged. In TestFlight, plans renew and expire faster than normal, so you may need to select one again periodically. For a quick start, skim the introduction in the user guide (Settings > JamJar User Guide on iOS, Help > JamJar Help on macOS). If you read further, I’d appreciate hearing whether the guide is clear and helpful. Some features need Apple Intelligence or a supported region, and forecasts need six months of items. See the website for details. Reply here or send feedback through TestFlight. Thanks for your time!
0
0
187
2d
Public API for an independent host macOS display in a sandboxed app
I am developing AirZcreen Desktop, a free macOS app that creates an independent extended display in the current user's Mac desktop session and streams only that display to one paired browser on the local network. The required behavior is a real extra macOS display onto which the user can move windows from other apps. The app must not capture, mirror, reconfigure, or make changes to existing physical displays. ScreenCaptureKit handles capture after the owned display exists. There are no user accounts, audio capture, or remote keyboard/mouse controls. Our prototype uses CGVirtualDisplay, CGVirtualDisplayDescriptor, CGVirtualDisplayMode, and CGVirtualDisplaySettings through Objective-C runtime lookup. These interfaces are absent from the public CoreGraphics headers in our installed macOS 26.2 SDK. We understand that App Review guideline 2.5.1 requires public APIs. We are seeking a supported replacement, not assistance using undocumented interfaces. A bundled helper owns the display and its cleanup, including parent-pipe closure and heartbeat timeout. An isolated App Sandbox build can create the display, capture it, stream it to Chrome, and remove it on normal Stop. This runtime result does not establish App Store eligibility. No build has been submitted for review. Is there a documented public API for a third-party sandboxed macOS app to create this kind of independent host display? If so, which framework, minimum macOS version, entitlements, and helper-process model should we use? If this capability is not currently available through public APIs, what is the appropriate way to file a request for it? The PGDisplay documentation describes a display for a guest operating system in a virtual machine, which does not provide the host-desktop behavior we need. I have not found a host-display creation API in the ScreenCaptureKit documentation. References: https://developer.apple.com/app-store/review/guidelines/#software-requirements https://developer.apple.com/documentation/paravirtualizedgraphics/pgdisplay https://developer.apple.com/documentation/screencapturekit
1
0
234
2d
Technical feasibility — Restricting PIV RSA signing to a specific signed macOS application
Hello, I'm developing BenStrukt, a macOS application that uses RSA-2048 signatures to authorize individual operations through a local IPC protocol. We are evaluating the YubiKey 5C NFC using an RSA private key generated on-device in PIV slot 9C, configured with PIN Policy Always and Touch Policy Always. Our critical security requirement is not only that the RSA private key must be non-exportable, but also that only our specifically signed macOS application can initiate authorized signing operations. According to Apple's documentation, external token items are exposed through kSecAttrAccessGroupToken, which is accessible by default without a specific keychain access-group entitlement. Could you clarify whether there is a documented, supported mechanism to enforce application-specific authorization for PIV private-key operations on macOS? In particular, can a second application running under the same macOS user obtain a reference to the key and request a signature when the correct PIN and physical touch are supplied? Would CryptoTokenKit, a custom token extension, code-signing requirements, or another supported mechanism prevent this, including access through alternative smart-card interfaces such as PC/SC? If application-specific isolation is not supported, could you explicitly confirm this limitation? We need to establish these guarantees before purchasing hardware or modifying our existing signing architecture. Thank you for your technical guidance. Oliver BenFounder — BenStrukt
1
0
77
2d
Supported macOS API for loopback-only confinement with synchronous bind/connect denial?
I am asking which supported public macOS interface can meet the requirements below. This is a design/supportability question; I do not have a focused Xcode reproducer. Recorded host: macOS 26.6.2 (build 25G83), Apple silicon (arm64). Workload: an unchanged, third-party Flutter/Dart command-line toolchain and its process tree. This includes exec descendants and native code called directly through FFI, including SQLite loaded through FFI. Question: Is there a currently supported public interface and exact policy, or a documented supported composition of public interfaces, that can kernel-enforce requested-address bind/connect restrictions on that tree with all of the following properties? Numeric 127.0.0.1 TCP ephemeral bind/listen/connect/echo must work. The actual bind(AF_INET, 0.0.0.0:0) call must itself fail immediately, at the call, with EPERM or EACCES. The actual connect(AF_INET, 192.0.2.1:9) call must itself fail immediately, at the call, with EPERM or EACCES. The restriction must apply across exec children, native/direct calls (not only libc or framework wrappers), inherited file descriptors and SQLite FFI. The tree's necessary filesystem read, write and executable/library-load set must be specifiable and bounded. Protected originals and SDK, Git and cache identities must stay unmodified, credentials and sealed evidence must stay protected, and no broad new permissions are granted. Signing, entitlements, privilege, installation/activation, user or admin approval, inheritance/FD scope and host applicability must be specified authoritatively. These do not meet the requirements: flow or packet drop, timeout, connection refused, no route, a missing interface, user-space interception or wrappers, unsupported or private interfaces, reduced SIP, or an operation that never ran. Specific points we would like confirmed: a. App Sandbox. The documented com.apple.security.network.client and com.apple.security.network.server entitlements are Boolean and have no per-address selector. Is there any supported way to allow listening on 127.0.0.1 while making a wildcard 0.0.0.0 bind fail with EPERM/EACCES? Can an existing externally built toolchain and all of its descendants be confined this way? Apple's helper guidance re-signs embedded tools with only com.apple.security.app-sandbox and com.apple.security.inherit. b. Network Extension. Can a content filter (NEFilterDataProvider), packet filter provider, transparent proxy or another provider type make the original bind() or connect() syscall itself return EPERM/EACCES, rather than dropping the flow later? If a new-flow drop verdict makes connect() fail, is the resulting errno documented and guaranteed? c. Endpoint Security. We understand the AUTH_UIPC_BIND/AUTH_UIPC_CONNECT events cover only UNIX-domain sockets. Is there any supported Endpoint Security event that authorizes IPv4 TCP bind/connect? d. Custom sandbox profiles. Is a custom sandbox profile (SBPL) applied through sandbox-exec or sandbox_init a supported interface for third-party products on this macOS version? e. Delegated paths (an additional question, separate from 1–6): Does any candidate interface cover network activity performed for the tree by system daemons or local relays? If a qualifying interface exists, please name the exact public interface and policy/configuration, the supported macOS versions, and the requirements under point 6. Please also confirm that the two denied calls are guaranteed to return EPERM/EACCES at the call. If none exists, please say so, and say which numbered property has no supported public interface. We will record that as "no supported public interface", not as a statement that the behaviour is technically impossible. Any closest supported alternative you mention will be recorded as information only. It will not be treated as meeting properties 1–6. No logs, source code, credentials or internal evidence are attached.
1
0
98
2d
macOS: supported absolute deadline at final network egress, including queued bytes?
Hi, I’m assessing feasibility before implementing a small macOS HTTPS snapshot client. The requirement is strict: every request-bearing byte must cross the final controlled network-egress boundary before an absolute deadline. A byte crossing at or after the deadline fails. For context, the intended deadline is 07:41:00 Europe/London on a specified date, converted to UTC. This concerns request transmission, not response completion. An application precheck or a deadline to begin sending would not satisfy it. Is there a supported macOS API or mechanism with a documented guarantee covering this requirement? Specifically: Where is the enforcement boundary? Does expiry cover request bytes already queued in TLS/TCP, kernel, driver or NIC buffers, partially transmitted requests, and retransmitted request payload? Does enforcement remain fail-closed if the client or enforcement process is suspended, hangs or crashes, or the Mac sleeps and wakes? Can queued bytes resume transmission after expiry? What clock and deadline semantics apply, including equality, uncertainty, clock steps/regression and unavailable or unreliable time? Can connection reuse or buffering bypass expiry? Application retries, redirects and additional requests would be prohibited. How could an implementation observe and qualify the actual controlled egress boundary, rather than an earlier callback or queue? I have reviewed documentation for: NWConnection.ContentContext.expirationMilliseconds, which describes expiry for beginning transmission; NWConnection.SendCompletion.contentProcessed; Network Extension packet filtering, delayed-packet verdicts and provider lifecycle; TN3134 and TN3165. I have not found a documented end-to-end guarantee covering the cases above. I am not assuming that filters, cancellation, timers or socket timeouts provide it. Could an Apple engineer point to the applicable supported contract and platform restrictions, or clarify that this strict guarantee is not provided? If a mechanism is applicable, please identify supported macOS versions, required entitlements and any relevant interface or hardware limitations. This is a documentation/feasibility question only. No external service, account, credentials or capture is involved. An authoritative reference—or an explicit statement of unsupported cases—would be helpful. Many thanks in advance.
1
0
77
2d
Apple T2: Public APIs for independent watchdog control and rollback-resistant application state?
Hello, I am developing a safety-critical, automated application on a MacBook Air (Retina, 13-inch, 2020, Intel) running macOS 15. I am investigating whether the Apple T2 Security Chip can provide a hardware-backed trust boundary independent of the host macOS kernel. I have reviewed Apple's Platform Security documentation and the public Security and CryptoKit APIs for Secure Enclave key protection. I would appreciate clarification on two specific questions: 1. Independent watchdog control Is there any public, supported API that allows a third-party macOS application to configure a hardware-backed watchdog that remains effective when the entire host macOS kernel becomes unresponsive? If so, can it enforce a bounded-time host reset or shutdown independently of host OS execution? 2. Rollback-resistant application state Does the T2 or its Secure Enclave expose a public, supported mechanism for maintaining an application-defined monotonic counter or small persistent state record that cannot be rolled back by restoring an older host filesystem or database snapshot on the same Mac? Specifically, I need to distinguish the latest committed application state from an older, previously valid state, including after a crash or reboot. I understand that hardware-backed signatures and non-exportable private keys alone do not necessarily establish state freshness or prevent replay of previously signed records. If neither capability is available through public, supported APIs on Intel-based T2 Macs, an explicit clarification would also be very helpful. I am not requesting private APIs, firmware modifications, reverse engineering, or changes to macOS security settings. Thank you for your technical guidance.
1
0
170
2d
Authentication-UI refusal for a file-based certificate query on macOS
The guidance in https://developer.apple.com/forums/thread/739774 explains the context search list, the kSecMatchSearchList override and continued use of deprecated file-based APIs where that keychain model is required. For a SecItemCopyMatching query using kSecClassCertificate and an explicitly supplied file-based test keychain, what is the supported way to refuse authentication UI rather than allow a prompt? I am considering macOS 26.6.1 with the macOS 27.0 SDK; please clarify applicability to that combination and any relevant application-context restrictions. In particular, which refusal mechanism applies to the file-based path given the deprecation of earlier authentication-UI options? If access would require keychain unlock or authentication UI, is an error guaranteed, or can the query omit items and return success? A public documentation reference and any version limitations would be helpful. This is a contract question for a prospective test; I have not run it or reproduced a problem.
1
0
126
2d
Qwen3.8-27B GGUF crashes on Apple M5 Max — LM Studio settings that work
Hardware Apple MacBook Pro 16" Chip: Apple M5 Max Memory: 48 GB Unified Memory Storage: 2 TB SSD OS: macOS (Apple Silicon) Software LM Studio 0.4.29 Model: Qwen3.8-27B (GGUF Q4_K_M) Problem
Qwen3.8-27B (GGUF Q4_K_M) answers the first message, then crashes on the second with an error: Error messages observed: - Engine protocol predict stream returned an error: {"code":500,"message":"Compute error.","type":"server_error"} - Engine protocol predict stream returned an error: {"code":500,"message":"got exception: Unexpected empty grammar stack after accepting piece: @ (31)","type":"server_error"} - Prediction request aborted but the prediction loop handler of the plugin lmstudio/default-prediction-loop-handler did not abort in time. - Cannot send on a terminated channel. Fix — LM Studio settings that worked
On Apple M5 Max + 48 GB RAM, the following combination resolves the crash: Hardware → GPUs: 1 GPU detected with Metal — Apple M5 Max (VRAM Capacity: 37.44 GB • Metal • deviceId: 0). Toggle OFF (do not use GPU for inference). Max Concurrent Predictions: set to 1 (default is 4). Unified KV Cache: OFF. Offload KV Cache to GPU Memory: OFF. Flash Attention: OFF. Model format: use GGUF Q4_K_M quantized versions only (e.g., Qwen3.8-27B Q4_K_M or Gemma 4 31B QAT Q4_K_M). Do not use MLX or unquantized models. Result
After applying all these settings, multi-turn chat works without errors. Gemma 4 31B QAT (GGUF Q4_K_M) also runs stably on the same hardware. This should help other users with M-series Macs and 48 GB Unified Memory avoid the same crash. https://github.com/lmstudio-ai/lmstudio-bug-tracker/issues/2659
1
0
63
4d
Qwen3.8-27B GGUF crashes on Apple M5 Max — LM Studio settings that work
App: LM Studio / llama.cpp (Metal) Device: Apple MacBook Pro 16", Chip: Apple M5 Max, Memory: 48 GB Unified Memory, Storage: 2 TB SSD, OS: macOS (Apple Silicon) Software: LM Studio 0.4.29, Model: Qwen3.8-27B (GGUF Q4_K_M) Issue: Qwen3.8-27B (GGUF Q4_K_M) answers the first message, then crashes on the second with an error: - Engine protocol predict stream returned an error: {"code":500,"message":"Compute error.","type":"server_error"} - Engine protocol predict stream returned an error: {"code":500,"message":"got exception: Unexpected empty grammar stack after accepting piece: @ (31)","type":"server_error"} - Prediction request aborted but the prediction loop handler of the plugin lmstudio/default-prediction-loop-handler did not abort in time. - Cannot send on a terminated channel. Fix — LM Studio settings that worked
On Apple M5 Max + 48 GB RAM, the following combination resolves the crash: Hardware → GPUs: 1 GPU detected with Metal — Apple M5 Max (VRAM Capacity: 37.44 GB • Metal • deviceId: 0). Toggle OFF (do not use GPU for inference). Max Concurrent Predictions: set to 1 (default is 4). Unified KV Cache: OFF. Offload KV Cache to GPU Memory: OFF. Flash Attention: OFF. Model format: use GGUF Q4_K_M quantized versions only (e.g., Qwen3.8-27B Q4_K_M or Gemma 4 31B QAT Q4_K_M). Do not use MLX or unquantized models. Result
After applying all these settings, multi-turn chat works without errors. Gemma 4 31B QAT (GGUF Q4_K_M) also runs stably on the same hardware. This should help other users with M-series Macs and 48 GB Unified Memory avoid the same crash.
0
0
66
4d
APFS snapshots: documented guarantees for backing-storage identity and exclusion of non-root writers
We are developing MasterVault Clean Room, a governed data system whose validation gate evaluates recorded claims. Each successful validation must refer to one stable, identifiable input view, protected from capture through final consumption. We trust the macOS kernel and approved Apple storage stack, and are evaluating APFS snapshots as a candidate mechanism, but need to establish the backing-storage boundary before relying on them. 1. Binding the open file to its complete backing storage What supported interfaces let a process start with an open file descriptor on an APFS snapshot, identify its complete backing-storage chain, and reject disk-image-backed or other file-backed sources? We need to bind this evidence to the snapshot actually being read. A pathname, mount-point inspection, or independently obtained device identity is insufficient unless the supported semantics establish that binding and address changes during verification. If someone could identify the documented guarantees and limitations of any supported verification sequence, it would be emminently helpful. 2. Excluding non-root writable access through final consumption What supported mechanism or deployment configuration can establish that no non-root actor retains writable access to that backing storage, from capture through final consumption? This must account for: Writable disk-image files or other file-backed storage beneath the snapshot. Pre-existing writable raw/block-device handles. Aliases or alternate access paths to the same backing storage. Changes to the backing-storage configuration during that interval. A read-only snapshot mount and current ownership or device-permission checks alone do not establish this requirement: they do not demonstrate that previously acquired writable access is absent or has been revoked. What we need from the platform Please identify: The supported interfaces and their documented guarantees. Required privileges, supported macOS versions, and storage configurations. Deployment restrictions needed to establish and maintain the boundary. Any part of this requirement that cannot be established through supported public interfaces. We can restrict our supported deployment configurations where necessary, but those restrictions must have a documented basis. The general APFS overview explains features such as cloning, shared space, and sparse files. It does not answer these backing-storage identity and writer-exclusion questions. Likewise, describing snapshots as read-only does not by itself resolve whether their backing storage can be altered through another route. We are seeking platform semantics and supported mechanisms, not Apple certification of MasterVault. This information will determine our admission checks, supported configurations, and qualification tests. If the guarantee is unavailable—or cannot be substantiated for a particular configuration—our validation must remain unresolved, rather than report assurance we cannot support.
0
0
143
5d
Avoid trackpad gesture conflict between dragging and accessibility zooming when using three fingers
Double-tap three fingers and drag to change zoom” should suppress “Three Finger to Drag”. Currently these gestures are triggered simultaneously, for no real reasons. I saw different behaviors for different environments, but none is desired. Current and desired behavior: This seems an issue so I filed a feedback.
1
1
1.7k
6d
Looking for TestFlight testers: ChatOKF, private on-device AI chat for iPhone and Mac
I'm looking for beta testers for ChatOKF, a private AI chat that runs entirely on your own iPhone or Mac. The model lives in the device's memory and runs on Apple Silicon: no account, no sign-in, no subscription, no ads, no telemetry. Nothing leaves the device unless you let it look something up. New in this build: Voice to voice: Whistle ASR lets you talk to Qwen and Bonsai models and hear the replies spoken back Bonsai-2 models: 2B, 4B, 9B and 27B, alongside Gemma 4 and Qwen Especially wanted: native speakers of English, German, French, Spanish, Italian, Dutch or Polish to test speech recognition (ASR) and spoken replies (TTS) in their language. Also: Attach a PDF, Word file, spreadsheet or photo and ask about it Optional Wikipedia, weather and web search, each behind its own switch Memories are plain-text notes you can read and delete Only models your device can actually hold are listed TestFlight: https://testflight.apple.com/join/Qsvxk5Mh Website: https://leok7v.github.io/ChatOKF/ GitHub: https://github.com/leok7v/ChatOKF Feedback on recognition accuracy, voice quality, speed and memory use on different devices is very welcome. Thanks!
0
0
438
1w
Supported usage of thread_set_x86_64_compat with cross-architecture-support entitlement
Hi everyone! I am trying to test the com.apple.developer.cross-architecture-support entitlement (as I am developing an x86-64 to ARM64 dynamic binary translation runtime), and I have successfully verified it in an Apple Development-signed native ARM64 application with Hardened Runtime enabled. The macOS SDK exposes the following declaration in <mach/mach_traps.h>: extern kern_return_t thread_set_x86_64_compat(uint32_t enable); However, I cannot locate official documentation describing its supported usage. Could an Apple engineer clarify: Is this a supported API for third-party applications holding the cross-architecture-support entitlement? Does it enable hardware TSO independently for each calling thread? Do newly created threads inherit the setting? Does it affect architectural behaviour beyond memory ordering? Is there a supported mechanism for querying the effective state? Can it be used alongside Hardened Runtime and MAP_JIT? My test environment is an M4 Max running macOS 27.2.1, with Xcode 27.2, and the documented os_cross_arch_is_supported(OS_CROSS_ARCH_X86_64) returns true. I have deliberately avoided invoking the compatibility API until its supported usage is established... Any official documentation or integration guidance would be appreciated.
Replies
2
Boosts
0
Views
57
Activity
1h
Can one create an NSBitmapImageRep from floating-point data?
In the documentation of -[NSBitmapImageRep initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bitmapFormat:bytesPerRow:bitsPerPixel:], it says that the bitmap format mask can include NSBitmapFormatFloatingPointSamples, which suggests that the answer is yes, but it also says that the number of bits per component can be at most 16, which suggests that the answer is no.
Replies
2
Boosts
0
Views
1.5k
Activity
6h
macOS 27.3: sandboxed app that only blocks key events (PostEvent) has no prompt and gets the full override warning
I make a sandboxed Mac App Store keyboard-lock app (it stops pets from typing). Optional features block key presses with a consuming CGEventTap (.defaultTap at .cghidEventTap). It doesn't read, record, or control other apps. As Quinn explained in thread 857997, a consuming tap uses the PostEvent privilege, which on 27.3 beta 2 is filed under System & App Protection Override. What I'm seeing: Creating the tap no longer prompts, and the app isn't added to the list. AXIsProcessTrustedWithOptions doesn't prompt either (same as thread 860570). The user must add the app manually. A limited "Choose Apps" grant doesn't allow the tap; only "Bypass System Protections" works. That screen warns the app can read all data, view hidden photos, browse as the user, and change settings. As a sandboxed app, it can do none of that. The tap only sees key presses in order to block them, and nothing is stored or sent. Questions: Is there a supported way to request PostEvent on 27.3, such as CGRequestPostEventAccess? Will consuming event taps always require the full override, or is a narrower option planned for input-only apps (keyboard lockers, hotkey apps, text expanders)? Will the upcoming entitlements cover anything beyond assistive technology and backup? Filed as FB25721881
Replies
1
Boosts
0
Views
214
Activity
8h
[macOS 27.3 Beta Regression] Enabling "Show Menu Bar Background" Causes Windows to Flicker, Jump, and Resize During Dragging
After updating my MacBook Pro (M4) to macOS 27.3 Beta (26C5035r), application windows flicker or flash while I drag them. They also unexpectedly jump to random positions and change size. This did not happen before the update. I have isolated the behavior to the "Show Menu Bar Background" setting ("Menü çubuğu arka planını göster" in Turkish). With this setting enabled, the problem occurs. Disabling it completely eliminates the problem on the same Mac. Steps to reproduce: Enable "Show Menu Bar Background" in System Settings. Open an application window and drag it by its title bar around the desktop. Observe the flickering/flashing and unexpected changes in position and size. Disable "Show Menu Bar Background" and repeat the dragging action. The problem disappears. Expected behavior: Windows should move smoothly with the pointer and keep their size unless intentionally resized. Actual behavior: Dragged windows flicker, jump, and resize unexpectedly when the menu bar background is enabled. Workaround: Leave "Show Menu Bar Background" disabled. Has anyone else encountered this after the same update? Is there another workaround that allows the menu bar background to remain enabled?
Replies
2
Boosts
1
Views
107
Activity
8h
Missing APSL 2.0 notices in Apple SDK headers and libSystem.tbd
Several Apple SDK headers appear to be intended for distribution under the Apple Public Source License 2.0 (APSL 2.0), but their distributed copies are missing the license notice comment in their headers. This is causing a Debian packaging issue because maintainers need to verify the applicable license for these files and record it in debian/copyright. May Apple please confirm that the APSL 2.0 applies to the headers below and add the applicable copyright and license notice as a C comment at the top of each file in a future SDK release? The request is to document the existing license in the distributed files' headers. simd/matrix.h simd/extern.h simd/types.h simd/geometry.h simd/simd.h simd/vector.h simd/logic.h simd/packed.h simd/common.h simd/base.h simd/vector_make.h simd/math.h simd/quaternion.h simd/matrix_types.h simd/vector_types.h simd/conversion.h launch.h xpc/activity.h xpc/listener.h xpc/endpoint.h xpc/session.h xpc/debug.h xpc/peer_requirement.h xpc/rich_error.h xpc/base.h xpc/availability.h xpc/connection.h xpc/xpc.h libSystem.tbdIf any of these files are covered by different terms, or if an existing Apple notice covers these exact SDK files, please point us in the right direction. Thank you.
Replies
0
Boosts
0
Views
16
Activity
10h
CNSaveRequest fails with 134092 for any contact that has a note (FB23452026)
A macOS app that never reads or writes notes cannot update a contact that has a note property. CNSaveRequest.update() throws NSCocoaErrorDomain 134092 with NSUnderlyingException "Unhandled error (NSCocoaErrorDomain, 134092) occurred during faulting". CNContactNoteKey is never requested. I reduced it to a minimal app whose only action is toggling familyName, and confirmed the cause in both directions: Create a contact programmatically. The update succeeds. Add a note to it in Contacts.app. The identical update now fails with 134092. Set that note to an empty string. Still fails. Remove the note property entirely. The update succeeds again. Contacts imported from a vCard fail from the start, even when the vCard has no NOTE line and Contacts.app shows no note. Clearing the note property on such a contact also makes the update succeed, so I believe the import attaches the property invisibly. Ruled out: mutableObjects instead of mutableCopy, including or omitting CNContactNoteKey, unified versus non-unified fetches, and the app sandbox (an ad-hoc signed build with no sandbox fails the same way). Full Disk Access does not help. I could not test the entitlement itself: an ad-hoc signed build carrying com.apple.developer.contacts.notes is refused at launch (RBSRequestErrorDomain 5, "Launchd job spawn failed"), since it is a restricted entitlement that needs a provisioning profile. Question: is com.apple.developer.contacts.notes required to update any contact that merely has a note, even when the app never reads or writes notes? If so, what is the expected path for an app that only reorders phone numbers and email addresses? The error itself gives no hint that notes are involved. If anyone here already holds the notes entitlement: does saving succeed for you on a contact that has a note? I have a request pending, and confirming this before it is decided would help a great deal. Environment: macOS 26 (Darwin 25.x), Apple Silicon. Filed as FB23452026.
Replies
4
Boosts
0
Views
625
Activity
12h
Exact preservation of com.apple.provenance when copying files on macOS
On a Mac reporting macOS 27.0, build 26A428, copying a small regular file with an existing 11-byte com.apple.provenance value into a new private directory consistently produces a different 11-byte value. fcopyfile(COPYFILE_ALL), forced copyfile cloning with exclusive/no-follow flags, fclonefileat with ACL/no-follow flags, and ditto with resource-fork, extended-attribute, ACL and quarantine preservation all return success. Both default fsetxattr and XATTR_REPLACE, supplied the unchanged opaque source value, also return success without exact readback equality. The source is left unchanged, values are not decoded, and no private flags, elevated privilege or security-setting changes are used. The same outcome occurs when the Python probe is launched from Terminal. Is there a supported public method and documented postcondition for preserving this attribute byte-for-byte on a recoverable copy, including after changing the copy's data fork and atomically replacing an artificial destination? If this is not a supported invariant for this OS-managed attribute, please clarify the public contract. We need guidance on supported preservation, not a private value format or a way to disable protection.
Replies
1
Boosts
0
Views
36
Activity
16h
productbuild and Keychain Access concern
productbuild cmd: productbuild --component /Applications/Very\ Large\ Number\ Calculator.app /Applications --sign "3rd Party Mac Developer Installer: Alain_B " /Applications/Very\ Large\ Number\ Calculator.pkg Give this error: Cannot write product to "/Applications/Very Large Number Calculator.pkg". (Could not find appropriate signing identity for “3rd Party Mac Developer Installer: Alain_B ”.) But Keychain Access show "3rd Party Mac Developer Installer" is in Certificates: 3rd Party Mac Developer Application: 10 digits (64......J5) certificate login Nov 10, 2027 at 8:02:04 AM Alain_B private key login 3rd Party Mac Developer Installer: Alain_B (64......J5) certificate login Apr 19, 2027 at 8:32:51AM Apple Development: Alain_B (35......P5) certificate login Oct 19, 2027 at 9:29:59 AM Apple Development: Alain_B (Alain_B ) private key login Apple Distribution: Alain_B (64MZBY64J5) certificate login Oct 26, 2027 at 9:36:16 AM Alain_B private key login Apple Root CA certificate login Feb 9, 2035 at 4:40:36 PM Apple Worldwide Developer Relations Certification Authority certificate login Feb 19, 2030 at 7:00:00 PM Apple Worldwide Developer Relations Certification Authority certificate login Mar 18, 2036 at 8:00:00 PM Developer ID Certification Authority certificate login Feb 1, 2027 at 5:12:15 PM Developer ID Certification Authority certificate login Sep 16, 2031 at 8:00:00 PM What can I do ? Thank you.
Replies
5
Boosts
0
Views
511
Activity
1d
JamJar public beta: native expense tracker and budget planner for iPhone and Mac
Platforms: iOS 27+, macOS 27+ Category: Finance TestFlight: https://testflight.apple.com/join/ggy2DuKn Website: https://lifescape.studio/jamjar/ Hi everyone, JamJar is a native expense tracker and budget planner for iPhone and Mac, and I’d love to hear what fellow developers think of it. What JamJar does: Tag spending your own way instead of using fixed categories Set a budget and split it into “Jars”, with charts, forecasts and AI summaries Schedule recurring expenses and get reminders before they’re due Scan receipts (iOS) or attach them (macOS), and let AI fill in the details Import card transactions from Apple Wallet (iOS, UK and US) Track spending in 150 currencies, converted automatically Keep your devices in sync with iCloud What I’d like feedback on: Look and feel: does it feel at home on each platform? macOS conventions: menus, keyboard shortcuts and multiple windows Dark Mode and Dynamic Type, up to the largest accessibility sizes The AI features (receipt details, tag suggestions, budget summaries): how useful and accurate are they? iCloud sync: add or edit items on one device and check they appear on the other, including after going offline Stability: any crashes, hangs or glitches on either platform Day-to-day use: what gets in the way when tracking real spending Subscriptions in TestFlight are free. Adding items requires a subscription plan, so please choose one when prompted instead of closing the screen. You will not be charged. In TestFlight, plans renew and expire faster than normal, so you may need to select one again periodically. For a quick start, skim the introduction in the user guide (Settings > JamJar User Guide on iOS, Help > JamJar Help on macOS). If you read further, I’d appreciate hearing whether the guide is clear and helpful. Some features need Apple Intelligence or a supported region, and forecasts need six months of items. See the website for details. Reply here or send feedback through TestFlight. Thanks for your time!
Replies
0
Boosts
0
Views
187
Activity
2d
Public API for an independent host macOS display in a sandboxed app
I am developing AirZcreen Desktop, a free macOS app that creates an independent extended display in the current user's Mac desktop session and streams only that display to one paired browser on the local network. The required behavior is a real extra macOS display onto which the user can move windows from other apps. The app must not capture, mirror, reconfigure, or make changes to existing physical displays. ScreenCaptureKit handles capture after the owned display exists. There are no user accounts, audio capture, or remote keyboard/mouse controls. Our prototype uses CGVirtualDisplay, CGVirtualDisplayDescriptor, CGVirtualDisplayMode, and CGVirtualDisplaySettings through Objective-C runtime lookup. These interfaces are absent from the public CoreGraphics headers in our installed macOS 26.2 SDK. We understand that App Review guideline 2.5.1 requires public APIs. We are seeking a supported replacement, not assistance using undocumented interfaces. A bundled helper owns the display and its cleanup, including parent-pipe closure and heartbeat timeout. An isolated App Sandbox build can create the display, capture it, stream it to Chrome, and remove it on normal Stop. This runtime result does not establish App Store eligibility. No build has been submitted for review. Is there a documented public API for a third-party sandboxed macOS app to create this kind of independent host display? If so, which framework, minimum macOS version, entitlements, and helper-process model should we use? If this capability is not currently available through public APIs, what is the appropriate way to file a request for it? The PGDisplay documentation describes a display for a guest operating system in a virtual machine, which does not provide the host-desktop behavior we need. I have not found a host-display creation API in the ScreenCaptureKit documentation. References: https://developer.apple.com/app-store/review/guidelines/#software-requirements https://developer.apple.com/documentation/paravirtualizedgraphics/pgdisplay https://developer.apple.com/documentation/screencapturekit
Replies
1
Boosts
0
Views
234
Activity
2d
Technical feasibility — Restricting PIV RSA signing to a specific signed macOS application
Hello, I'm developing BenStrukt, a macOS application that uses RSA-2048 signatures to authorize individual operations through a local IPC protocol. We are evaluating the YubiKey 5C NFC using an RSA private key generated on-device in PIV slot 9C, configured with PIN Policy Always and Touch Policy Always. Our critical security requirement is not only that the RSA private key must be non-exportable, but also that only our specifically signed macOS application can initiate authorized signing operations. According to Apple's documentation, external token items are exposed through kSecAttrAccessGroupToken, which is accessible by default without a specific keychain access-group entitlement. Could you clarify whether there is a documented, supported mechanism to enforce application-specific authorization for PIV private-key operations on macOS? In particular, can a second application running under the same macOS user obtain a reference to the key and request a signature when the correct PIN and physical touch are supplied? Would CryptoTokenKit, a custom token extension, code-signing requirements, or another supported mechanism prevent this, including access through alternative smart-card interfaces such as PC/SC? If application-specific isolation is not supported, could you explicitly confirm this limitation? We need to establish these guarantees before purchasing hardware or modifying our existing signing architecture. Thank you for your technical guidance. Oliver BenFounder — BenStrukt
Replies
1
Boosts
0
Views
77
Activity
2d
Supported macOS API for loopback-only confinement with synchronous bind/connect denial?
I am asking which supported public macOS interface can meet the requirements below. This is a design/supportability question; I do not have a focused Xcode reproducer. Recorded host: macOS 26.6.2 (build 25G83), Apple silicon (arm64). Workload: an unchanged, third-party Flutter/Dart command-line toolchain and its process tree. This includes exec descendants and native code called directly through FFI, including SQLite loaded through FFI. Question: Is there a currently supported public interface and exact policy, or a documented supported composition of public interfaces, that can kernel-enforce requested-address bind/connect restrictions on that tree with all of the following properties? Numeric 127.0.0.1 TCP ephemeral bind/listen/connect/echo must work. The actual bind(AF_INET, 0.0.0.0:0) call must itself fail immediately, at the call, with EPERM or EACCES. The actual connect(AF_INET, 192.0.2.1:9) call must itself fail immediately, at the call, with EPERM or EACCES. The restriction must apply across exec children, native/direct calls (not only libc or framework wrappers), inherited file descriptors and SQLite FFI. The tree's necessary filesystem read, write and executable/library-load set must be specifiable and bounded. Protected originals and SDK, Git and cache identities must stay unmodified, credentials and sealed evidence must stay protected, and no broad new permissions are granted. Signing, entitlements, privilege, installation/activation, user or admin approval, inheritance/FD scope and host applicability must be specified authoritatively. These do not meet the requirements: flow or packet drop, timeout, connection refused, no route, a missing interface, user-space interception or wrappers, unsupported or private interfaces, reduced SIP, or an operation that never ran. Specific points we would like confirmed: a. App Sandbox. The documented com.apple.security.network.client and com.apple.security.network.server entitlements are Boolean and have no per-address selector. Is there any supported way to allow listening on 127.0.0.1 while making a wildcard 0.0.0.0 bind fail with EPERM/EACCES? Can an existing externally built toolchain and all of its descendants be confined this way? Apple's helper guidance re-signs embedded tools with only com.apple.security.app-sandbox and com.apple.security.inherit. b. Network Extension. Can a content filter (NEFilterDataProvider), packet filter provider, transparent proxy or another provider type make the original bind() or connect() syscall itself return EPERM/EACCES, rather than dropping the flow later? If a new-flow drop verdict makes connect() fail, is the resulting errno documented and guaranteed? c. Endpoint Security. We understand the AUTH_UIPC_BIND/AUTH_UIPC_CONNECT events cover only UNIX-domain sockets. Is there any supported Endpoint Security event that authorizes IPv4 TCP bind/connect? d. Custom sandbox profiles. Is a custom sandbox profile (SBPL) applied through sandbox-exec or sandbox_init a supported interface for third-party products on this macOS version? e. Delegated paths (an additional question, separate from 1–6): Does any candidate interface cover network activity performed for the tree by system daemons or local relays? If a qualifying interface exists, please name the exact public interface and policy/configuration, the supported macOS versions, and the requirements under point 6. Please also confirm that the two denied calls are guaranteed to return EPERM/EACCES at the call. If none exists, please say so, and say which numbered property has no supported public interface. We will record that as "no supported public interface", not as a statement that the behaviour is technically impossible. Any closest supported alternative you mention will be recorded as information only. It will not be treated as meeting properties 1–6. No logs, source code, credentials or internal evidence are attached.
Replies
1
Boosts
0
Views
98
Activity
2d
macOS: supported absolute deadline at final network egress, including queued bytes?
Hi, I’m assessing feasibility before implementing a small macOS HTTPS snapshot client. The requirement is strict: every request-bearing byte must cross the final controlled network-egress boundary before an absolute deadline. A byte crossing at or after the deadline fails. For context, the intended deadline is 07:41:00 Europe/London on a specified date, converted to UTC. This concerns request transmission, not response completion. An application precheck or a deadline to begin sending would not satisfy it. Is there a supported macOS API or mechanism with a documented guarantee covering this requirement? Specifically: Where is the enforcement boundary? Does expiry cover request bytes already queued in TLS/TCP, kernel, driver or NIC buffers, partially transmitted requests, and retransmitted request payload? Does enforcement remain fail-closed if the client or enforcement process is suspended, hangs or crashes, or the Mac sleeps and wakes? Can queued bytes resume transmission after expiry? What clock and deadline semantics apply, including equality, uncertainty, clock steps/regression and unavailable or unreliable time? Can connection reuse or buffering bypass expiry? Application retries, redirects and additional requests would be prohibited. How could an implementation observe and qualify the actual controlled egress boundary, rather than an earlier callback or queue? I have reviewed documentation for: NWConnection.ContentContext.expirationMilliseconds, which describes expiry for beginning transmission; NWConnection.SendCompletion.contentProcessed; Network Extension packet filtering, delayed-packet verdicts and provider lifecycle; TN3134 and TN3165. I have not found a documented end-to-end guarantee covering the cases above. I am not assuming that filters, cancellation, timers or socket timeouts provide it. Could an Apple engineer point to the applicable supported contract and platform restrictions, or clarify that this strict guarantee is not provided? If a mechanism is applicable, please identify supported macOS versions, required entitlements and any relevant interface or hardware limitations. This is a documentation/feasibility question only. No external service, account, credentials or capture is involved. An authoritative reference—or an explicit statement of unsupported cases—would be helpful. Many thanks in advance.
Replies
1
Boosts
0
Views
77
Activity
2d
Apple T2: Public APIs for independent watchdog control and rollback-resistant application state?
Hello, I am developing a safety-critical, automated application on a MacBook Air (Retina, 13-inch, 2020, Intel) running macOS 15. I am investigating whether the Apple T2 Security Chip can provide a hardware-backed trust boundary independent of the host macOS kernel. I have reviewed Apple's Platform Security documentation and the public Security and CryptoKit APIs for Secure Enclave key protection. I would appreciate clarification on two specific questions: 1. Independent watchdog control Is there any public, supported API that allows a third-party macOS application to configure a hardware-backed watchdog that remains effective when the entire host macOS kernel becomes unresponsive? If so, can it enforce a bounded-time host reset or shutdown independently of host OS execution? 2. Rollback-resistant application state Does the T2 or its Secure Enclave expose a public, supported mechanism for maintaining an application-defined monotonic counter or small persistent state record that cannot be rolled back by restoring an older host filesystem or database snapshot on the same Mac? Specifically, I need to distinguish the latest committed application state from an older, previously valid state, including after a crash or reboot. I understand that hardware-backed signatures and non-exportable private keys alone do not necessarily establish state freshness or prevent replay of previously signed records. If neither capability is available through public, supported APIs on Intel-based T2 Macs, an explicit clarification would also be very helpful. I am not requesting private APIs, firmware modifications, reverse engineering, or changes to macOS security settings. Thank you for your technical guidance.
Replies
1
Boosts
0
Views
170
Activity
2d
Authentication-UI refusal for a file-based certificate query on macOS
The guidance in https://developer.apple.com/forums/thread/739774 explains the context search list, the kSecMatchSearchList override and continued use of deprecated file-based APIs where that keychain model is required. For a SecItemCopyMatching query using kSecClassCertificate and an explicitly supplied file-based test keychain, what is the supported way to refuse authentication UI rather than allow a prompt? I am considering macOS 26.6.1 with the macOS 27.0 SDK; please clarify applicability to that combination and any relevant application-context restrictions. In particular, which refusal mechanism applies to the file-based path given the deprecation of earlier authentication-UI options? If access would require keychain unlock or authentication UI, is an error guaranteed, or can the query omit items and return success? A public documentation reference and any version limitations would be helpful. This is a contract question for a prospective test; I have not run it or reproduced a problem.
Replies
1
Boosts
0
Views
126
Activity
2d
Qwen3.8-27B GGUF crashes on Apple M5 Max — LM Studio settings that work
Hardware Apple MacBook Pro 16" Chip: Apple M5 Max Memory: 48 GB Unified Memory Storage: 2 TB SSD OS: macOS (Apple Silicon) Software LM Studio 0.4.29 Model: Qwen3.8-27B (GGUF Q4_K_M) Problem
Qwen3.8-27B (GGUF Q4_K_M) answers the first message, then crashes on the second with an error: Error messages observed: - Engine protocol predict stream returned an error: {"code":500,"message":"Compute error.","type":"server_error"} - Engine protocol predict stream returned an error: {"code":500,"message":"got exception: Unexpected empty grammar stack after accepting piece: @ (31)","type":"server_error"} - Prediction request aborted but the prediction loop handler of the plugin lmstudio/default-prediction-loop-handler did not abort in time. - Cannot send on a terminated channel. Fix — LM Studio settings that worked
On Apple M5 Max + 48 GB RAM, the following combination resolves the crash: Hardware → GPUs: 1 GPU detected with Metal — Apple M5 Max (VRAM Capacity: 37.44 GB • Metal • deviceId: 0). Toggle OFF (do not use GPU for inference). Max Concurrent Predictions: set to 1 (default is 4). Unified KV Cache: OFF. Offload KV Cache to GPU Memory: OFF. Flash Attention: OFF. Model format: use GGUF Q4_K_M quantized versions only (e.g., Qwen3.8-27B Q4_K_M or Gemma 4 31B QAT Q4_K_M). Do not use MLX or unquantized models. Result
After applying all these settings, multi-turn chat works without errors. Gemma 4 31B QAT (GGUF Q4_K_M) also runs stably on the same hardware. This should help other users with M-series Macs and 48 GB Unified Memory avoid the same crash. https://github.com/lmstudio-ai/lmstudio-bug-tracker/issues/2659
Replies
1
Boosts
0
Views
63
Activity
4d
Qwen3.8-27B GGUF crashes on Apple M5 Max — LM Studio settings that work
App: LM Studio / llama.cpp (Metal) Device: Apple MacBook Pro 16", Chip: Apple M5 Max, Memory: 48 GB Unified Memory, Storage: 2 TB SSD, OS: macOS (Apple Silicon) Software: LM Studio 0.4.29, Model: Qwen3.8-27B (GGUF Q4_K_M) Issue: Qwen3.8-27B (GGUF Q4_K_M) answers the first message, then crashes on the second with an error: - Engine protocol predict stream returned an error: {"code":500,"message":"Compute error.","type":"server_error"} - Engine protocol predict stream returned an error: {"code":500,"message":"got exception: Unexpected empty grammar stack after accepting piece: @ (31)","type":"server_error"} - Prediction request aborted but the prediction loop handler of the plugin lmstudio/default-prediction-loop-handler did not abort in time. - Cannot send on a terminated channel. Fix — LM Studio settings that worked
On Apple M5 Max + 48 GB RAM, the following combination resolves the crash: Hardware → GPUs: 1 GPU detected with Metal — Apple M5 Max (VRAM Capacity: 37.44 GB • Metal • deviceId: 0). Toggle OFF (do not use GPU for inference). Max Concurrent Predictions: set to 1 (default is 4). Unified KV Cache: OFF. Offload KV Cache to GPU Memory: OFF. Flash Attention: OFF. Model format: use GGUF Q4_K_M quantized versions only (e.g., Qwen3.8-27B Q4_K_M or Gemma 4 31B QAT Q4_K_M). Do not use MLX or unquantized models. Result
After applying all these settings, multi-turn chat works without errors. Gemma 4 31B QAT (GGUF Q4_K_M) also runs stably on the same hardware. This should help other users with M-series Macs and 48 GB Unified Memory avoid the same crash.
Replies
0
Boosts
0
Views
66
Activity
4d
APFS snapshots: documented guarantees for backing-storage identity and exclusion of non-root writers
We are developing MasterVault Clean Room, a governed data system whose validation gate evaluates recorded claims. Each successful validation must refer to one stable, identifiable input view, protected from capture through final consumption. We trust the macOS kernel and approved Apple storage stack, and are evaluating APFS snapshots as a candidate mechanism, but need to establish the backing-storage boundary before relying on them. 1. Binding the open file to its complete backing storage What supported interfaces let a process start with an open file descriptor on an APFS snapshot, identify its complete backing-storage chain, and reject disk-image-backed or other file-backed sources? We need to bind this evidence to the snapshot actually being read. A pathname, mount-point inspection, or independently obtained device identity is insufficient unless the supported semantics establish that binding and address changes during verification. If someone could identify the documented guarantees and limitations of any supported verification sequence, it would be emminently helpful. 2. Excluding non-root writable access through final consumption What supported mechanism or deployment configuration can establish that no non-root actor retains writable access to that backing storage, from capture through final consumption? This must account for: Writable disk-image files or other file-backed storage beneath the snapshot. Pre-existing writable raw/block-device handles. Aliases or alternate access paths to the same backing storage. Changes to the backing-storage configuration during that interval. A read-only snapshot mount and current ownership or device-permission checks alone do not establish this requirement: they do not demonstrate that previously acquired writable access is absent or has been revoked. What we need from the platform Please identify: The supported interfaces and their documented guarantees. Required privileges, supported macOS versions, and storage configurations. Deployment restrictions needed to establish and maintain the boundary. Any part of this requirement that cannot be established through supported public interfaces. We can restrict our supported deployment configurations where necessary, but those restrictions must have a documented basis. The general APFS overview explains features such as cloning, shared space, and sparse files. It does not answer these backing-storage identity and writer-exclusion questions. Likewise, describing snapshots as read-only does not by itself resolve whether their backing storage can be altered through another route. We are seeking platform semantics and supported mechanisms, not Apple certification of MasterVault. This information will determine our admission checks, supported configurations, and qualification tests. If the guarantee is unavailable—or cannot be substantiated for a particular configuration—our validation must remain unresolved, rather than report assurance we cannot support.
Replies
0
Boosts
0
Views
143
Activity
5d
Avoid trackpad gesture conflict between dragging and accessibility zooming when using three fingers
Double-tap three fingers and drag to change zoom” should suppress “Three Finger to Drag”. Currently these gestures are triggered simultaneously, for no real reasons. I saw different behaviors for different environments, but none is desired. Current and desired behavior: This seems an issue so I filed a feedback.
Replies
1
Boosts
1
Views
1.7k
Activity
6d
Looking for TestFlight testers: ChatOKF, private on-device AI chat for iPhone and Mac
I'm looking for beta testers for ChatOKF, a private AI chat that runs entirely on your own iPhone or Mac. The model lives in the device's memory and runs on Apple Silicon: no account, no sign-in, no subscription, no ads, no telemetry. Nothing leaves the device unless you let it look something up. New in this build: Voice to voice: Whistle ASR lets you talk to Qwen and Bonsai models and hear the replies spoken back Bonsai-2 models: 2B, 4B, 9B and 27B, alongside Gemma 4 and Qwen Especially wanted: native speakers of English, German, French, Spanish, Italian, Dutch or Polish to test speech recognition (ASR) and spoken replies (TTS) in their language. Also: Attach a PDF, Word file, spreadsheet or photo and ask about it Optional Wikipedia, weather and web search, each behind its own switch Memories are plain-text notes you can read and delete Only models your device can actually hold are listed TestFlight: https://testflight.apple.com/join/Qsvxk5Mh Website: https://leok7v.github.io/ChatOKF/ GitHub: https://github.com/leok7v/ChatOKF Feedback on recognition accuracy, voice quality, speed and memory use on different devices is very welcome. Thanks!
Replies
0
Boosts
0
Views
438
Activity
1w