I already tried that. I ran: sudo xcode-select --install
A window poped up and prompted me to install command line tools. After agreeing, it launched Software Update which installed the command line tools. However, it seems that it installed the x86 version:
$ clang -O -o foo foo.c
xcrun: error: unable to load libxcrun (dlopen(/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib, 0x0005): could not use '/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib' because it is not a compatible arch).
I am using Xcode 12A8158a which came preinstalled on the DTK.
Post
Replies
Boosts
Views
Activity
OK, I figured this out, one has to select the beta version of Xcode as the default before installing the command line tools:
sudo xcode-select --switch /Applications/Xcode-beta.app
sudo xcode-select --install
I have launchd and launchctl listed as Full Disk Access. What is DDD?
I have the *.plist files in ~/Library/LaunchAgents. When I try dragging and dropping the files in Files and Folders or Full Disk Access, nothing happens. Is there some other way to set their permissions?
Yes, sorry for the confusion. This is going to be used both internally and deployed in product.
No, I haven't solved the issue.