<Warning>: Boundary date is not equal to last date or to before-gap date

Anyone else seeing this console error trying to use time travel? It looks like using:


(void)getTimelineEntriesForComplication:(CLKComplication *)complication afterDate:(NSDate *)date ...


sometimes leads to bad data during a watch update. Oddly, I've seen updates running normally for a day or two, being called on regular intervals. However, at some point the update will start posting this error. I finally captured a log that indicates the getTimelineEntriesForComplication was called with a much earlier time than the previous update. I'm not sure why this would be the case as I have already posted data up to a recent time.


Anyone run in to something like this?

Accepted Reply

It looks like you should both extend and reload your timeline, if needed.

Replies

It looks like you should both extend and reload your timeline, if needed.