我最近更新到Xcode中8,我选择留在雨燕2.3领域使用Xcode的8雨燕2.3失败
我使用的CocoaPods集成领域,它是之前升级到Xcode的8
工作我在Realm的GitHub上进行了搜索,并尝试了一些解决方案,但都没有成功。 在我podfile我有境界
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
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '2.3'
end
end
end
它成功地安装了以下几行信息完成:
使用领域(1.1.0)使用RealmSwift(1.1.0)
当我重新启动我的应用程序时:
- 68警告丢失文件
RLM*
文件 - 错误 -
Umbrella header 'Realm.h not found
- 错误 -
Cound not build Objective-C module Realm
您是否尝试过使用桥接头? – cloudcal
@cloudcal不,你会如何推荐使用它?过去我不必使用桥接标头。 – Alan
Realm不需要标头 – SoundShock