Enum xcodebuild::parser::Step
source · [−]pub enum Step {
Show 34 variants
Invocation(Invocation),
CompileSwift(CompileSwift),
CompileSwiftSources(CompileSwiftSources),
CompileC(CompileC),
CodeSign(CodeSign),
CompileAssetCatalog(CompileAssetCatalog),
CompileStoryboard(CompileStoryboard),
CompileXIB(CompileXIB),
Ld(Ld),
CopySwiftLibs(CopySwiftLibs),
CopyResource(CopyResource),
CreateBuildDirectory(CreateBuildDirectory),
GenerateDSYMFile(GenerateDSYMFile),
LinkStoryboards(LinkStoryboards),
ScriptExecution(ScriptExecution),
PrecompileSwiftBridgingHeader(PrecompileSwiftBridgingHeader),
ProcessInfoPlistFile(ProcessInfoPlistFile),
ProcessProductPackaging(ProcessProductPackaging),
ResolvedSourcePackages(ResolvedSourcePackages),
Validate(Validate),
LibTool,
Note(String),
Planning,
MergeSwiftModule(MergeSwiftModule),
EmitSwiftModule(EmitSwiftModule),
BuildSucceed,
BuildFailed(BuildFailed),
CleanSucceed,
TestSucceed,
TestFailed,
Error(String),
Warning(String),
Exit(i32),
RegisterWithLaunchServices(RegisterWithLaunchServices),
}
Variants
Invocation(Invocation)
Command invocated
CompileSwift(CompileSwift)
Swift file compilation step
CompileSwiftSources(CompileSwiftSources)
Aggregated swift files compilation
CompileC(CompileC)
Clang compilation step
CodeSign(CodeSign)
Code Sign Step
CompileAssetCatalog(CompileAssetCatalog)
Asset’s catalog compilation
CompileStoryboard(CompileStoryboard)
Storyboard compilation
CompileXIB(CompileXIB)
Xib file compilation
Ld(Ld)
Linking of a library
CopySwiftLibs(CopySwiftLibs)
Swift Runtime was copied
CopyResource(CopyResource)
Resource file was copied
CreateBuildDirectory(CreateBuildDirectory)
Build Directory Creation Step
GenerateDSYMFile(GenerateDSYMFile)
DSM File Generation Step
LinkStoryboards(LinkStoryboards)
Storyboard linked
ScriptExecution(ScriptExecution)
Build phase shell script execution
PrecompileSwiftBridgingHeader(PrecompileSwiftBridgingHeader)
Precompile Bridging header
ProcessInfoPlistFile(ProcessInfoPlistFile)
Info plist process step
ProcessProductPackaging(ProcessProductPackaging)
Packaging step
ResolvedSourcePackages(ResolvedSourcePackages)
Packaging step
Validate(Validate)
Validate app
LibTool
TODO: Libtool was used to create a static library
Note(String)
General Note emitted
Planning
Planning phase
MergeSwiftModule(MergeSwiftModule)
Swift Module was merged
EmitSwiftModule(EmitSwiftModule)
Swift Module was emitted
BuildSucceed
Build Succeeded
BuildFailed(BuildFailed)
Build Failed
CleanSucceed
Clean Succeeded
TestSucceed
Test Succeeded
TestFailed
Test Failed
Error(String)
Error from stderr or error:
Warning(String)
Error from warning:
Exit(i32)
Exit Code
RegisterWithLaunchServices(RegisterWithLaunchServices)
Register Launch Services
Implementations
sourceimpl Step
impl Step
pub fn as_invocation(&self) -> Option<&Invocation>
sourcepub fn is_invocation(&self) -> bool
pub fn is_invocation(&self) -> bool
Returns true
if the step is Invocation
.
pub fn as_compile_swift(&self) -> Option<&CompileSwift>
sourcepub fn is_compile_swift(&self) -> bool
pub fn is_compile_swift(&self) -> bool
Returns true
if the step is CompileSwift
.
pub fn as_compile_swift_sources(&self) -> Option<&CompileSwiftSources>
sourcepub fn is_compile_swift_sources(&self) -> bool
pub fn is_compile_swift_sources(&self) -> bool
Returns true
if the step is CompileSwiftSources
.
pub fn as_compile_c(&self) -> Option<&CompileC>
sourcepub fn is_compile_c(&self) -> bool
pub fn is_compile_c(&self) -> bool
Returns true
if the step is CompileC
.
pub fn as_code_sign(&self) -> Option<&CodeSign>
sourcepub fn is_code_sign(&self) -> bool
pub fn is_code_sign(&self) -> bool
Returns true
if the step is CodeSign
.
sourcepub fn is_compile_storyboard(&self) -> bool
pub fn is_compile_storyboard(&self) -> bool
Returns true
if the step is CompileStoryboard
.
pub fn as_compile_storyboard(&self) -> Option<&CompileStoryboard>
sourcepub fn is_compile_xib(&self) -> bool
pub fn is_compile_xib(&self) -> bool
Returns true
if the step is CompileXIB
.
pub fn as_compile_xib(&self) -> Option<&CompileXIB>
pub fn as_ld(&self) -> Option<&Ld>
sourcepub fn is_copy_swift_libs(&self) -> bool
pub fn is_copy_swift_libs(&self) -> bool
Returns true
if the step is CopySwiftLibs
.
pub fn as_copy_swift_libs(&self) -> Option<&CopySwiftLibs>
sourcepub fn is_copy_resource(&self) -> bool
pub fn is_copy_resource(&self) -> bool
Returns true
if the step is CopyResource
.
pub fn as_copy_resource(&self) -> Option<&CopyResource>
sourcepub fn is_create_build_directory(&self) -> bool
pub fn is_create_build_directory(&self) -> bool
Returns true
if the step is CreateBuildDirectory
.
pub fn as_create_build_directory(&self) -> Option<&CreateBuildDirectory>
sourcepub fn is_generate_dsymfile(&self) -> bool
pub fn is_generate_dsymfile(&self) -> bool
Returns true
if the step is GenerateDSYMFile
.
pub fn as_link_storyboards(&self) -> Option<&LinkStoryboards>
sourcepub fn is_link_storyboards(&self) -> bool
pub fn is_link_storyboards(&self) -> bool
Returns true
if the step is LinkStoryboards
.
pub fn as_script_execution(&self) -> Option<&ScriptExecution>
sourcepub fn is_script_execution(&self) -> bool
pub fn is_script_execution(&self) -> bool
Returns true
if the step is ScriptExecution
.
sourcepub fn is_precompile_swift_bridging_header(&self) -> bool
pub fn is_precompile_swift_bridging_header(&self) -> bool
Returns true
if the step is PrecompileSwiftBridgingHeader
.
pub fn as_precompile_swift_bridging_header(
&self
) -> Option<&PrecompileSwiftBridgingHeader>
sourcepub fn is_process_info_plist_file(&self) -> bool
pub fn is_process_info_plist_file(&self) -> bool
Returns true
if the step is ProcessInfoPlistFile
.
pub fn as_process_info_plist_file(&self) -> Option<&ProcessInfoPlistFile>
sourcepub fn is_process_product_packaging(&self) -> bool
pub fn is_process_product_packaging(&self) -> bool
Returns true
if the step is ProcessProductPackaging
.
pub fn as_process_product_packaging(&self) -> Option<&ProcessProductPackaging>
sourcepub fn is_resolved_source_packages(&self) -> bool
pub fn is_resolved_source_packages(&self) -> bool
Returns true
if the step is ResolvedSourcePackages
.
pub fn as_resolved_source_packages(&self) -> Option<&ResolvedSourcePackages>
sourcepub fn is_validate(&self) -> bool
pub fn is_validate(&self) -> bool
Returns true
if the step is Validate
.
pub fn as_validate(&self) -> Option<&Validate>
sourcepub fn is_lib_tool(&self) -> bool
pub fn is_lib_tool(&self) -> bool
Returns true
if the step is LibTool
.
pub fn as_note(&self) -> Option<&String>
sourcepub fn is_merge_swift_module(&self) -> bool
pub fn is_merge_swift_module(&self) -> bool
Returns true
if the step is MergeSwiftModule
.
pub fn as_merge_swift_module(&self) -> Option<&MergeSwiftModule>
sourcepub fn is_emit_swift_module(&self) -> bool
pub fn is_emit_swift_module(&self) -> bool
Returns true
if the step is EmitSwiftModule
.
pub fn as_emit_swift_module(&self) -> Option<&EmitSwiftModule>
sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Returns true
if the step is build successed
pub fn as_exit(&self) -> Option<&i32>
sourcepub fn is_warning(&self) -> bool
pub fn is_warning(&self) -> bool
Returns true
if the step is Warning
.
pub fn as_warning(&self) -> Option<&String>
pub fn as_error(&self) -> Option<&String>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnwindSafe for Step
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Pipe for T where
T: ?Sized,
impl<T> Pipe for T where
T: ?Sized,
sourcefn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
Pipes by value. This is generally the method you want to use. Read more
sourcefn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R where
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R where
R: 'a,
Borrows self
and passes that borrow into the pipe function. Read more
sourcefn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R where
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R where
R: 'a,
Mutably borrows self
and passes that borrow into the pipe function. Read more
sourcefn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R where
Self: Borrow<B>,
B: 'a + ?Sized,
R: 'a,
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R where
Self: Borrow<B>,
B: 'a + ?Sized,
R: 'a,
Borrows self
, then passes self.borrow()
into the pipe function. Read more
sourcefn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> R where
Self: BorrowMut<B>,
B: 'a + ?Sized,
R: 'a,
fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> R where
Self: BorrowMut<B>,
B: 'a + ?Sized,
R: 'a,
Mutably borrows self
, then passes self.borrow_mut()
into the pipe
function. Read more
sourcefn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R where
Self: AsRef<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R where
Self: AsRef<U>,
U: 'a + ?Sized,
R: 'a,
Borrows self
, then passes self.as_ref()
into the pipe function.
sourcefn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R where
Self: AsMut<U>,
U: 'a + ?Sized,
R: 'a,
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R where
Self: AsMut<U>,
U: 'a + ?Sized,
R: 'a,
Mutably borrows self
, then passes self.as_mut()
into the pipe
function. Read more
sourceimpl<T> Tap for T
impl<T> Tap for T
sourcefn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self where
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self where
Self: Borrow<B>,
B: ?Sized,
Immutable access to the Borrow<B>
of a value. Read more
sourcefn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self where
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self where
Self: BorrowMut<B>,
B: ?Sized,
Mutable access to the BorrowMut<B>
of a value. Read more
sourcefn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self where
Self: AsRef<R>,
R: ?Sized,
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self where
Self: AsRef<R>,
R: ?Sized,
Immutable access to the AsRef<R>
view of a value. Read more
sourcefn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self where
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self where
Self: AsMut<R>,
R: ?Sized,
Mutable access to the AsMut<R>
view of a value. Read more
sourcefn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self where
Self: Deref<Target = T>,
T: ?Sized,
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self where
Self: Deref<Target = T>,
T: ?Sized,
Immutable access to the Deref::Target
of a value. Read more
sourcefn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self where
Self: DerefMut<Target = T> + Deref,
T: ?Sized,
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self where
Self: DerefMut<Target = T> + Deref,
T: ?Sized,
Mutable access to the Deref::Target
of a value. Read more
sourcefn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls .tap()
only in debug builds, and is erased in release builds.
sourcefn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls .tap_mut()
only in debug builds, and is erased in release
builds. Read more
sourcefn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self where
Self: Borrow<B>,
B: ?Sized,
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self where
Self: Borrow<B>,
B: ?Sized,
Calls .tap_borrow()
only in debug builds, and is erased in release
builds. Read more
sourcefn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self where
Self: BorrowMut<B>,
B: ?Sized,
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self where
Self: BorrowMut<B>,
B: ?Sized,
Calls .tap_borrow_mut()
only in debug builds, and is erased in release
builds. Read more
sourcefn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self where
Self: AsRef<R>,
R: ?Sized,
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self where
Self: AsRef<R>,
R: ?Sized,
Calls .tap_ref()
only in debug builds, and is erased in release
builds. Read more
sourcefn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self where
Self: AsMut<R>,
R: ?Sized,
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self where
Self: AsMut<R>,
R: ?Sized,
Calls .tap_ref_mut()
only in debug builds, and is erased in release
builds. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more