Here are the important parts:
Exception Codes: KERN_PROTECTION_FAILURE at 0x00007ffeeccd3ff8
VM Regions Near 0x7ffeeccd3ff8:
MALLOC_LARGE 7ff27e800000-7ff27f101000 [ 9220K] rw-/rwx SM=PRV
--> STACK GUARD 7ffee94d4000-7ffeeccd4000 [ 56.0M] ---/rwx SM=NUL stack guard for thread 0
On later versions (ios 14.4 and xcode 12.4) I've fixed with the following
Open the Settings app
Open Device Management
Click on Apple Develpment
From here you should be able to trust the app. :-)
Open a Finder window showing your Xcode program
Open a command line prompt (terminal.app is fine)
Type xcode-select --switch
Drag the Xcode program icon you want to be default into the command line window and release the icon
The select tool lets you have multiple versions of the tools and switch back and forth or even request an ...
Running xcode-select --install didn't work for me after deleting Xcode through Launchpad, because Terminal response was
error: command line tools are already installed, use "Software Update" to install updates
In App Store Xcode looked deinstalled and also downloading the Command Line Tools from https://developer.apple.com and installing them from ...
Exactly what Marc Wilson said. I had neither Xcode, nor the com.apple.pkg.CLTools_Executables package:
$ pkgutil --pkg-info com.apple.pkg.CLTools_Executables
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
$ pkgutil --pkg-info com.apple.pkg.CLTools_Base
No receipt for 'com.apple.pkg.CLTools_Base' found at '/'.
$ ls /Applications/Xcode.app
Git being there means some part of the CLT is there, since the shim doesn't come up, and since Xcode is not installed.
It is a known problem that the receipt for the CLT may disappear. One documentation of this is by MacPorts, linked here.
Download the command line tools package from the Apple Developer site.
If the version of the CLT you need is not ...
These days, yes (almost). Xcode has been self-contained for years and you’ve got most of the directories. The only bits you’re missing are com.apple.dt.* files in:
No, I wouldn't recommend using that method. At the same time, you're risking deleting too much, and not actually deleting the whole thing.
For quite some time now, Xcode can actually be uninstalled simply by dragging the Xcode app from the Applications folder and into the Trash. This will quite significantly delete most of its footprint.
On older systems, ...
There is a port of Xquartz to Apple Silicon - searching the web does give a few links
One I found https://github.com/XQuartz/XQuartz/issues/14#issuecomment-754400158 is by the person who maintains XQuartz
Yeah, it works fine and has since very early in our bringup of Apple Silicon Macs. There just isn't a package available because nobody has taken over ...
Your executable is looking in the current working directory (CWD).
When run from Xcode, Xcode actively changes the current working directory to where your executable has been built.
When run from the Finder on macOS, the current working directory will not be the directory of your executable. Thus the executable can not find the text file.
Use the getcwd ...
Everywhere I have ever worked in 30 years of IT work it is perfectly fine to place an installer on a local/network drive for in-house installation as long as there are no licensing issues.
And since XCode is free to use for anyone with a compatible Mac, I would think yes, this is fine.
Also macOS Server has (I seem to recall) a caching option which stores ...