Closed fisher158163 closed 10 months ago
error message is:
error: Sandbox: bash(22733) deny(1) file-read-data /Users/xxx/Library/Developer/Xcode/DerivedData/Switcher-ankopopcbmninxbrgxaouxorttot/Build/Intermediates.noindex/ArchiveIntermediates/Switcher/IntermediateBuildFilesPath/UninstalledProducts/macosx/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Resources/copy-helper-swiftpm.sh (in target 'Switcher' from project 'Switcher') /bin/bash: /Users/xxx/Library/Developer/Xcode/DerivedData/Switcher-ankopopcbmninxbrgxaouxorttot/Build/Intermediates.noindex/ArchiveIntermediates/Switcher/BuildProductsPath/Release/LaunchAtLogin_LaunchAtLogin.bundle/Contents/Resources/copy-helper-swiftpm.sh: Operation not permitted
This is documented in the readme:
The build phase cannot run with "User Script Sandboxing" enabled. With Xcode 15 or newer where it is enabled by default, disable "User Script Sandboxing" in build settings.
This is documented in the readme:
The build phase cannot run with "User Script Sandboxing" enabled. With Xcode 15 or newer where it is enabled by default, disable "User Script Sandboxing" in build settings.
Thank you,I've seen the key message👍
LaunchAtLogin is integrated with SMP. It works fine when running locally, but encounters an error during archive. The error message is as follows:
macOS Version:Sonoma 14.1 Xcode Version:15.0.1