You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run the package's tests in the command line using swift test, the plugin fails with You don’t have permission to save the file “L10n.swift” in the folder “Generated”..
To reproduce:
Create a swift package manifest with a main and a test target. The main target should contain resources.
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:The text was updated successfully, but these errors were encountered: