Skip to content

Commit

Permalink
[tests] Unset XCODE_DEVELOPER_DIR_PATH when building mac binding proj…
Browse files Browse the repository at this point in the history
…ects. (#2776)

Unset XCODE_DEVELOPER_DIR_PATH when building mac binding projects, so that
when building from VSfM when the Xcode in VSfM differs from the system Xcode
(according to xcode-select) the Xcode command-line tools don't end up confused
and fail in strange ways.
  • Loading branch information
rolfbjarne authored Sep 27, 2017
1 parent 8798cea commit ee91b95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/mac-binding-project/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ export MSBuildExtensionsPath=$(MAC_DESTDIR)/Library/Frameworks/Mono.framework/Ex
export XamarinMacFrameworkRoot=$(MAC_DESTDIR)/Library/Frameworks/Xamarin.Mac.framework/Versions/Current
export XAMMAC_FRAMEWORK_PATH=$(MAC_DESTDIR)/Library/Frameworks/Xamarin.Mac.framework/Versions/Current

# VSfM sets XCODE_DEVELOPER_DIR_PATH, which confuses the command-line tools if it doesn't match xcode-select, so just unset it.
unexport XCODE_DEVELOPER_DIR_PATH

bin:
$(Q) mkdir -p bin

Expand Down

0 comments on commit ee91b95

Please sign in to comment.