Delphi Berlin EObjectiveC with message ‘ObjectiveC class CTCallCenter could not be found

  

im using Delphi 10.1 Berlin

Just running the PhoneDialer sample on an IOS Phone
Embarcadero\Studio\18.0\Samples\Object Pascal\Mobile Snippets\PhoneDialer

the app is crashing on startup
if i run in debug mode im getting this error

Debugger Exception Notification

Project PhoneDialer raised exception class EObjectiveC with message ‘ObjectiveC class CTCallCenter could not be found’.

it looks like its happening in the
FMX.PhoneDialer.iOS unit

constructor TCocoaPhoneDialerService.Create;
begin
FCallCenter := TCTCallCenter.Create; // <<<—– blowing up here
FCallCenter.retain;
FCallCenter.setCallEventHandler(DoChangeCallState);
end;

does anyone have any suggestions?if you can get the sample to work can you include the code needed to make it happen 🙂

As a side note – Delphi 10.0 Seattle running the same sample seems to works fine

Comments are closed.