-
Notifications
You must be signed in to change notification settings - Fork 354
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers
Description
As described in the Getting Started (count.swift) example, Package.swift contains
targets: [
.target(
name: "count",
dependencies: [.product(name: "ArgumentParser", package: "swift-argument-parser")]),
]
but swift.run emitted:
error: no executable product available
until I changed .target to .executableTarget
ArgumentParser version: main branch 1.2.0
Swift version:
swift-driver version: 1.62.15 Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
Target: x86_64-apple-macosx13.0
Checklist
- [tick ] If possible, I've reproduced the issue using the
mainbranch of this package - [tick ] I've searched for existing GitHub issues
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers