Use embedded framework in WatchKit extension

I have a project of an iOS app with an embedded framework called TotoKit with some model classes.

Now I've added a new target with the template "WatchApp for iOS App" to my project. When I try to do "import TotoKit" from the newly created WatchKit extension, no such module is found. What do I have to do ?

I have tried without success to:

  • add one dependencies to TotoKi in BuildPhase of the extension target
  • add AppleWatch in Deployment/Target Device Families of the TotoKit target

Thanks,

Use embedded framework in WatchKit extension
 
 
Q