apple / swift-crypto

Open-source implementation of a substantial portion of the API of Apple CryptoKit suitable for use on Linux platforms.
https://apple.github.io/swift-crypto
Apache License 2.0
1.47k stars 165 forks source link

Convert PrivacyInfo.xcprivacy symlinks to files #251

Closed jakepetroules closed 3 months ago

jakepetroules commented 3 months ago

It is expected behavior of the swift-build build system to copy links as-is, so presenting these as symlinks results in broken symlinks being present in the produced resource bundles, which won't work properly.

On Windows, it even causes the build entirely to fail due to a related bug: https://github.com/apple/swift-foundation/issues/845

This is a regression from #226. Convert these to flat files instead.

jakepetroules commented 3 months ago

@swift-ci please test

Lukasa commented 3 months ago

@swift-server-bot test this please