pyscripter 689 Posted April 17, 2020 (edited) I am new to MacOS developement. I have added an new Connection Profile which test successfully, the PAServer is running, XCode has the command line tools, When I try to add a new SDK nothing happens. What am I missing? Any help? Edited April 17, 2020 by pyscripter Share this post Link to post
Dave Nottage 557 Posted April 17, 2020 Your moniker says you're using Delphi 10.2 Tokyo. Is that still the case? Adding macOS 10.15.4 SDK works OK for me using 10.3.3. If you are using 10.3.3, it might be useful to turn on verbose mode in PAServer (v command) Share this post Link to post
pyscripter 689 Posted April 17, 2020 @Dave NottageThanks for responding I am in Delphi 10.3.3. Here is what I see in verbose mode when I select Add New SDK as above and then press OK. The -version -skd happens while the dialog is showing. Nothing seems to happen when I press OK. Do I need to download the SDK in the Mac? The XCode version is 11.4. Share this post Link to post
Dave Nottage 557 Posted April 17, 2020 4 minutes ago, pyscripter said: The -version -skd happens while the dialog is showing. Yes, that's what PAServer runs to discover what SDKs are on the Mac. 5 minutes ago, pyscripter said: Nothing seems to happen when I press OK. Actually, I'm not sure now whether PAServer will show anything when it copies the files to the local machine. I was hoping it would display an error (if any). 6 minutes ago, pyscripter said: Do I need to download the SDK in the Mac? The XCode version is 11.4. You should not need to, no. In case there is something really wrong though, on the Mac can you: Go to the Applications folder in Finder Right click on Xcode and click Show Package Contents Navigate to: Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs and make sure there's a MacOSX.sdk folder there (with subfolders) The only other thing I can think of is a rights issue (i.e. PAServer somehow does not have rights to the SDK subfolders), but that's a stretch Share this post Link to post
pyscripter 689 Posted April 17, 2020 @Dave NottageThanks for responding I am in Delphi 10.3.3. Here is what I see in verbose mode when I select Add New SDK as above and then press OK. The -version -skd happens while the dialog is showing. Nothing seems to happen when I press OK. Do I need to download the SDK in the Mac? The XCode version is 11.4. Share this post Link to post
pyscripter 689 Posted April 17, 2020 I have just been told that this is a reported bug with Catalina 10.15.4. and there is a workaround I am going to try. @Dave NottageHow come this did not affect you? Share this post Link to post
Dave Nottage 557 Posted April 18, 2020 18 minutes ago, pyscripter said: How come this did not affect you? Actually it did - sorry, I used the workaround. I think isolation has caused some memory loss Share this post Link to post
pyscripter 689 Posted April 18, 2020 I can confirm that the workaround worked. Share this post Link to post
TrevorS 3 Posted December 21, 2020 I noticed that 10.4 had received a patch so I thought I'd create a fresh install (Windows and Delphi). However, I can't add an SDK for OSX ... nothing is displayed in the SDK manager. Like pyscripter "When I try to add a new SDK nothing happens." I can't try the workaround above - 1 - I don't have folder to rename - is this my username Documents? 2- I don't have an entry in the SDK Manager Xcode seems to be installed correctly Have I missed something? Thanks Share this post Link to post
Dave Nottage 557 Posted December 21, 2020 (edited) 2 hours ago, TrevorS said: I noticed that 10.4 had received a patch so I thought I'd create a fresh install (Windows and Delphi). If you installed Delphi from scratch, you'll still need to apply the patches (there's 4) 2 hours ago, TrevorS said: However, I can't add an SDK for OSX ... nothing is displayed in the SDK manager. In a Terminal window on the Mac, can you run this command? /usr/bin/xcodebuild -version -sdk In the output there should be at least one entry of MacOSX Edited December 21, 2020 by Dave Nottage Share this post Link to post
TrevorS 3 Posted December 22, 2020 If you installed Delphi from scratch, you'll still need to apply the patches (there's 4) I used RADStudio-10-4-1-esd-1461.exe to install, then I applied 3 patches as suggested by GetIt /usr/bin/xcodebuild -version -sdk xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance I think I have both the Tools IDE and the Commnad Line Tools installed .... Share this post Link to post
Rollo62 536 Posted December 22, 2020 Like that ? https://www.embarcadero.com/starthere/xe5/mobdevsetup/ios/en/installing_the_commandline_tools.html Share this post Link to post
Dave Nottage 557 Posted December 22, 2020 55 minutes ago, TrevorS said: active developer directory '/Library/Developer/CommandLineTools' Which means you'll need to do: sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer Share this post Link to post
TrevorS 3 Posted December 22, 2020 3 hours ago, Dave Nottage said: Which means you'll need to do: sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer Fantastic, that seems to have fixed it. Thank you for your help 🙂 Share this post Link to post