Edit: Unfortunately this change didn't fix the crash. I managed to reproduce it again, even after adding the actor requirement to the protocol:
protocol ConsumptionSessionStorage: Actor {
func isStorageEmpty() -> Bool
func hasCreditCardSessions() -> Bool
func sessionsIn(interval: DateInterval) throws -> [ConsumptionSession]
func updateSessions(sessions: [ConsumptionSession]) throws
func deleteAllSessions()
}
Back to the drawing board I guess.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: