Question: how to add gpx to xcode?
Answer: In the Project tool window ⌘1 , right-click a directory you want to add the file to and select New | File from Xcode Template. In the dialog that opens, select iOS | Resource | GPX File: ...  On the next page, specify the file name and location and define to which group and target the file will belong.