I had the same problem with the broken CloudKit sync. I solved it by changing code like var bar: Bool = true to var bar: Bool!. However, now you have to make sure that a value is set in the constructors. So not really the best solution from my point of view. But it seems to work at least.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: