Skip to content

Commit

Permalink
Use exact Xcode version comparison based on major release number
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefizso committed Oct 29, 2024
1 parent 6915976 commit a55fb20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ async function mergeResultBundle(
.concat(inputPaths)
.concat(['--output-path', outputPath])

if (xcodeVersion >= 16) {
if (xcodeVersion === 16) {
args.push('--legacy')
}

Expand Down
4 changes: 2 additions & 2 deletions src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class Parser {
reference
]

if (xcodeVersion >= 16) {
if (xcodeVersion === 16) {
args.push('--legacy')
}

Expand Down Expand Up @@ -80,7 +80,7 @@ export class Parser {
args.push(reference)
}

if (xcodeVersion >= 16) {
if (xcodeVersion === 16) {
args.push('--legacy')
}

Expand Down

0 comments on commit a55fb20

Please sign in to comment.