Building an embedded framework for WatchOS and iOS in XCode 8 with Swift 3 -
i in process of porting ios + watchos 1 app written in swift 1, latest xcode 8, watchos 3, swift 3.
my app has embedded framework common functionality used compile , run file both watchkit extension target , ios app target.
with xcode 8 can no longer seem work. when try import
framework in watchkit extension code, module not found
error.
is still possible compile , use 1 single embedded framework package on both target ios , watchkit extension targets? in framework have target platforms set watchos, watchsimulator, iphoneos, iphonesimulator
.
my gut says it's not possible anymore. code ran on phone itself, not codes runs on actual watch , phone, you'd need compile embedded framework each.
Comments
Post a Comment