How can i get Apple HealthKit data if iphone is crashed or permanently dead?

Solution 1:

As with any computer: If you want to be sure your data survives crashes, device losses etc, make a backup (or ideally several).