Upgrade Xcode dependency to 14.2.

Partial #638

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
This commit is contained in:
Ross Goldberg 2024-11-15 15:08:44 -05:00
parent 173b0a9d86
commit 097d04c460
No known key found for this signature in database
4 changed files with 4 additions and 14 deletions

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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)