Realm Database.

I started with the Santa Tracker in the Realm tutorial section.

Everything was going grand, until step 5, running the app after adding all the Realm pods.  It was then I got some CPP error about

m_notifier = std::make_shared<_impl::ResultsNotifier>(*this); “No viable overloaded ‘=’.”

I did some searching and didn’t find anyone who resolved this, but goto to thinking.  This tutorial was put out there in Dec. 2016, so is a little older.

One of the steps asked to add the following to the pod init file:
pod ‘RealmSwift’, ‘2.1.0’

So, I went into the init file and removed the specification for 2.1.0, and then did “pod update”.
RealmSwift 3.1.1 installed, and the terminal error was removed.

Happy happy!

Leave a Reply

Your email address will not be published. Required fields are marked *