I've added an ExtensionDelegate to my watchkit extension, but receive the following compile error:
No type or protocol named 'WKExtensionDelegate'
Ideas?
I've added an ExtensionDelegate to my watchkit extension, but receive the following compile error:
No type or protocol named 'WKExtensionDelegate'
Ideas?
Hi,
did you import
#import <WatchKit/WatchKit.h>Dirk
Yes. I also built under ios9.0 and watchos2.0
I ended up creating new targets for watch&extension for watchOs 2.0 and deleting my watchOs 1.0 targets. The compiles started to work.
Somewhere, deep embedded in the documentation there was something mentioning the ability to build for both 1.0 & 2.0 in a single target. I don't see how that's possible, particularly since APIs such as openParentApplication has been removed from 2.0.