Topic: WolfSSL Swift and Documentation

Could you please provide the documentation on using the WolfSSL Library for iOS Swift and the Swift codes?
The WolfSSL GitHub project mentioned in the developer forum is old and written in Objective C. (https://github.com/wolfSSL/wolfssl/tree … /IDE/XCODE).

The WolfSSL Android documentation provided in this link (https://github.com/wolfSSL/wolfssljni/t … DE/Android) helped me a lot to develop an Android application to perform SSL Handshake with an embedded device using WolfSSL Library.

I need the same for developing an iOS app.

Share

Re: WolfSSL Swift and Documentation

Hi,

currently for iOS we suggest XCode as you have noted in your previous message.  Please see
https://www.wolfssl.com/documentation/m … -x-and-ios as well.  Is swift a requirement?  If so, this conversation would be more appropriate on our support@wolfssl.com alias.  Please send a message there.

Warm regards, Anthony

Share

3 (edited by muataz.m 2023-06-06 01:01:31)

Re: WolfSSL Swift and Documentation

Hi,
In continuation of our discussion in https://www.wolfssl.com/forums/post7128.html#p7128.
The Github link for the WolfSSL iOS app implementation is
https://github.com/MuatazMedini-WolfSSL … ementation
There are two projects in this repository
1. Wolfssl-master
2. WolfSSLTest

The "wolfssl-master" project downloaded from the official WolfSSL GitHub website mentioned the instructions to generate a libwolfssl.a file and the "include" folder from the XCODE WolfSSL project. I followed the instructions to create a "libwolfssl.a" file and made a new "WolfSSLTest" project, importing the "include" folder and the "libwolfssl.a" into this project.
I could not access either a WolfSSL Object or the functions of that library.

The link to the instructions to generate a "libwolfssl.a" file is
https://github.com/MuatazMedini-WolfSSL … /IDE/XCODE

The WolfSSL Android app project implementation is
https://github.com/MuatazMedini-WolfSSL … ample_demo
/Users/muatazmedini/Desktop/Screenshots of WolfSSL Android and iOS project implementations.zip
The WolfSSL Android app project is well documented and provides test cases that were very useful to use in our project requirements.

The link for the screenshots is
https://gist.github.com/andromedini07/d … 0160f7032a

The screenshots are for Android WolfSSL implementation successful build and the iOS WolfSSL implementation failed build respectively.

Could you please provide the same level of documentation for the iOS apps and an example of WolfSSL iOS app implementation?

Share

Re: WolfSSL Swift and Documentation

Hi,
Could you please provide the documentation of using WolfSSL Library for the iOS apps and an example of WolfSSL iOS app? It would be very helpful for our requirement to use TLS into our iOS app.

Share