MapLocation crash on iOS 26.1, 26.2 simulators, but not 18.2

Hi Everyone,

I have some very simple code that has been running fine until I tried to run it on a 26.2 simulator:

var s as string = “Lexington, KY”

var m as MapLocation

m = MapLocation(s)

The contents of s is irrelevant: no matter what the address, that line crashes with UnsupportedOperationException.

I have it in a try - catch block, but it still crashes the simulator completely.

On iOS 18.2 there is no issue and the code works fine.

I’m kind of stumped. Any idea what’s going on?

Thanks!

P.S. I also attempted to test on iOS 26.0 and 26.0.1. Xojo won’t compile. Maybe they aren’t compatible with the current version of XCode.

Any message in the exception?
I wonder if it can’t parse the input.

Yes, sorry I should have included it: Read MapLocation timed out.

I also thought the input might be a problem, but the same error happens no matter what input I use.

It’s not an issue on a real device using iOS 26.2.

For now I’m getting around it with

#if TargetMobileSimulator = false then
m = new MapLocation(s)
#endif