Home Explore Blog CI



nixpkgs

1st chunk of `doc/hooks/xcbuild.section.md`
c303e6c9e2a801eec9c97f28f36b2cd3e308e30bb755f4b7000000010000014c
# 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.

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.