diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index d5c00c248..532fa7495 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -20,7 +20,7 @@ assignees: '' - [] `.pkg` installer from [releases](https://github.com/mas-cli/mas/releases) - [] Built from source - Fork/branch: ? (e.g. mas-cli/main) - - Xcode version: 10.? + - Xcode version: (e.g. 14.2) ## Describe the Bug diff --git a/Homebrew/mas-tap.rb b/Homebrew/mas-tap.rb index 4195b6d3b..d477cd7da 100644 --- a/Homebrew/mas-tap.rb +++ b/Homebrew/mas-tap.rb @@ -28,13 +28,8 @@ class Mas < Formula sha256 cellar: :any_skip_relocation, el_capitan: "0d042a450d2623e3ea40db0b645454ee88d1a1763a7aa778eec5beea619b9a60" end + depends_on xcode: ["14.2", :build] depends_on :macos - on_arm do - depends_on xcode: ["12.2", :build] - end - on_intel do - depends_on xcode: ["12.0", :build] - end def install system "script/build" diff --git a/Homebrew/mas.rb b/Homebrew/mas.rb index 050648f6a..7e1373205 100644 --- a/Homebrew/mas.rb +++ b/Homebrew/mas.rb @@ -23,13 +23,8 @@ class Mas < Formula sha256 cellar: :any_skip_relocation, catalina: "d241d3b9156b033f3d2c31684a44de726297e07fd9bd5e3ccc4c36e4f1c3baf3" end + depends_on xcode: ["14.2", :build] depends_on :macos - on_arm do - depends_on xcode: ["12.2", :build] - end - on_intel do - depends_on xcode: ["12.0", :build] - end def install system "script/build" diff --git a/script/build b/script/build index fd84a9a31..1f327635b 100755 --- a/script/build +++ b/script/build @@ -22,7 +22,7 @@ if [[ "${#}" -ge 1 && "${1}" == '--universal' ]]; then ) fi -# Disable the manifest cache on Xcode 12.5 and later. +# Disable the manifest cache. CACHE=() if [[ "$(swift build --help)" =~ manifest-cache ]]; then CACHE=(--manifest-cache none)