Anyone making "Sandbox-Safe" Audio Units?

DSP, Plugin and Host development discussion.
Post Reply New Topic
RELATED
PRODUCTS

Post

Use the following terminal command to reset sandbox bypass settings:

Code: Select all

defaults delete com.apple.audio.SandboxHelper
Don't delete the file in ~Library/Preferences because Mavericks cache plist preferences. Use defaults.

Info was given by Apple and I thank them for their quick assistance.

Post

Yes, what Blue Cat said exactly. Experimentation shows that to be the case.

EDIT: NVM. I didn't see that last.

Post

It seems Apple want to stop ALL professionals using their computers, and anything historical is dismissed when it's just 3 years old.
There are countless composers and musicians that use old plug-ins as part of their toolset, and Apple are blindly mowing it all over.
If Apple designed the guitar, it would be no longer playable by humans with fingers. "You don't need strings anymore" would be the cheer.
They are blind to us and everybody that used their computers in the past.

Post

DaveHoskins wrote:It seems Apple want to stop ALL professionals using their computers, and anything historical is dismissed when it's just 3 years old.
There are countless composers and musicians that use old plug-ins as part of their toolset, and Apple are blindly mowing it all over.
If Apple designed the guitar, it would be no longer playable by humans with fingers. "You don't need strings anymore" would be the cheer.
They are blind to us and everybody that used their computers in the past.
:tu:

Yes, they've gone consumer crazy and are forgetting the niche of media production applications that they once solely occupied.

Post

just upgraded garageband to see this issue.

When I tried to load my AU at the first time in Garageband 10, a dialog prompted saying "Security Settings need to be lowered blah blah, do you wan to lower the settings?"
Then I clicked on "Lowering Security Settings", my unsandboxed AU can be loaded correctly. Then this particular AU is fine. It can always be correctly started.

But when I tried to load my other plugins, that "lowering security settings" dialog did not show so that my plugin cannot be loaded and gave strange errors (like file accessing). Is there a way to lower the security settings for all AU? Now I can only load the very first AU which Garageband gave me the chance to lower the security setting..

Post

I think security settings are lowered for the application overall, not just for a plug-in (that's what makes it "interesting" for plug-ins: they are built by third parties but get the rights from their host...). Maybe your other plug-in does not access the same files in the same way?

Also, be aware that even with the lower priority settings, some sandbox limitations still apply (file system access for example). A sandboxed app with lower security settings will still not behave like a non sandboxed app.

For example, if you use the sandbox-safe APIs to access the documents/preferences/library folders, it should work, but beware that you will be returned paths that are inside the app's sandbox. If you use hard coded paths, it will just not work since you will try to access data outside of the sandbox without asking the user's permission.

Post

We probably shouldn't be using hard coded paths anyway.

What's the latest, official, sanctioned way of asking OSX where to put our configuration (including authorization) files? Surely there must be a function for it like there is in Windows?

Post

NSSearchPathForDirectoriesInDomains should be the way to go for any system path you want to access. Just be aware that in a sandboxed world, what you get is not the shared path but a sandboxed path, unique for each application.

This mainly causes issues when you want to share data between apps (presets, authorization files for example). Apple is aware of the problem (having to authorize ALL your plug-ins for ALL apps just does not make sense, does it?!?), but I am not sure they'll do anything about it, except maybe if all of you report bugs :-).

Post

Blue Cat Audio wrote:NSSearchPathForDirectoriesInDomains should be the way to go for any system path you want to access. Just be aware that in a sandboxed world, what you get is not the shared path but a sandboxed path, unique for each application.

This mainly causes issues when you want to share data between apps (presets, authorization files for example). Apple is aware of the problem (having to authorize ALL your plug-ins for ALL apps just does not make sense, does it?!?), but I am not sure they'll do anything about it, except maybe if all of you report bugs :-).
Thanks, will check it out.

Authorization isn't as much of a concern for me as preferences and default patches. If they have to authorize once for each host, no big deal -- few people run more than 2 or 3. But if their preferences are going to be different in every host that's just going to be insane!

Post

It will be, until Apple decides to change their sandboxing policy to something that is not only app-oriented but also includes third party plug-ins.


That's why we need to work together on this and push hard before the next Logic comes out and breaks everything!

Post

Blue Cat Audio wrote:That's why we need to work together on this and push hard before the next Logic comes out and breaks everything!
I may be cynical but this won't have any effect. They've written us off already.

What I would like is set up a website and have Lady Gaga, Hans Zimmer and simply every popular musican who uses our software say "Apple, please don't kill our tools!" on video.

Post

Urs wrote:
Blue Cat Audio wrote:That's why we need to work together on this and push hard before the next Logic comes out and breaks everything!
I may be cynical but this won't have any effect. They've written us off already.

What I would like is set up a website and have Lady Gaga, Hans Zimmer and simply every popular musican who uses our software say "Apple, please don't kill our tools!" on video.
Now you're talking! And a petition for the USERS of this stuff to sign! 100 plug-in developers won't get their attention. 10 thousand plug-in USERS will.

Speaking of bad decisions, is it true that Apple let most of their core audio team go recently or was that just a rumor? Obviously there must be SOMEONE left there who understands this industry. Don't the Logic developers understand that they're going to be scaring users away? Have they no influence on whatever higher-up dimwits make these decisions?

Post

Urs wrote:I may be cynical but this won't have any effect. They've written us off already.
The Logic Pro team is a bit different from Apple in general, so we may still have a chance to do something.

Post

Blue Cat Audio wrote:
Urs wrote:I may be cynical but this won't have any effect. They've written us off already.
The Logic Pro team is a bit different from Apple in general, so we may still have a chance to do something.
Well, someone in Cupertino said "the future is sandboxed and there's no shareholder value in pro". As in, less requirement for security updates outweigh the losses taken from the pro market.

Quite honestly, our Mac userbase is down from 60% to 30% in 4 years. The Mac platform seems to be changing from a creative platform to a consuming platform. It's an ongoing process and it's much more visible in the video scene. Apple went from quasi monopoly to niche with Final Cut when political decisions (not support Sony/Bluray) and "dumbing down" killed that app for pros.

Who knows where we are in 10 years. Maybe we'll all unite to do a Linux based audio workstation because Microsoft, Google and Apple are lost for us.

Post

Urs wrote:Apple went from quasi monopoly to niche with Final Cut when political decisions (not support Sony/Bluray) and "dumbing down" killed that app for pros.
I thought the pro video market was mostly on our good buddies at Avid's editor and hardware. I've never heard of a production house running Final Cut.

Speaking of which, what effect is sandboxing having on ProTools? (If any? Does the app have to volunteer to be sandboxed or is this enforced at the OS level for everything?)

Post Reply

Return to “DSP and Plugin Development”