Quantcast
Channel: Is there any way to see the file system on the iOS simulator? - Stack Overflow
Viewing all articles
Browse latest Browse all 13

Answer by Tung Fam for Is there any way to see the file system on the iOS simulator?

$
0
0

Easy. Fast. Xcode 10+.

  1. Use print(NSHomeDirectory()) and copy the path.
  2. Open Finder app and press Shift+Cmd+G
  3. Paste the copied path and press GO

Alternative for 1. is to catch a breakpoint and do po NSHomeDirectory() in console.


Viewing all articles
Browse latest Browse all 13

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>