title: Unable to copy asset attributes console error - AVSpeechSynthesizer
body: <p>My console is getting spammed with these errors:</p>
  
  <blockquote>
    <p>[MobileAssetError:1] Unable to copy asset attributes</p>
    
    <p>Could not get attribute 'LocalURL': Error Domain=MobileAssetError Code=1 "Unable to copy asset attributes"
    UserInfo={NSDescription=Unable to copy asset attributes}</p>
    
    <p>Copy matching assets reply: XPC_TYPE_DICTIONARY   { count = 2, transaction: 0, voucher = 0x0, contents =
      "Assets" => : { length = 1237 bytes, contents =
    0x62706c6973743030d4010203040506636458247665727369... }   "Result" =>
    : 0 }</p>
    
    <p>Copy assets attributes reply: XPC_TYPE_DICTIONARY   { count = 1, transaction: 0, voucher = 0x0, contents =
      "Result" => : 1 }</p>
  </blockquote>
  
  <p>It is very annoying when it starts spamming a console. I've read that something like disabling OS_ACTIVITY_MODE can suppress these logs, but I would like to find a source of it and handle it as it should...</p>
  
  <p>This is happening because I use AVSpeechSynthesizer, like this:</p>
  
  <pre><code>  self.synthesizer = [[AVSpeechSynthesizer alloc] init];
    self.synthesizer setDelegate:self];
    self.speedCameraAhead = [AVSpeechUtterance speechUtteranceWithString:NSLocalizedString(@"Caution: Blah blah blah!",nil)];
    [self.speedCameraAhead setRate:0.5f]; 
  </code></pre>