Via Cà Matta 2 - Peschiera Borromeo (MI)
+39 02 00704272
info@synaptica.info

TIPS for developing Delphi 10Seattle Apps on Apple environment

Digital solution partner

TIPS for developing Delphi 10Seattle Apps on Apple environment

With Delphi 10Seattle can easily create beautiful applications for Mac OSX and iOS , it will be biased but The Delphi IDE is now truly exceptional ;

First you need to configure the development environment , installing everything you need as well documented by Embarcadero .

Once your environment is functioning well , this does not guarantee that an upgrade or the XCode SDK configured or even tweak a Mac OS X update can not compromise what for you was fine .
For these situations there are workarounds that can be made simply … I personally always keep in mind these three TIP before performing any kind of updates :

Tip 1 : Extend XCODE to use more than one version of the SDK for both OS / X and iOS :
————————————————– ———————————–

MAC / OSX under /Application/XCode.app/Contents/Developer/Platform/MacOSX.platform/Developer/SDKs are directories of SDK versions supported by your default XCode on Mac .

While iOS SDKs are located in : /Application/XCode.app/Contents/Developer/Platform/iPhoneOS.platform/Developer/SDKs

In order to add a previous version of the SDK you simply copy from the previous version of XCode the entire folder in the SDKs directory .
After you copy the folder with the desired version of the SDK you’ll have to do is restart XCode .

What did you just go on the IDE of Delphi and select Project- > Edit SDK and click on ADD , the new version of the SDK will be shown in the list ready to import the desired files .

Tip 2 : Saving the working version of the SDK Cache environment Delphi :
————————————————– ———————————

If your system works great , compiled for OSX and iOS without problems, then before updating the local cache in the Delphi IDE is a good idea to copy the folder C : \ Users \ \ Documents \ Embarcadero \ Studio \ SDKs so you can restore it if something goes stortro during upgrades .

Tip 3 : Updates XCode :
——————————

And ‘ advisable to make the rescue of the SDK directory tree before you upgrade , because often eliminates XCode SDK to replace the old with the new . Doing this if you find that your version of Delphi is no longer compatible with the version of the SDK you can add back the old ones.