Home Explore Blog CI



nixpkgs

doc/hooks/xcbuild.section.md
092df28dc64c4f58221de7c1af57c0843901b3e13ced1f24000000030000014c
# xcbuildHook {#xcbuildhook}

Overrides the build and install phases to run the "xcbuild" command. This hook is needed when a project only comes with build files for the XCode build system. You can disable this behavior by setting buildPhase and configurePhase to a custom value. xcbuildFlags controls flags passed only to xcbuild.

Chunks
c303e6c9 (1st chunk of `doc/hooks/xcbuild.section.md`)
Title: xcbuildHook: Overriding Build and Install Phases for XCode Projects
Summary
The `xcbuildHook` overrides the default build and install phases to execute the `xcbuild` command. This is necessary for projects that only provide build files compatible with XCode. Users can customize the build and configure phases, and `xcbuildFlags` allows passing specific flags to the `xcbuild` command.