ios - "Non-portable path to file "File.h "; specified path differs in case from file name on disk"更新到 Xcode 8.3 后桥接头中的警告

标签 ios objective-c swift xcode bridging-header

我更新到 Xcode 8.3 和 Swift 3.1 并在我的桥接头文件中收到此警告,引用了一个 Objective-C 头文件:

Non-portable path to file "File.h"; specified path differs in case from file name on disk

我该如何解决?

最佳答案

原来是我拼错了文件名,正确的名字是“FILE.h”而不是“File.h”。出现警告是因为 macOS 即将推出 APFS。

关于ios - "Non-portable path to file "File.h "; specified path differs in case from file name on disk"更新到 Xcode 8.3 后桥接头中的警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43067017/

相关文章:

ios - 翠鸟中奇怪的 RAM 行为

iphone - 下面的属性声明有什么区别?

ios - swift 。如何从扩展中获取泛型?

ios - RACCommand单独处理成功完成

swift - 如何在 Swift 5.0 中使用 withUnsafeBytes() 和 outputStream.write() 消除警告

swift - 为什么 Xcode 在两个接口(interface) Controller 之后停止让我连接 IBOutlets?

ios - 同一个 FB App,多个 iOS Bundle ID,不同的后缀?

iphone - 如何像 Android 一样在 iPhone 中创建后台服务?

ios - 如何确定在运行时使用了哪个默认图像?

objective-c - 如何将具有浮点值的数组保存到 Mac 可读的文本文件中?