I'm working with a Cocoa Touch framework, built for distribution, which uses Core Data managed object subclasses. When I implement the framework in a client project built with the same Xcode/Swift version as the framework, the app compiles successfully.
However, when I build the framework with Swift 5.1, and implement the framework in a client project using Swift 5.1.2, I get a compile error in the property declaration of the generated "swiftinterface" file. "@NSManaged not allowed on computed properties"
Sample from .swiftinterface file:
@objc @NSManaged dynamic public var id: Swift.Int64 {
@objc get
@objc set(value)
}
Thoughts, rants, lessons, and/or workarounds are welcome!