0

I am using Delphi 10.2.1 to write an IOS app but I cant get Delphi to generate 64 bit code. When I run the app in the IOS simulator I get a message telling me the code needs to be updated. Is there a compiler directive I can use to force 64 bit code generation?. I am coding on a 64 bit windows system using a x64 based processor. On the Mac: Xcode is Ver 8.3.3.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Rod
  • 1
  • Doesn't the documentation contain the answer? – David Heffernan Sep 06 '17 at 08:32
  • @DavidHeffernan Yes, it does, but it is kind of buried and you have to dig it out. Another problem is that lack of 64-bit simulator compiler at this point in time is quite unexpected. You have to know there is no 64-bit compiler to know what to look for in documentation. – Dalija Prasnikar Sep 06 '17 at 08:57

2 Answers2

7

Currently Delphi only supports 32-bit compiler for the iOS simulator. There is nothing you can do here. You can only generate 64-bit code for the real devices.

Delphi iOS Compilers - 10.2 Tokyo:

  • DCCIOSARM, the Delphi Compiler for the 32-bit iOS Device
  • DCCIOSARM64, the Delphi Compiler for the 64-bit iOS Device
  • DCCIOS32, the Delphi Compiler for the iOS Simulator
Dalija Prasnikar
  • 27,212
  • 44
  • 82
  • 159
  • Thank you for your help. I can now continue with my project without the worry that it would not work in future Is versions – Rod Sep 17 '17 at 07:02
1

Delphi 10.3 will support 64bit compilers on MACOS this means that only with the next release of delphi it will be possibile to compile also (probably) on 64bit iOSSimulator that is based on the Mac Compiler for Intel 64.

Rickyarzu
  • 11
  • 2
  • Thank you for your help. I can now continue with my project without the worry that it would not work in future Is versions – Rod Sep 17 '17 at 07:02