Search code examples
ioscachingtwitter-fabricgoogle-fabric

Is it safe to delete Fabric contents in ~/Library/Caches in iOS APP


There're 2 folders in ~/Library/Caches in our iOS APP:

com.crashlytics.data
io.fabric.sdk.ios.data

It seems that they're used by Fabric?

I want to add a feature to delete all contents in the Caches folder, and I'm wondering if it's safe to delete these 2 folders?

If I delete the 2 folders when APP is running, what will happen if there're crashes in APP? Will the crash reports still be sent to Fabric?

Any advice would be appreciated.


Solution

  • Todd from Fabric here. It is not safe to delete these programmatically as they contain our crash report data. The folder Library/Caches/com.crashlytics.data/ is where crashes are uploaded from when your app relaunches. Thanks!