I want to develop a simple complication as my first watchOS project. I've set everything up as the screenshot shows:
But When I set a breakpoint inside ComplicationController.swift
, it will not be called. Therefore, my complication does not fill with any data I supply. I set a breakpoint to all implemented methods (e.g. getLocalizableSampleTemplate
) in that class, but the code is just running and the complication does not fill with the supplied data.
What am I doing wrong?
My class conforms to CLKComplicationDataSource
(I left all the default implementation).
It works if I add $(PRODUCT_MODULE_NAME).
in front of the data source class inside the complication configuration.