Skip to content

Commit ad226ac

Browse files
committed
Conditionally import FoundationXML for upcoming Foundation changes
1 parent ab9bdaa commit ad226ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/Commands/MultiRootSupport.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ import SPMUtility
1313
import class PackageModel.Manifest
1414
import Foundation
1515

16+
#if canImport(FoundationXML)
17+
import FoundationXML
18+
#endif
19+
1620
/// A bare minimum loader for Xcode workspaces.
1721
///
1822
/// Warning: This is only useful for debugging workspaces that contain Swift packages.

0 commit comments

Comments
 (0)