我最近切换到 Xcode 11.4 并使用 Swift 5。我运行 pod install、Realm 和 RealmSwift 安装最新版本。现在,当我运行该项目时,它向我显示了一个错误:
..../Pods/Realm/include/binding_context.hpp:24:10: 'realm/keys.hpp' 文件未找到
播客文件:
pod 'Realm', git: 'https://github.com/realm/realm-cocoa.git', branch: 'master', submodules: true
pod 'RealmSwift', git: 'https://github.com/realm/realm-cocoa.git', branch: 'master', submodules: true
领域框架版本:4.4.1
Cocoapod 版本:1.9.1
Xcode 版本:11.4
为什么会发生错误,我们如何才能摆脱它?