I started a Swift project with Xcode 6 Beta 6. The project was also using Core Data. After upgrading to Xcode 6 GM, I am getting the following error when compiling:
ok I just unwrapped the optional using '!' and the code is compiling now.
'!'
return NSManagedObjectModel(contentsOfURL: modelURL!)