Skip to content

Commit

Permalink
fix xcode-build
Browse files Browse the repository at this point in the history
  • Loading branch information
d1y committed Dec 18, 2024
1 parent cd8f1f0 commit 4ec077f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion script/bundle-mac
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ local_only=false
local_install=false
bundle_name=""
can_code_sign=false
LIBGIT2_NO_VENDOR=1

# This must match the team in the provisioning profile.
IDENTITY="Zed Industries, Inc."
Expand Down Expand Up @@ -303,7 +304,7 @@ function sign_app_binaries() {
dmg_target_directory="target/${architecture_dir}/${target_dir}"
dmg_source_directory="${dmg_target_directory}/dmg"
dmg_file_path="${dmg_target_directory}/Zed.dmg"
xcode_bin_dir_path="$(xcode-select -p)/usr/bin"
xcode_bin_dir_path="/Applications/Xcode-beta.app/Contents/Developer/usr/bin"

rm -rf ${dmg_source_directory}
mkdir -p ${dmg_source_directory}
Expand Down
2 changes: 1 addition & 1 deletion script/metal-debug
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ export DYMTL_TOOLS_DYLIB_PATH="/usr/lib/libMTLCapture.dylib"
export METAL_DEVICE_WRAPPER_TYPE=1
export GPUProfilerEnabled="YES"
export METAL_DEBUG_ERROR_MODE=0
export LD_LIBRARY_PATH="/Applications/Xcode.app/Contents/Developer/../SharedFrameworks/"
export LD_LIBRARY_PATH="/Applications/Xcode-beta.app/Contents/Developer/../SharedFrameworks/"

cargo run "$@"

0 comments on commit 4ec077f

Please sign in to comment.