L-Zephyr / Drafter

在iOS项目中自动生成类图和方法调用图 - Generate call graph in iOS project
MIT License
1.02k stars 127 forks source link

运行“curl "https://raw.githubusercontent.com/L-Zephyr/Drafter/master/install.sh" | /bin/sh”报错 #2

Closed jashion closed 6 years ago

jashion commented 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

L-Zephyr commented 6 years ago

请用指令swift package --version确认一下SPM的版本是不是4.0

superous123 commented 6 years ago

image

image

huangdaxiaEX commented 6 years ago

@superous123 修改下源文件

L-Zephyr commented 6 years ago

@superous123 已经修复了,重新运行一下安装命令即可