-
Notifications
You must be signed in to change notification settings - Fork 792
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: unknown argument: '-suppress-warnings' #23
Comments
你的 CocoaPods 版本号? 使用的是哪个 pod 源? |
你好!我的pod版本是1.2.0. pod源是这样:
|
#22 |
谢谢博主回复!我是在国外,pod下载没有问题。我手动运行swiftc带上 -suppress-warnings 参数,它提示同样的错误。所以应该是xcode不支持 "-suppress-warnings" 这个选项。这就很奇怪了。不知道各位是否遇到过类似的问题?小弟是刚刚接触xcode开发,对此一窍不通。我用的xcode版本是7.0。swiftc版本是2.0. 用vmware虚拟机运行OS X 10.10。 |
哦,Xcode 7 应该是不行的,这个工程需要 Xcode 8 以上。另外 |
好的,非常感谢博主!! |
您好!我是新手,编译时发现两个错误,都是一样的错误,发生在编译BSGridCollectionViewLayout 和Alamofire的时候。请问博主知道是什么原因吗?谢谢!
:0: error: unknown argument: '-suppress-warnings'
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
The text was updated successfully, but these errors were encountered: