Skip to content

Commit

Permalink
Upgrade Xcode dependency to 14.2.
Browse files Browse the repository at this point in the history
Partial mas-cli#638

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
  • Loading branch information
rgoldberg committed Nov 16, 2024
1 parent 173b0a9 commit 097d04c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 1 addition & 6 deletions Homebrew/mas-tap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
7 changes: 1 addition & 6 deletions Homebrew/mas.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion script/build
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 097d04c

Please sign in to comment.