Is this a bug, or does it indicate that I'm using this function in the wrong way?
FileManager.unmountVolume(at:) logs error "attempt to post distributed notification 'com.apple.unmountassistant.process.start' thwarted by sandboxing."
Presumably this is on the Mac.
Are you making the unmountVolume(at:)
call from a sandboxed process? Does it succeed?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Yes, on the Mac in a sandboxed app. It succeeds.
OK. So from your perspective this is simply log noise. Everything is working and there’s nothing that you’re doing wrong to trigger the problem. However, it does suggest a deeper problem in the system that someone at Apple should look at so, if you’re feeling enthusiastic, please do file a bug about it.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"