I\'m getting some of these prints in my console while running my application from Xcode 6 in my iPhone 6 with iOS 9 beta 5:
CoreData: Failed to load o
After long search, it was just like this:
public lazy var persistentContainer: NSPersistentContainer = {
var modelURL = Bundle(for: type(of: self)).url(forResource: "Model", withExtension: "momd")!
// ===> here you append the nameOfVersion.mom you created
modelURL.appendPathComponent("Model 2.mom")
let managedObjectModel = NSManagedObjectModel(contentsOf: modelURL)
let container = NSPersistentContainer(name: "ModelFile", managedObjectModel: managedObjectModel!)
container.persistentStoreDescriptions.first?.shouldInferMappingModelAutomatically = false
...