Documentation ¶
Index ¶
Constants ¶
const SwiftPackagesStateInvalid = "Could not resolve package dependencies:"
SwiftPackagesStateInvalid is the partial error message printed out if swift packages cache is invalid. Can be used to detect invalid state and clear the path returned by SwiftPackagesPath. xcodebuild: error: Could not resolve package dependencies:
The repository at [path] is invalid; try resetting package caches
Variables ¶
This section is empty.
Functions ¶
func CollectSwiftPackages ¶
CollectSwiftPackages marks the Swift Package Manager packages directory to be added the cache. The directory cached is: $HOME/Library/Developer/Xcode/DerivedData/[PER_PROJECT_DERIVED_DATA]/SourcePackages.
func SwiftPackagesPath ¶
SwiftPackagesPath returns the Swift packages cache dir path. The input must be an absolute path. The directory is: $HOME/Library/Developer/Xcode/DerivedData/[PER_PROJECT_DERIVED_DATA]/SourcePackages.
Types ¶
This section is empty.