FengNiao icon indicating copy to clipboard operation
FengNiao copied to clipboard

error: product dependency 'CommandLineKit' not found

Open jeniva opened this issue 6 years ago • 6 comments

执行./install.sh保存 localhost:FengNiao test01$ ./install.sh error: product dependency 'CommandLineKit' not found error: product dependency 'CommandLineKit' not found cp: .build/release/FengNiao: No such file or directory 不知道要怎么解决

jeniva avatar Jun 29 '19 08:06 jeniva

Not sure why. Maybe it worths to try a full clean or re-download the source.

onevcat avatar Jul 01 '19 02:07 onevcat

屏幕快照 2019-07-01 10 22 36 我试过了re-download和clean都不行,是不是和swift版本有关系

jeniva avatar Jul 01 '19 02:07 jeniva

Not sure why you provide a screenshot of Xcode.

Can you try to run the command below and paste the result if it fails?

git clone https://github.com/onevcat/FengNiao.git
cd FengNiao
./install.sh

I guess it should be find if you have at least Xcode 10 installed (and as the command line tool be in used.)

onevcat avatar Jul 01 '19 02:07 onevcat

屏幕快照 2019-07-01 11 09 51 我有安装xcode9.2 和Xcode10.2,不过我目前主要使用的是Xcode9.2,看截图,目前送使用的 command line tool 应该是Xcode9.2下面的吧

jeniva avatar Jul 01 '19 03:07 jeniva

嗯..换到 10 试试看吧...Xcode 9 的话有可能是不支持的,因为 Swift lang 大家都换到 4.2 了吧..

onevcat avatar Jul 01 '19 03:07 onevcat

换成Xcode10成功了,谢谢,还想再咨询一下这个工具的原理是什么,我和开发确认了一下扫描出来的图片如果是静态的引用根据写死的图片路径是好检测的,根据图片名字在代码中检测是否引用。但是如果是动态的,比如图片名字是某个模块的用变量命名的是不是就漏检测了容易引起误删除?

jeniva avatar Jul 01 '19 06:07 jeniva