xcbuild: set SYMROOT and OBJROOT

This commit is contained in:
Matthew Bauer 2018-04-08 00:24:50 -05:00
parent a77de95529
commit 7c1e39746d

@ -5,7 +5,7 @@ xcbuildBuildPhase() {
echo "running xcodebuild"
xcodebuild OTHER_CFLAGS="$NIX_CFLAGS_COMPILE" OTHER_CPLUSPLUSFLAGS="$NIX_CFLAGS_COMPILE" OTHER_LDFLAGS="$NIX_LDFLAGS" build
xcodebuild SYMROOT=$PWD/Products OBJROOT=$PWD/Intermediates $xcbuildFlags build
runHook postBuild
}