Apple Sandbox

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message


  • Posts: 8
  • Joined: Mon Feb 17, 2020 6:59 pm
  • Real Name: Glenn Kenny

Apple Sandbox

PostSun Jan 10, 2021 10:25 pm

I'm trying to write an app for the Apple App Store. When I set Xcode to use App Sandbox, I get a log
"[User Defaults] Couldn't read values in CFPrefsPlistSource<0x600002abf200> (Domain: com.blackmagic-design.desktopvideo.prefspanel, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: No): accessing preferences outside an application's container requires user-preference-read or file-read-data sandbox access" If I turn off the sandbox request, the log goes away. I think this may have something to do with an apparent memory leak when sandboxing. What entitlements do I need to get rid of this message?

The memory leak seems to occur at the driver level, as nothing will restore the memory other than rebooting the computer.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 6 guests