I am having a problem in OS X 10.11 that didn’t happen in earlier systems.  In 
my run script phase, I copy the final build of my AudioUnit plug-in to the 
Components folder, but am getting a “Permission denied” error.

I added group write permissions to the whole /Library/Audio tree, but it still 
gives me that error.  Here is my script line that fails:

cp -pR "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.${WRAPPER_EXTENSION}" 
"/Library/Audio/Plug-Ins/Components/${PRODUCT_NAME}.${WRAPPER_EXTENSION}"

(The quotes are because PRODUCT_NAME has a space in it.)

This used to work in older OS. The file does not exist there (and should be 
removed via rm before the cp if it does). The permissions on the Components 
folder (as shown by “ls -l”) shows “drwxrwxr-x”, with “root” and “wheel” 
listed. When I look at my older OS, I see “admin”, not “wheel” there, but 
otherwise the same permissions.

How do I get this to work?

Thanks,
        -Howard

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to