Unknown type

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



property currentLocation: _LocationEssentials.CLLocationCoordinate2D;

Codebot tells me this:

_LocationEssentials.CLLocationCoordinate2D. That internal helper namespace isn’t available for you to reference directly on Toffee.

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…