Using Fire, I have something that compiled just fine before, using CLLocationCoordinate2D. Now, it’s asking if I meant _LocationEssentials.CLLocationCoordinate2D. If I change some parts to that, it works, but not for a class property.
For example:
namespace App17;
uses
CoreLocation;
type
demoClass = public class
public
// Stores the current geographic coordinate (lat/long) for use with MapKit, etc.
property currentLocation: CLLocationCoordinate2D;
protected
private
end;
end.
This gives unknown type. It also does if I change it to
Ah yes, i ran into the same. You need to add a reference to e.g. .../SDKs/Island/Darwin/iOS 26.2/_LocationEssentials.fx, and also use the _LocationEssentials namespace.
Apple, in its infinite wisdom, moved this type into a private-ish sub-framework…
It should be in the SDK folder, next to the standard ones like CoreLocation.fx. For some (good, I think) reason, the Add References sheet hides frameworks starting with _, so you need to add it manually via drag (I’ll revisit that). I suggest doing “Drop Hint Path”, after you do that, for future-proofing.