I don't understand this error during xcode build:
Sandbox: bash(30970) deny(1) file-read-data /Users/.../ios/App/Pods/Target Support Files/Pods-[name]/Pods-[name]-frameworks.sh
can anyone help me please?
I don't understand this error during xcode build:
Sandbox: bash(30970) deny(1) file-read-data /Users/.../ios/App/Pods/Target Support Files/Pods-[name]/Pods-[name]-frameworks.sh
can anyone help me please?
This error seems to be caused by the fact that ENABLE_USER_SCRIPT_SANDBOXING in the build settings got switched to YES. This variable, intuitively, enables sandboxing for scripts that are run as build phases. So, when the build phase script simply calls an external script file, the build phase script can not get access either to the script file itself, or maybe to some of the files that the script tries to access, although I'm not sure if the latter would produce the same error.
A quick fix is to set ENABLE_USER_SCRIPT_SANDBOXING to NO in the Build Settings for both the project and the target (at least setting it just for the target didn't work for me).
The right way would be to leave it on, but configure input / output files for the script, however I was not able to do it right away and resorted to the "quick and dirty" solution, since all the scripts in the project are mine.
Here a user was able to get the scripts to run by adding the script itself into input/output files, but it didn't work for me.