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
Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?
Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.
Description
When trying to compile code with swift build with added resource file such as PrivacyInfo.xcprivacy inside Package.swift compilation fails, please check the attachment for stacktrace output. stacktrace.txt
Expected behavior
Expected behavior is for the swift to compile the library, which happens only if I don't specify anything in resources inside Package.swift
…ion.h
in languages that do not support it.
Add check the file extension for assembly files to not include
Foundation.h there as well.
Fixes: swiftlang#7949
Is it reproducible with SwiftPM command-line tools:
swift build
,swift test
,swift package
etc?swift build
,swift test
,swift package
etc.Description
When trying to compile code with swift build with added resource file such as PrivacyInfo.xcprivacy inside Package.swift compilation fails, please check the attachment for stacktrace output.
stacktrace.txt
Expected behavior
Expected behavior is for the swift to compile the library, which happens only if I don't specify anything in resources inside Package.swift
Actual behavior
SwiftPM fails due to many errors generated
Steps to reproduce
swift build
Swift Package Manager version/commit hash
5.3
Swift & OS version (output of
swift --version ; uname -a
)swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
The text was updated successfully, but these errors were encountered: