[SR-7690] SwiftPM does not print any warnings which is must be emitted at all during build plan
including message about pkg-config provider hinting feature
#4816
Labels
Environment
macOS High Sierra version 10.13.4
iMac (retina 4K, 21.5-inch, 2017)
Xcode 9.3
Additional Detail from JIRA
md5: b7f9f5a07573f0cdd6825d07182a7cb7
Issue Description:
SwiftPM does not print any warnings which is must be emitted at all during `build plan` including message about pkg-config provider hinting feature.
In `Build.BuildPlan.plan`, this object print warning via `delegate.warning`.
It includes pkg-config provider hinting feature which is implemented in SE-0063.
https://github.com/apple/swift-evolution/blob/master/proposals/0063-swiftpm-system-module-search-paths.md
But its `delegate` property is always nil.
So these messages does not be printed at all.
It includes other pkg-config resolving failure information.
It makes very hard to debugging trouble about `Package.swift`.
For example, my other ticket about SwiftPM hit this issue.
SwiftPM suppress these warnings and continue to running complete silently,
so my investigation was very hard.
https://bugs.swift.org/browse/SR-7689
The text was updated successfully, but these errors were encountered: