amb*_*ght 11 xcode llvm compiler-warnings swift
为了让我的Objective-C框架在我的Swift可可触摸框架中成功链接,我不得不使用这种不合适的解决方法,这涉及将所有框架头文件作为公共头文件导入到项目中.
我完全不需要所有这些都出现在我的伞形标题中,所以我想以某种方式删除生成的一堆警告.("模块'Foo'的Umbrella标题不包含标题").我在构建设置中经历了LLVM警告设置,但找不到它.
If you're getting this warning from a “Compile Swift source files” ? “Precompile bridging header” build step (also labeled PrecompileSwiftBridgingHeader), here's how you suppress it:
-Xcc and -Wno-incomplete-umbrella to “Other Swift Flags” (in that order).| 归档时间: |
|
| 查看次数: |
2221 次 |
| 最近记录: |