Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Xcode compile error

Explorer ,
Dec 06, 2023 Dec 06, 2023

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?

TOPICS
Acrobat SDK and JavaScript , Mac
444
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Dec 06, 2023 Dec 06, 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.

Translate
Explorer ,
Dec 06, 2023 Dec 06, 2023
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines