Build error: Related to OpenSSL in iOS (#108)
Rajai kumar opened 2 weeks ago

What happened:

  • Added halcyon to KMP successfully.
  • imported the module and the called the necessary method.
  • Tried to run and stopped by a build error.

❌ Undefined symbols for architecture arm64 ┌─ Symbol: _BIO_ctrl_pending └─ Referenced from: _OpenSSL_BIO_ctrl_pending_wrapper376 in RssReader[31] (libtigase.halcyon:halcyon-core-cinterop-OpenSSL-cache.a.o)

  • Wojciech Kapcia (Tigase) changed fields 2 weeks ago
    Name Previous Value Current Value
    Assignee
    wojtek
    andrzej.wojcik
  • Andrzej Wójcik (Tigase) commented 2 weeks ago

    Halcyon depends on OpenSSL library that needs to be provided in case of a build for iOS/native. In this case, in your project, you need to import OpenSSL library as a framework in your iOS project and link against it. We do have our own build that we use, and it can be downloaded from https://github.com/tigase/openssl-swiftpm/releases/tag/1.1.171-1

  • Wojciech Kapcia (Tigase) changed state to 'In Progress' 2 weeks ago
    Name Previous Value Current Value
    State
    Open
    In Progress
    Assignee
    andrzej.wojcik
    rajaikumar-iosdev
  • Rajai kumar commented 1 week ago

    @andrzej.wojcik Thank you for the response and the solution seems to be working fine.

  • Rajai kumar removed comment 1 week ago
  • Rajai kumar commented 1 week ago

    I am not facing this problem anymore after applying the solution provided. So, I am closing this issue.

  • Rajai kumar changed state to 'Closed' 1 week ago
    Previous Value Current Value
    In Progress
    Closed
issue 1 of 1
Type
Help Wanted
Priority
Normal
Assignee
Version
none
Sprints
n/a
Customer
n/a
Issue Votes (0)
Watchers (4)
Reference
tigase/_libraries/halcyon#108
Please wait...
Page is in error, reload to recover