Closed jashion closed 6 years ago
error: argument 'targets' must precede argument 'dependencies' targets: [ ^~~~~~ dependencies: [] Can't parse Package.swift manifest file because it contains invalid format. Fix Package.swift file format and try again. error: invalidManifestFormat
请用指令swift package --version确认一下SPM的版本是不是4.0
swift package --version
@superous123 修改下源文件
@superous123 已经修复了,重新运行一下安装命令即可
error: argument 'targets' must precede argument 'dependencies' targets: [ ^
~~~~~ dependencies: [] Can't parse Package.swift manifest file because it contains invalid format. Fix Package.swift file format and try again. error: invalidManifestFormat