I am trying to simulate the locations, using a gpx file.
The file does not work in the Xcode nor does it show any error.
The file size is 1.1 MB , has a tracking
Found the actual reason is few tags of the content in the GPX file is not supported by XCode.
iOS does not support tags with tracking data.
12
So, get rid off all trk , trkseg tags. Now repleace trkpt with wpt.
That's it and you will be able to see simulation of your path.
Found the refernece at : http://deneymo.blogspot.com/2013/12/ios-customise-gps-path-for-simulator.html
A GPX file with only wpt points can be created here . http://gpx-poi.com
According to the following link https://developer.apple.com/library/content/documentation/IDEs/Conceptual/iOS_Simulator_Guide/CustomizingYourExperienceThroughXcodeSchemes/CustomizingYourExperienceThroughXcodeSchemes.html
Xcode and Simulator support specifying a route as a series of waypoints using the GPX tag. The route () and track () tags are not supported.