Home/IDE tweaks, Uncategorized/Adding other iOS frameworks to the SDK manager

Adding other iOS frameworks to the SDK manager

Views:
102

If you wish to leverage iOS frameworks other than those that support is provided for in Delphi, you’ll need to add the path to the framework in the SDK manager.

To do this, make sure PA Server is running on your Mac, and in Delphi click Tools, Options, then under Environment Options, select SDK Manager and select the target SDK:

In the Remote Paths list, select an existing path in the Frameworks category. This is important, as it will ensure the following dialog is set up correctly. Click the “Add a new path item” button in the top right. Fill out the dialog as per the following screenshot:

Ensuring that you leave the radio buttons unselected, and put the appropriate framework name in the Framework Name box, then click OK. Click the Update Local File Cache button to copy the framework files from the Mac to the Windows machine. Again, it is very important that you first select an existing path in the Frameworks category, and leave the radio buttons unchecked, and click Update Local File Cache.

Now you’ll be able to build your iOS project against the framework you’ve added.

By | 2017-02-16T18:02:36+00:00 October 12, 2013 7:09 pm|IDE tweaks, Uncategorized|8 Comments

About the Author:

8 Comments

  1. […] 1- No exemplo que faz acesso ao status da rede/internet/3G, quando utilizado para iOS, faz-se necessário importar o framework "SystemConfiguration" no SDK Manager do Delphi ou C++ Builder. Detalhes de como fazê-lo estão neste post: http://delphi.radsoft.com.au/2013/10/adding-other-ios-frameworks-to-the-sdk-manager/ […]

  2. […] Contacts permissions. For IOS you will need to go to Tools|SDK Manager, select the IOS SDK, and add the AddressBook framework to the list. Be sure to update the local cache after you do this. This library should also compile […]

  3. hu August 19, 2015 at 8:33 pm - Reply

    hi~

    I use XE8 error
    [DCC Error] E2597 ld: file was built for i386 which is not the architecture being linked (arm64): C:\Users\Administrator\Documents\Embarcadero\Studio\SDKs\iPhoneOS8.4.sdk/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration for architecture arm64

  4. Brian Hamilton October 29, 2016 at 8:24 am - Reply

    HI, I now get a linker error
    when using Berlin 10.1
    when using networkstate
    (I have added the Framwork and updated local cache)
    Brian

    • admin October 29, 2016 at 3:56 pm - Reply

      It would help to know what the error actually is, and which platform you’re compiling for, i.e. iOS 32 and/or 64 bit.

      There’s a 64-bit version of libReachability.a available for download in the original article: http://delphiworlds.com/2013/11/checking-for-an-internet-connection-on-mobile-devices-with-delphi-xe5/

      • Brian Hamilton October 29, 2016 at 7:16 pm - Reply

        Hi
        Thanks or the reply
        I do have the 64 bit file in my project directory.,..as I had it compiling OK in Seattle (iOS 32 and 64 bit)
        but the same project is not compiling in Berlin (linker error)
        I do notice that have it to not add corebluetooth but to add systemconfiguration
        maybe that is the issue?
        Brian

      • Brian Hamilton October 29, 2016 at 7:18 pm - Reply

        oh error is
        [DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
        for both iOS 32 and iOS64

      • Brian Hamilton October 29, 2016 at 7:30 pm - Reply

        adding SystemConfiguration instead of CoreBluetooth fixed it!
        happy days
        thanks!
        Brian

Leave a Reply

Show Buttons
Hide Buttons