Back to All

App crash on iPad via TestFlight - Failed to request default share mode for fileURL

ERROR Messages:

LEANDocumentSharer

Line325 return completion(nil);
error: pointer value could not be resolved
Thread 1: EXC_BAD_ACCESS (code=1, address=0x10)

Failed to request default share mode for fileURL:file:///Users/appdev/Library/Developer/CoreSimulator/Devices/A25AC762-EDEF-4CD0-8F92-D0D8815FA6C9/data/Containers/Data/Application/D94B88AF-8F98-4432-89F7-BE5799A7E3F5/Documents/images_of_the_floating_world.mp3 error:Error Domain=NSOSStatusErrorDomain Code=-10814 "(null)" UserInfo={_LSLine=1747, _LSFunction=runEvaluator}

Details:

  1. App crashes when run on iPad via TestFlight. Version in Prod/App Store does not crash on same device
  2. Error occurs when pressing file download button. Downloads an mp3 file. The app streams the same file and plays fine when not downloaded.
  3. The web app in browser does not have an issue
  4. Environment:
    a. Xcode: V 16.2
    b. Computer: macMini - Sequoia v15.2
    c. iPad OS v 17.7.3

Please advise/correct.

Thanks