I need to share my entities (CoreData) of the main app with WatchOS2.
There are two ways to share code between targets - frameworks, and just including the .m or .swift file in multiple targets using Xcode's inspector.
WatchOS2 can create a dynamic framework and the main app too.
I have tried to create a dynamic framework in the main app and share code with WatchOS 2 : `Not such module TestFrameworkKit'.
Framework isn't going to work with a watchOS 2 extension because that extension runs on a completely different device.
Any idea ?