Post

Replies

Boosts

Views

Activity

Reply to Failure to unarchive a sprite kit particle file
The folowing seems to work:SKEmitterNode * ret = [NSKeyedUnarchiver unarchivedObjectOfClass:[NSObject class] fromData: fileData error:&error];Although security need adjustment:2020-04-05 23:24:54.181975-0400 xxxx[82301:1899459] [general] NSSecureCoding allowed classes list contains [NSObject class], which bypasses security by allowing any Objective-C class to be implicitly decoded. Consider reducing the scope of allowed classes during decoding by listing only the classes you expect to decode, or a more specific base class than NSObject.2020-04-05 23:24:54.186331-0400 xxxx[82301:1899459] Data has loaded successfully - Projecti
Apr ’20