Skip to main content
AODA_Developer
Inspiring
December 6, 2023
Answered

Xcode compile error

  • December 6, 2023
  • 1 reply
  • 531 views

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?

This topic has been closed for replies.
Correct answer AODA_Developer

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.

1 reply

AODA_Developer
AODA_DeveloperAuthorCorrect answer
Inspiring
December 6, 2023

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.