Skip to content
New issue

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

error: product dependency 'CommandLineKit' not found #41

Open
jeniva opened this issue Jun 29, 2019 · 6 comments
Open

error: product dependency 'CommandLineKit' not found #41

jeniva opened this issue Jun 29, 2019 · 6 comments

Comments

@jeniva
Copy link

jeniva commented Jun 29, 2019

执行./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
不知道要怎么解决

@onevcat
Copy link
Owner

onevcat commented Jul 1, 2019

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

@jeniva
Copy link
Author

jeniva commented Jul 1, 2019

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

@onevcat
Copy link
Owner

onevcat commented Jul 1, 2019

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.)

@jeniva
Copy link
Author

jeniva commented Jul 1, 2019

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

@onevcat
Copy link
Owner

onevcat commented Jul 1, 2019

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

@jeniva
Copy link
Author

jeniva commented Jul 1, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants