Hello there,
I actually checked into their Github branch for the Swift SDK. It seems like there are failed tests with the clearSession() API. I think they are working on a new implementation using the new SafariAuthtenticationVC. I suggest following their GitHub Swift branch for the latest updates.