Skip to content

Commit

Permalink
Make '--no-xcodebuild' logic easier to understand.
Browse files Browse the repository at this point in the history
Signed-off-by: furby™ <[email protected]>
  • Loading branch information
furby-tm committed Nov 30, 2024
1 parent 430934a commit bcee5bb
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ enum XcodeBuildManager {
forceUsingXcodeBuild = true
}

return command.arguments.noXcodebuild ? !command.arguments.noXcodebuild : forceUsingXcodeBuild
// Allows the '--no-xcodebuild' flag to be passed in, to override whether
// or not the swiftpm-based build system is used, even for embedded apple
// platforms (ex. visionOS, iOS, tvOS, watchOS).
return command.arguments.noXcodebuild ? false : forceUsingXcodeBuild
}
}

0 comments on commit bcee5bb

Please sign in to comment.