Sample project:
program Project1;
{$mode objfpc}{$H+}
{$ModeSwitch objectivec1}
uses
CoreBluetooth;
type
Test=objccategory(NSObject,CBCentralManagerDelegateProtocol)
procedure centralManagerDidUpdateState (central: CBCentralManager);
end;
begin
end.
aarch64-darwin both FPC-3.2.2 and trunk
Any workaround?