Crash when working with NSFileManager

Hello, I'm Hung. I used NSFileManager to get all sub paths of a directory with API subpathsOfDirectoryAtPath:error and I got some crash reports from Firebase. It seems this API has a native bug (insert nil) and just appears in iOS >= 15 (see my attached picture). So I would like to know if it's a native bug or my fault. Please answer me!

Replies

I would like to know if it's a native bug or my fault.

It’s hard to say.

Do you have an Apple crash report for this. If so, please post it here. See Posting a Crash Report for advice on how to do that.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

  • Can I share the crashlytic report file instead? Because of crashing in user devices, I can't contact them to get the Apple crash report

Add a Comment