Jump to content
marc7909

Delphi 12.1 & iOS 17.4 Simulator

Recommended Posts

Wondering if others have trouble with the iOS simulator. A blank application crashes on startup, works fine on device

 

Delphi 12.1

iOS Simulator 17.4

 

System._DbgExcNotify(int, void*, System.SmallString<(unsigned char)255>*, void*, void*)
System.NotifyReRaise(System.TObject*, void*)($0000600002181400,$00000001020c3410)
System._RaiseAtExcept(System.TObject*, void*)($0000600002181400,$00000001020c3410)
System.Internal.Excutils.SignalConverter(unsigned long long, unsigned long long, unsigned long long)(4329321488,4343136256,11)
:00000001B8650FF8 cvmsServerElementBuild
:00000001B864CE34 cvms_element_build_from_source
:00000001B8643854 cvm_deferred_build_modular(void*)
:0000000180171978 _dispatch_client_callout
:0000000180179B10 _dispatch_lane_serial_drain
:000000018017A688 _dispatch_lane_invoke
:0000000180185A84 _dispatch_root_queue_drain_deferred_wlh
:00000001801850D0 _dispatch_workloop_worker_thread
:0000000102693814 _pthread_wqthread

 

Share this post


Link to post

What kind of Mac do you have? i.e. is it an M1 or M2, or an Intel-based Mac?

Share this post


Link to post

It is a M2, changed to this last year so that I could use the simulator, worked well with 11.3 not sure if I had tried with 12.0

Share this post


Link to post

Hi everybody,

I encountered the same problem, opened case with embarcadero support that tell me the solution.

In iOS 17.4 Simultator, Apple remote OpenGL support, so we must use Metal.

 

In View Source of the project add as first line

 

begin

GlobalUseMetal := True;

...

 

Also they told

Quote

Right now, this line is not necessary on physical devices, but I expect it will become necessary in the future, so we will look at using Metal as the default in future releases.


 

 

  • Like 2

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×