I am attempting to implement newly added entry specifier package deal
public class PackageDemoLibrary {
public init() {}
public var publicVariable = ""
package deal var packageVariable = ""
}
but it surely’s saying Decl has a package deal entry degree however no -package-name was handed.
as per documentation: A brand new flag -package-name is handed right down to a commandline invocation, as follows. Learn extra right here
swiftc -module-name Engine -package-name gamePkg ...
swiftc -module-name Sport -package-name gamePkg ...
swiftc -module-name App -package-name appPkg ...
I am unsure how can I add -package identify in to my SPM Bundle.
Anybody understand how can I eliminate this error