Have you tried creating the file in the directory returned by confstr(_CS_DARWIN_USER_TEMP_DIR...? See man 3 confstr for details. This directory can be shown from command line with getconf DARWIN_USER_TEMP_DIR
Post
Replies
Boosts
Views
Activity
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
delete this comment
sandbox-exec is still around. I've created profiles to provide a security layer when building open source software (eg configure; make) They are available at https://github.com/BrianSwift/macOSSandboxBuild
I verified is still issue in Xcode 12.3 and submitted as FB8972110
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?
I submitted a feature request for this in 2016. Was radar 28675140. And was closed as being a duplicate of another radar, so someone else had requested it before me. Maybe if we could get everyone who's posted a similar question in the forums to request it, it'll get some action.
To be a little more specific, the App's display fragment shader execution time reported by GPU frame capture increased for 2.5ms to 3.5ms for a 4K display.
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.
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.
Still seeing it with GM XC 12. Doesn't seem to cause a problem. No SwiftUI in my app.
I started getting this error in an app. Eventually tracked down to indexing beyond the end of a buffer passed into a fragment shader, due to an off-by-1 error.
Submitted as Feedback FB8545183
I picked up a BT keyboard and it's working for Switch testing. I've also submitted feedback FB8481108 suggesting game controller buttons to be usable as switches. Thanks.
Thanks.
Would you expect the buttons on a PS4 Dualshock controller to be usable as switches?
I paired one to the AppleTV, but "Activate your external switch" doesn't detect any button presses.