Router is the best app for viewing & editing .gpx, .tcx, .xml, .loc, Garmin .fit, and Pioneer / Shimano .db files on your Mac & iOS device.
.gpx
.tcx
.xml
.loc
.fit
.db