pub enum Error {
Show 17 variants
XcodeSelectPathFailedReading(Error),
XcodeSelectRun(Error),
XcodeSelectBadStatus(ExitStatus),
Io(Error),
DeveloperDirectoryNotFound,
PathNotDeveloper(PathBuf),
PathNotPlatform(PathBuf),
PathNotSdk(PathBuf),
VersionParse(String),
FunctionalityNotSupported(&'static str),
PlistNotDictionary,
PlistKeyMissing(String),
PlistKeyNotDictionary(String),
PlistKeyNotString(String),
SerdeJson(Error),
Plist(Error),
UnknownTarget(String),
}
Expand description
Error type for this crate.
Variants§
XcodeSelectPathFailedReading(Error)
Error occurred when trying to read xcode-select
paths.
XcodeSelectRun(Error)
Error occurred when running xcode-select
.
XcodeSelectBadStatus(ExitStatus)
xcode-select
did not run successfully.
Io(Error)
Generic I/O error.
DeveloperDirectoryNotFound
A developer directory could not be found.
PathNotDeveloper(PathBuf)
A path is not a Developer Directory.
PathNotPlatform(PathBuf)
A path is not an Apple Platform directory.
PathNotSdk(PathBuf)
A path is not an Apple SDK.
VersionParse(String)
A version string could not be parsed.
FunctionalityNotSupported(&'static str)
Certain functionality is not supported.
PlistNotDictionary
A plist value is not a dictionary.
PlistKeyMissing(String)
An expected plist key is missing.
If you see this, it might represent a logic error in this crate.
PlistKeyNotDictionary(String)
A plist key’s value is not a dictionary.
If you see this, it might represent a logic error in this crate.
PlistKeyNotString(String)
A plist key’s value is not a string.
If you see this, it might represent a logic error in this crate.
SerdeJson(Error)
Plist(Error)
UnknownTarget(String)
Maybe a new target is added to rust toolchain.