Hi, my project with Google Mobile Ad SDK pod is facing a lot of issues. It's now the one in the title.
Literally every post I found is about setting the User Script Sandboxing in the build option to no. But mine is already no. Any advice?
A little more info, at first it was "Command PhaseScriptExecution failed with a nonzero exit code". I clean the build folder. It changed to "Sandbox: rsync.samba([some other number]) deny(1) file-read-data". I cleaned the build folder again. Then it changed to the title one. Not sure if this is relevant.
Many many thanks!
It's likely your project is still configured to sandbox your script, possibly at a different level of build settings that you looked at. If you go to the script build phase and check the box to include the environment variables in the build log, you can then inspect the script output by expanding that step in the build blog, and see what the value for ENABLE_USER_SCRIPT_SANDBOXING
is. If it's still YES
, you need to keep looking through your project's settings to see where you haven't set this to NO
yet.
If the output shows that the setting is NO
as you already think, then you need to bring this up with your vendors for dependency management and your Ad SDK to understand why their integration code depends on rsync
, and what configuration do they require for integrating their library. It's possible they have different integration instructions that allow the sandbox to stay enabled (which is the default and recommended approach for security), or alternate ways of integrating their library into your app that does not rely on running build scripts at all, such as using Swift Package Manger.
— Ed Ford, DTS Engineer