Lines Matching refs:macTools
135 var macTools = &macPlatformTools{} var
138 macTools.once.Do(func() {
142 if macTools.err != nil {
148 macTools.err = fmt.Errorf("xcrun %q failed with: %q", args, err)
158 …macTools.err = fmt.Errorf("MAC_SDK_VERSION %s isn't supported: %q", selected, darwinSupportedSdkVe…
171 macTools.err = fmt.Errorf("Could not find a supported mac sdk: %q", darwinSupportedSdkVersions)
175 macTools.sdkRoot = xcrunSdk("--show-sdk-path")
177 macTools.arPath = xcrun("--find", "ar")
178 macTools.stripPath = xcrun("--find", "strip")
179 macTools.toolPath = filepath.Dir(xcrun("--find", "ld"))
181 if macTools.err != nil {
182 ctx.Errorf("%q", macTools.err)
184 return macTools