Have a look at BlueSockets which does the same kind of thing:

https://github.com/IBM-Swift/BlueSocket 
<https://github.com/IBM-Swift/BlueSocket> 
https://github.com/IBM-Swift/BlueSSLService 
<https://github.com/IBM-Swift/BlueSSLService>

There's a wrapper around OpenSSL as well:

https://github.com/IBM-Swift/OpenSSL.git 
<https://github.com/IBM-Swift/OpenSSL.git> 

Alex

> On 26 Jan 2017, at 09:49, Rien via swift-users <swift-users@swift.org> wrote:
> 
> I have created the following packages:
> 
> 1) SwifterSockets (Swift)
> 2) COpenSsl (wrapper for system libraries)
> 3) SecureSockets (Swift, uses SwifterSockets and COpenSsl)
> 
> Now I want to build a macOS app that uses SecureSockets.
> 
> I have created the app in the traditional way, via Xcode.
> In this app I imported the frameworks created by SwifterSockets and 
> SecureSockets.
> 
> When I try to use SecureSockets I get the error “No such module COpenSsl”
> 
> Any idea how I can include the system library wrapper ?
> 
> Regards,
> Rien
> 
> Site: http://balancingrock.nl
> Blog: http://swiftrien.blogspot.com
> Github: http://github.com/Balancingrock
> Project: http://swiftfire.nl
> 
> 
> 
> 
> 
> _______________________________________________
> swift-users mailing list
> swift-users@swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to