Could Not Build Objective-C Module 'RealmSwift'

This blog post is brought to you by the developer of BitBudget. BitBudget is an automated budgeting app for Android and iOS which syncs with your bank account and helps you avoid overspending. If you’d like to quit living paycheck-to-paycheck and get a better handle on your finances, download it today!

Today I started experimenting with the hot Swift database library ‘Realm’ AKA RealmSwift for iOS and have run into a really annoying error while trying to follow along with the official tutorial: “Could not build Objective-C module ‘RealmSwift'” Luckily someone posted a fairly simple solution that I probably would have never figured out myself on a Github forum. To fix this error in Xcode, simply…

  1. GOTO Product > Scheme > New Scheme
  2. SELECT ‘RealmSwift’ from the Drop-Down Menu
  3. CLICK ‘OK’

And that’s it. Problem solved.




One thought on “Could Not Build Objective-C Module 'RealmSwift'

Comments are closed.