Currently xctrace profiler is only resolved out of `$(xcode-select -p)/usr/bin/xctrace`, but this doesn't work when running in isolated environments like Nix.
If the above check doesn't work, XCode dev tools resolution should fallback on the `SDKROOT` environment variable. Nix shell instances can set this correctly and locate xctrace successfully.
If the above check doesn't work, XCode dev tools resolution should fallback on the `SDKROOT` environment variable. Nix shell instances can set this correctly and locate xctrace successfully.