How can I share code between WatchKit App and iOS App with framework

I though I saw somewhere in the documentation that you could share code between the WatchKit App Extension and the containing iOS App using a framework. So I have created a framework, and it works with my containing iOS App, but I cannot get it to work with my WatchKit App Extension. So I am wondering if there is something I can do to make this work, or is this just not possible? Thank you.

Did you add and enable the framework for both targets?

In the WatchKit Extension and the containing app I added the framework to the "Embeded Binaries" section in Xcode. So it also added to the Linked Frameworks and Libraries and I made sure that it was added to everything that it should be and it is. When I try to import my framework in my WatchKit Extension it says:

No such module 'MyFramework'

I'm thinking this thread is related.

How can I share code between WatchKit App and iOS App with framework
 
 
Q