Installing command line tools for previous Xcode versions

Hello!


I am using Delphi to create a cross-platform app.

Android is absolutely fine, but iOS is giving me no end of grief.


The main problem is that I can't run my app on an iPhone X either as an emulator (because Delphi currently lacks support for MacOSX 64-bit) or as a device. The latter should indeed work, but I am completely new to iOS development so chances are I'm being a knob.


When trying to run on the device, the app doesn't even build properly because Delphi says that "File was built for x86_64 which is not the architecture being linked(arm64)". I have a strong suspicion that this message is coming from the Apple toolchain rather than Delphi. The file being referred to here is AudioToolbox.


In order to try and work around this issue, I am trying to download and install the command line tools for previous versions. I can download them alright and open them but then nothing happens and I am wondering why. What I get is the opened box which suggests it's trying to unpack the thing but it sits there doing nothing. I don't think it requires admin privileges because then it'd query for my password, but it's not.


What am I doing wrong? Can somebody please help me figure out my missteps?


Thank you!

These forums are for topics relating to Apple's tools and APIs. If you're using a third party tool, you'll likely have to use their support forums to get any useful help.


(Some would say what you are doing wrong is trying to use a cross platform tool in the first place... proper native development for each platform is the way to go.)

If you still have the problem, what iDevice do you want to use ?
What is your Delphi release ?
Are you sure you have the good Xcode / PAServer and updated the iOS SDK in Delphi from installed Xcode on your Mac ?
Installing command line tools for previous Xcode versions
 
 
Q