From my experience with running injuries:
1. Strengthen your core 2. Strengthen your thigh muscles 3. Strengthen ankle and foot muscles 4. Get the right shoes that work for you
Running barefoot is one possible way of achieving the above. But running barefoot also comes with its own problems, including increased risk of certain other injuries.
If I have to hazard giving advice, I'd say to the guy with the shin-pain what my physical therapist told me: build strength with low-impact exercises, maintain aerobic health while you do that via low-impact aerobic swimming/water-running/biking/tennis/climbing/xc-skiing/etc. etc., then once you have recovered from your injury, slowly ease into running.