// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//go:build ignore
// +build ignore
// detect attempts to autodetect the correct
"bytes"
"crypto/x509"
"fmt"
- "io/ioutil"
"os"
"os/exec"
"strings"
fmt.Println("# will be overwritten when running Go programs.")
for _, mp := range mps {
fmt.Println()
- f, err := ioutil.TempFile("", "go_ios_detect_")
+ f, err := os.CreateTemp("", "go_ios_detect_")
check(err)
fname := f.Name()
defer os.Remove(fname)