at3s 4 Posted February 22, 2023 I'm trying to build my FMX iOS application. When I've selected iPhone, the project built fine. I'm not able to debug an application, because I do not have iPhone attached to my Mac machine. But an error has been occurred when I've selected simulator (see a screen shot): [DCC Error] E2597 ld: in c:\program files (x86)\embarcadero\studio\22.0\lib\iOSSimARM64\Release\libmidas.a(C:\Projects\Olympus\tp\intermediate\release\lib\midas\iosdevice64\alchemy.o), building for iOS Simulator, but linking in object file built for iOS, for architecture arm64 Any idea how to fix this? Share this post Link to post
Patrick PREMARTIN 65 Posted February 23, 2023 Hi Has your Mac a M1/M2 processor or an "old" Intel model ? Share this post Link to post
beytullah 1 Posted February 23, 2023 Do you run successfully on IOS Device? (Not Simulator) I were working an project 7 years ago. One library not worked on IOS Simulator and not build project. But I runned on IOS device. The project built successfully. You should try run your project on IOS Device. 1 Share this post Link to post
at3s 4 Posted February 23, 2023 (edited) 1 hour ago, Patrick PREMARTIN said: Hi Has your Mac a M1/M2 processor or an "old" Intel model ? Unfortunately it's an Intel - 2.3GHz Dual-Core Intel Core i5. 1 hour ago, beytullah said: Do you run successfully on IOS Device? (Not Simulator) I were working an project 7 years ago. One library not worked on IOS Simulator and not build project. But I runned on IOS device. The project built successfully. You should try run your project on IOS Device. Yes, the project built (but not ran) fine on "iOS Device 64-bit" platform. The issue is - I've not connected an iPhone. Because it's my first iOS project and even was not sure I'll be able to finish it for iOS platform. So I was thought a simulator shall be enough. Edited February 23, 2023 by at3s edit Share this post Link to post
Patrick PREMARTIN 65 Posted February 23, 2023 (edited) iOS Simulator is only supported on Apple Silicon processors Edited February 23, 2023 by Patrick PREMARTIN 1 Share this post Link to post
at3s 4 Posted February 23, 2023 Well, sounds bad for me. Thanks for responds. Share this post Link to post
Patrick PREMARTIN 65 Posted February 23, 2023 (edited) You have a solution, even if you don't have or want to buy a M1/M2 Mac today: you can rent one for few a days at a low cost. Try https://www.scaleway.com/en/hello-m1/ They rent real Mac mini M1 hosted in a datacenter in Paris (France). You only have to install the softwares you need : Xcode and PAServer. You have a replay of my webinar (FR) at https://serialstreameur.fr/webinaire-20210304.php with links to written explanations (to translate in your language). Edited February 23, 2023 by Patrick PREMARTIN 1 Share this post Link to post
Sherlock 648 Posted February 23, 2023 Just to mention another service: https://www.macincloud.com/ 1 Share this post Link to post
Patrick PREMARTIN 65 Posted February 23, 2023 39 minutes ago, Sherlock said: Just to mention another service: https://www.macincloud.com/ I haven't found the M1/M2 offer on tis web site. I thought they have one, perhaps available only when we choose to pay. Share this post Link to post
at3s 4 Posted March 1, 2023 On 2/23/2023 at 2:23 PM, Patrick PREMARTIN said: You have a solution, even if you don't have or want to buy a M1/M2 Mac today: you can rent one for few a days at a low cost. Try https://www.scaleway.com/en/hello-m1/ They rent real Mac mini M1 hosted in a datacenter in Paris (France). You only have to install the softwares you need : Xcode and PAServer. You have a replay of my webinar (FR) at https://serialstreameur.fr/webinaire-20210304.php with links to written explanations (to translate in your language). Unfortunately I got the same error when was trying to build an iOS application on "Apple M1" chip\processor. What is wrong with this? I noticed, when I run a Windows version of this application built in Delphi 11, it required midas.dll. It was not when an app was build in Delphi 10.4. iOS fault on libmidas.a. [DCC Error] E2597 ld: in c:\program files (x86)\embarcadero\studio\22.0\lib\iOSSimARM64\Release\libmidas.a(C:\Projects\Olympus\tp\intermediate\release\lib\midas\iosdevice64\alchemy.o), building for iOS Simulator, but linking in object file built for iOS, for architecture arm64 Just a notice. Share this post Link to post
at3s 4 Posted March 2, 2023 The problem fixed by installing the Patch 1 for Alexandria 11.2. RAD Studio 11.2 Alexandria Patch 1 Available (embarcadero.com) Share this post Link to post
Patrick PREMARTIN 65 Posted March 3, 2023 8 hours ago, at3s said: The problem fixed by installing the Patch 1 for Alexandria 11.2. RAD Studio 11.2 Alexandria Patch 1 Available (embarcadero.com) Installing patchs after the release before working on it should be a reflex. 😉 (in fact, I supposed it was installed, a thing to ask next time) 1 Share this post Link to post
Alisson 0 Posted April 26 (edited) Estou utilizando delphi 11.3 com um macbook air 2022 m1 e continua ocorrendo a situação. Alguem sabe o que pode ser? Edited April 26 by Alisson Share this post Link to post
Dave Nottage 538 Posted April 26 8 hours ago, Alisson said: Estou utilizando delphi 11.3 com um macbook air 2022 m1 e continua ocorrendo a situação. What exactly is the error message you are seeing? Share this post Link to post
Alisson 0 Posted April 30 On 26/04/2024 at 20:06, Dave Nottage said: Qual é exatamente a mensagem de erro que você está vendo? [DCC Error] E2597 ld: building for iOS Simulator, but linking in object file built for iOS, for architecture arm64 Desconfio que seja algo relacionado as bibliotecas Kastri master. Tenho outro app que não possui a biblioteca e funciona normalmente no IOS Simulator ARM 64 bits Share this post Link to post
Dave Nottage 538 Posted April 30 1 hour ago, Alisson said: Desconfio que seja algo relacionado as bibliotecas Kastri master. Tenho outro app que não possui a biblioteca e funciona normalmente no IOS Simulator ARM 64 bits Which features from Kastri are you compiling? You may just need to change the value in the Framework search paths setting in the Project Options to point to the Simulator binaries, if any are available. Share this post Link to post
Alisson 0 Posted May 2 (edited) Em 30/04/2024 às 18h03, Dave Nottage disse: Quais recursos do Kastri você está compilando? Talvez seja necessário apenas alterar o valor na configuração dos caminhos de pesquisa da Estrutura nas Opções do Projeto para apontar para os binários do Simulador, se houver algum disponível. TShareItems e TBarcodeReader I tested by removing kastri and the app ran normally. Does anyone have a tip on how I can use the kastri components even using an arm64 simulator? Edited May 2 by Alisson Share this post Link to post
Dave Nottage 538 Posted May 2 7 hours ago, Alisson said: Does anyone have a tip on how I can use the kastri components even using an arm64 simulator? It seems for the Barcode Reader there are no compatible binaries that can be linked in by Delphi, for iOS simulator. If you're using this feature, you'll need to compile for a real device. Share this post Link to post