realm-swift: Realm/RLMArray.h file not found. Could not build Object-C module 'Realm'

My Xcode version is 7.2 and Swift’s version is 2.1.1 I am struggling to build my project with Realm and RealmSwift framework. While building the project, these are errors I receive:

'Realm/RLMArray.h' file not found.
Could not build Objective-C module 'Realm'

Taking into problems I might run with Cocoapods, I installed Realm from source. Followed the process provided here: https://realm.io/docs/swift/latest/

I later tried with Cocoapods, that makes things even worse. I further applied Bridging Header, thinking that it might help me out: http://stackoverflow.com/questions/29905271/unable-to-use-both-swift-and-obj-c-libs-with-cocoapods

No success yet!

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 21 (3 by maintainers)

Most upvoted comments