We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apple Swift version 4.2 (swiftlang-1000.11.37.1 clang-1000.11.45.1)
md5: 08856eb20dce5a7e7af42a79364583ac
Issue Description:
Using
$ swift package init --type empty
or
$ swift package init --type system-module
to generate a new package generates invalid source code in Package.swift.
Trying to compile right after initializing results in an error:
$ swift build $ error: manifest parse error(s): $ /Package.swift:12:1: error: unexpected ',' separator ) ^
The text was updated successfully, but these errors were encountered:
Comment by Nityananda Zbil (JIRA)
I started to fix it, but then the compiler gave a warning that there is no target.
Obviously, that is true for an empty package.
Sorry, something went wrong.
This was fixed by a contributor.
No branches or pull requests
Environment
Apple Swift version 4.2 (swiftlang-1000.11.37.1 clang-1000.11.45.1)
Additional Detail from JIRA
md5: 08856eb20dce5a7e7af42a79364583ac
Issue Description:
Using
or
to generate a new package generates invalid source code in Package.swift.
Trying to compile right after initializing results in an error:
The text was updated successfully, but these errors were encountered: