Copy link to clipboard
Copied
Hello all,
I've just finished refreshing my iMac to clean up the macOS and have run into a problem with an existing XCode project. The code is based on one of the Samples that comes with the Acrobat SDK and I did have it working previous to the wipe and reinstall, but now I'm getting an error at the end of the compilation.
There appears to be an Adobe shell script that runs at the end of the process to copy the compiled Adobe Acrobat plugin over to the /Users/<username>/Library/Application Support/Adobe/Acrobat/DC/Plug-ins directory. But I'm getting an error "Sandbox: ditto(50711) deny(1) file-read-data /<path to Desktop>/XCode-PDF-Plugins/PluginSupport/Samples/tech360AODAtool/mac/BuildResults/bin/debug/<pluginName.acroplugin" :
Operation not permitted
What I'm surmising is that somewhere in the past I updated a setting to allow XCode permission to read from the Desktop and write to the ~/Library directories. Any thoughts on what I need to do here to allow the shell script to copy the compiled plugin over the the user Library?
I found the solution in the Apple Developers Forum: In the build settings for the project, under "Build Options", you need to set the "User Script Sandboxing" to "No" (disabled). This seems to fix the issue.
Copy link to clipboard
Copied
I found the solution in the Apple Developers Forum: In the build settings for the project, under "Build Options", you need to set the "User Script Sandboxing" to "No" (disabled). This seems to fix the issue.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now