Open cassianomonteiro opened 1 year ago
We're experiencing a similar issue with swift package --allow-writing-to-package-directory generate-code-for-resources
: Error: You don’t have permission to save the file “Localisation.swift” in the folder “Generated”.
When trying to run the package's tests in the command line using
swift test
, the plugin fails withYou don’t have permission to save the file “L10n.swift” in the folder “Generated”.
.To reproduce:
swift test
in the package root folderMy package example:
My
swiftgen.yml
file in the package root folderIt works fine when running with Xcode (ie, open the package and run tests). However running
swift test
gives this error: