xcode - Imported Embedded Framework into Watch Extension -
i've created embedded framework containing swift classes , able import , use in main app using import statement. functions i'm using marked public , works fine in main app.
import frameworknamekit
however, when add watchos2 target when try import framework watch extension xcode can't find framework , 'no such module' error. i'm trying import interfacecontroller.swift file if helps.
the entire project written swift , i'm using xcode 7.0 beta.
has managed successfully? i'm pretty sure i'm missing basic can't seem figure out.
i can't find documented anywhere, if take @ apple's "lister" project watchos, seems have have separate framework built watchos sdk in order include framework watchos 2.0 extension , include shared code in both ios , watchos framework targets.
Comments
Post a Comment