xcode 15.4 [Debug] -> [Simulate Location] with custom gpx is broken

I'm using location simulation on my device via xcode a lot and it worked as expected since yesterday. Now it's broken :(

My custom gpx files are no longer visible in "Simulate Location". I only see the build-in locations. When I try to add a new gpx file with "Add GPX File to Workspace..." the gpx files are greyed out. I created a new project and same here. No custom GPX files shown and cant add via menu.

I'm using xcode 15.4 and it worked before, but I updated to macOS 14.6 last week.

Did someone have experienced the same ? The Internet has no sign of such a behavior :( Maybe the file association is broken?

I already removed xcode and user data related to xcode completly and reinstalled xcode, but this was not helping.

When I try to add a new gpx file with "Add GPX File to Workspace..." the gpx files are greyed out

If you view these files in Finder, do you see a GPX icon?

What does mdls shows as the kMDItemContentType ?

Do you have other apps that do things with GPX files installed?

Edited to add: in your screenshot I see that the GPX file has an icon with a red circle - what is that?

I do not see the default GPX icon. There was another App Icon. This App was Installed long ago. I have installed "Avenue-GPX-Viewer" from app store to see if this may solve the issue, since then the icon is dynamic and I get a quick view. But this did not solved my xcode problem.

On another computer the gpx is still working and there is no extra file type attributes.

Is there a proper way to reset the global gpx file type?

_kMDItemDisplayNameWithExtensions  = "OfficeZurich.gpx"
kMDItemContentType                 = "com.topografix.gpx"
kMDItemContentTypeTree             = (
    "com.topografix.gpx",
    "public.xml",
    "public.text",
    "public.data",
    "public.item",
    "public.content"
)
kMDItemDisplayName                 = "OfficeZurich.gpx"
kMDItemFSName                      = "OfficeZurich.gpx"

Hi, if you have older versions of Xcode installed, remove them. I ran into the same problem installing Xcode 15.4 on a new mac that I had migrated all content to from my old mac. And that migration brought over older versions of Xcode. After removing the older Xcode versions and restarting Xcode 15.4 the location files automatically appeared in the project debug location menu. Other things that I found in trying to figure this out was to look at file associations and clearing/removing those associations. Hope this helps.

xcode 15.4 [Debug] -> [Simulate Location] with custom gpx is broken
 
 
Q