Watch Complication Error Message

I'm getting this error message:

Missing or Invalid Principal Class: (MyAPPExtension.ComplicationController). Please check 'ClockKit Complication - Principal' Class property in WatchKit Extension's Info.plist

I've check the plist entry and I have:

ClockKit Complication - Principal Class $(PRODUCTMODULENAME).ComplicationController

I have included the Complication Controller code with all the required methods.

I've also added the ckcomplication folder generated by the simulator to the project.

I cannot see my complication placeholders in either the complications gallery or by editing the watch face. I suspect that that is related to the error message.

Has anyone else seen this error message?




One thing to check is that your ComplicationController is included in the watch app extension target.
I had this problem, only went away when I updated Info.plist - ClockKit Complication - Principal Class to
$(PRODUCT_MODULE_NAME).ComplicationController


ComplicationController was already assigned to Watchkit Extension Target.

Info.plist by default just has ComplicationController value set.
Watch Complication Error Message
 
 
Q