Post

Replies

Boosts

Views

Activity

Reply to sandbox-exec file-write behaves unexpectedly
When developing profiles for sandbox-exec, monitoring sandbox log messages is very helpful to understanding exactly what is being denied. I watch the activity with this command ( that I found in /System/Library/Sandbox/Profiles/com.apple.RemoteManagementAgent.sb ) : log stream --style compact --info --debug  --predicate '(((processID == 0) AND (senderImagePath CONTAINS "/Sandbox")) OR (subsystem == "com.apple.sandbox.reporting"))' I've created profiles to add a layer of security when building open source apps, without the inconvenience and overhead of running in a VM. They are available at https://github.com/BrianSwift/macOSSandboxBuild
Sep ’21
Reply to Metal performance compared to OpenCL
Have you looked at the performance information from Capture GPU Frame? Unfortunately, I don't think you get the fine grained stats on Intel/Discrete that are available on A10X and newer SOCs. If you expect the code to live into the Apple Silicon era, exploring performance on a modern iPad might not be a waste of time. Also, would OpenCL be using both CPU and GPU while Metal is only using GPU?
Oct ’20
Reply to Headless Apple TV development
One more note. When initially using the Headless Plug the Apple TV Video mode was 2160p60Hz SDR . When I changed it to 2160p60Hz HDR the Apple TV interface became unstable (focus movement erratic, list of available video modes being repainted every few seconds with focus moved to bottom entry). And it was very difficult (many attempts to quickly move through the settings before they repainted) to switch back to SDR. Once reset to 2160p60Hz SDR the interface was stable again.
Sep ’20
Reply to Headless Apple TV development
I picked up a "FREEGENE HDMI Dummy Plug Virtual Screen Display Emulator for Headless PC 4096x2160@60Hz, 3 Pack Headless Ghost". And it works well. When I need to see what is on the screen, I'm able to use QuickTime Player "Movie Recording" as a realtime monitor without much negative impact on my app's performance.
Sep ’20