Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 4be75a0

Browse files
committed
Bumped version to 1.3.0 and adjusted default arguments
1 parent 2fdee55 commit 4be75a0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/CreateXCFramework/Command+Options.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ extension Command {
4444
valueName: TargetPlatform.allCases.map({ $0.rawValue }).joined(separator: "|")
4545
)
4646
)
47-
var platform: [TargetPlatform]
47+
var platform: [TargetPlatform] = []
4848

4949
@Option(help: ArgumentHelp("Where to place the compiled .xcframework(s)", valueName: "directory"))
5050
var output = "."
@@ -69,7 +69,7 @@ extension Command {
6969
// MARK: - Targets
7070

7171
@Argument(help: "An optional list of products (or targets) to build. Defaults to building all `.library` products")
72-
var products: [String]
72+
var products: [String] = []
7373
}
7474
}
7575

Sources/CreateXCFramework/Command.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ struct Command: ParsableCommand {
2727
2828
Supported platforms: \(TargetPlatform.allCases.map({ $0.rawValue }).joined(separator: ", "))
2929
""",
30-
version: "1.2.1"
30+
version: "1.3.0"
3131
)
3232

3333

0 commit comments

Comments
 (0)