Closed UeharaYou closed 1 year ago
Hi @sindresorhus, @UeharaYou
solution 1 forks for Build only, and for Archive generates a sandbox error
@ikorich Hi there. Sorry I for the inconvenience. The solution does fail on archiving, and I failed to spot that the time I'm just debugging (it never failed since I'm using macOS 14).
For now the solution is to disable "User Script Sandboxing" option if you want to use this package. We have to change the script to have it fitted into the sandbox.
This is mainly because "Run Script Phase" is not designed for manipulating bundles, but to build sources (at least that's what Apple thinks), and "User scripting Sandboxing" is just in consideration for that. So we are basically exploiting the "Run Script phase" to do extra works.
I'm sorry for the inconvenience.
Description
It seems that Xcode 15.0 has changed "User Script Sandboxing" to YES by default, making Run Script Phase to fail with sandbox denying access the script and the helpers in LaunchAtLogin.bundle.
Environment
Error Message
Fixes