My console receives spam with these errors:
[MobileAssetError: 1] Unable to copy asset attributes
Failed to get the attribute "LocalURL": Error Domain = MobileAssetError Code = 1 "Unable to copy asset attributes" UserInfo = {NSDescription = Unable to copy asset attributes}
Copy comparable assets answer: XPC_TYPE_DICTIONARY {count = 2, transaction: 0, voucher = 0x0, contents = "Assets" =>: {length = 1237 bytes, contents = 0x62706c6973743030d4010203040506636458247665727369 ...} "Result" =>: 0}
Copy attribute attributes response: XPC_TYPE_DICTIONARY {count = 1, transaction: 0, voucher = 0x0, contents = "Result" =>: 1}
This is very annoying when it starts console distribution. I read that something like disabling OS_ACTIVITY_MODE can suppress these logs, but I would like to find its source and handle it properly ...
This is because I use AVSpeechSynthesizer, for example:
self.synthesizer = [[AVSpeechSynthesizer alloc] init];
self.synthesizer setDelegate:self];
self.speedCameraAhead = [AVSpeechUtterance speechUtteranceWithString:NSLocalizedString(@"Caution: Blah blah blah!",nil)];
[self.speedCameraAhead setRate:0.5f];
source
share