In SkyAuthContainer.msaveCurrentUserAndAccessToken
if (_currentUser) {
[[NSUserDefaults standardUserDefaults]
setObject:[NSKeyedArchiver archivedDataWithRootObject:_currentUser]
forKey:@"SKYContainerCurrentUserRecord"];
}
When user record contains anAsset field,
Swift Example[42786:22490468] -[SKYAsset encodeWithCoder:]: unrecognized selector sent to instance 0x60000045a2b0 is thrown.
Expected Behaviour:
user object can be saved via saveCurrentUserAndAccessToken.
In
SkyAuthContainer.m
saveCurrentUserAndAccessToken
When
user
record contains anAsset
field,Swift Example[42786:22490468] -[SKYAsset encodeWithCoder:]: unrecognized selector sent to instance 0x60000045a2b0
is thrown.Expected Behaviour: user object can be saved via
saveCurrentUserAndAccessToken
.