--- a/tools/osx/BUILD.orig	2023-05-03 17:34:35.000000000 -0400
+++ b/tools/osx/BUILD	2023-05-03 17:43:45.000000000 -0400
@@ -29,7 +29,7 @@
 
 DARWIN_XCODE_LOCATOR_COMPILE_COMMAND = """
   /usr/bin/xcrun --sdk macosx clang -mmacosx-version-min=10.13 -fobjc-arc -framework CoreServices \
-      -framework Foundation -arch arm64 -arch x86_64 -Wl,-no_adhoc_codesign -Wl,-no_uuid -o $@ $< && \
+      -framework Foundation -arch x86_64 -Wl,-no_uuid -o $@ $< && \
   env -i codesign --identifier $@ --force --sign - $@
 """
 
