Replies: 1 comment
-
@macwilko I've converted this to a discussion because we don't consider this a bug (for now). Are there particular usages that concern you? I believe most of our uses of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Apple do not recommend using #file and #filePath in non-test code.
There is a feature that's upcoming, make #file behave like #fileID (which is privacy preserving).
https://www.hackingwithswift.com/swift/5.8/concise-magic-file-names
The use of #filePath in PF code is problematic as it will leak information in produced binaries about the environment that created the binary.
Checklist
main
branch of this package.Expected behavior
Use #fileID only in non-test code
Actual behavior
#filePath is present in non-test code.
Reproducing project
No response
The Composable Architecture version information
No response
Destination operating system
No response
Xcode version information
No response
Swift Compiler version information
Beta Was this translation helpful? Give feedback.
All reactions