Skip to content

Building SuplaClient for iOS

mipolansk edited this page May 8, 2024 · 13 revisions

Steps to build the LibSuplaClient.xcframework for iOS development:

  1. Checkout the supla core repository

  2. Go to supla-core/supla-client/Tools/openssl and build openssl (v 3.0.13)

    ./build_openssl.sh -t8 -s 17.4

  3. Go up to supla-core/supla-client/Tools and build supla client

    ./build_ios.sh -t 8 -o /tmp/openssl-3.0.13-iPhoneOS-arm64/include -s 17.4

    The path /tmp/openssl-3.0.13-iPhoneOS-arm64/include is created by the build_openssl.sh script by default

  4. Copy created XCFramework to project. Path to XCFramework is written by build script:

    [INFO] XCFramework created: /.../supla-core/supla-client/Tools/../Release/LibSuplaClient.xcframework

Clone this wiki locally