Fallback xctrace profiler resolution on SDKROOT env variable

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None
    • Environment:

      Nix shell on macOS.

    • jmh

      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.

            Assignee:
            Galder ZamarreƱo
            Reporter:
            Galder ZamarreƱo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: